* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    padding: 20px;
}

.studio-header {
    text-align: center;
    margin-bottom: 30px;
}

.studio-header img {
    max-width: 150px;
    margin-bottom: 15px;
}

.studio-header h1 {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 10px;
}

.studio-header .subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 10px;
}

.studio-header p {
    font-size: 14px;
    color: #666;
}

.calendar-container {
    max-width: 1400px;
    margin: 0 auto 30px auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    min-width: 900px;
}

.day-header {
    background-color: #2a2a2a;
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 2px solid #000;
    border-radius: 8px 8px 0 0;
}

.day-column {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.time-slots {
    padding: 10px;
}

.week-number {
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    margin: 20px 0 10px 0;
    padding: 8px;
    background-color: rgba(58, 64, 136, 0.8);
    border-radius: 5px;
    border: 1px solid rgba(33, 40, 145, 0.8);
}

.week-separator-in-column {
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #FF9800, #2196F3);
    margin: 25px 0;
    border-radius: 2px;
}

.time-slot {
    margin-bottom: 10px;
    padding: 12px;
    background-color: #0a0a0a;
    border-radius: 5px;
    border: 1px solid #333;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.time-slot.unavailable {
    opacity: 0.3;
    cursor: not-allowed;
    color: #666;
}

.time-slot.validated {
    cursor: pointer;
    border-color: #4CAF50;
    background-color: #0f0f0f;
    color: #4CAF50;
}

.time-slot.validated:hover {
    background-color: #1a2a1a;
    transform: scale(1.05);
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.info-section {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333;
}

.info-card h3 {
    margin-bottom: 15px;
    color: #4CAF50;
    font-size: 18px;
}

.studio-header h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 8px 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 14px;
    line-height: 1.6;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card a {
    color: #4CAF50;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.info-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.admin-section {
    max-width: 1200px;
    margin: 40px auto;
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333;
}

.admin-section summary {
    cursor: pointer;
    font-weight: bold;
    padding: 10px;
    color: #4CAF50;
}

.admin-controls {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-controls input {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #0a0a0a;
    color: #fff;
}

.admin-controls button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    background-color: #4CAF50;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-controls button:hover {
    background-color: #45a049;
}

.studio-footer {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 30px 20px;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #888;
}

.footer-section a {
    color: #4CAF50;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    z-index: 1001;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
    border: 2px solid #4CAF50;
}

#modalOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.modal h2 {
    margin-bottom: 20px;
    color: #4CAF50;
}

.modal label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #888;
}

.modal input,
.modal select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #0a0a0a;
    color: #fff;
    font-size: 14px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-primary,
.btn-secondary,
.btn-cancel,
.btn-confirm {
    flex: 1;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary,
.btn-confirm {
    background-color: #4CAF50;
    color: #fff;
}

.btn-primary:hover,
.btn-confirm:hover {
    background-color: #45a049;
}

.btn-secondary,
.btn-cancel {
    background-color: #333;
    color: #fff;
}

.btn-secondary:hover,
.btn-cancel:hover {
    background-color: #444;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 400px;
}

.notification.show {
    opacity: 1;
}

.notification-success {
    background-color: #4CAF50;
    color: white;
}

.notification-error {
    background-color: #f44336;
    color: white;
}

.notification-info {
    background-color: #2196F3;
    color: white;
}

.country-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.country-selector select {
    flex: 0 0 120px;
}

.country-selector input {
    flex: 1;
}

.summary-details {
    background-color: #0a0a0a;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.summary-details p {
    margin: 10px 0;
    font-size: 14px;
}

.summary-note {
    background-color: rgba(76, 175, 80, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    text-align: center;
}

.summary-note p {
    color: #4CAF50;
    font-size: 12px;
    line-height: 1.6;
}

/* Nouvelle classe pour les cases vertes */
.green-highlight {
    background-color: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .calendar-grid {
        min-width: 700px;
    }

    .day-header {
        font-size: 12px;
        padding: 10px 5px;
    }

    .time-slot {
        font-size: 12px;
        padding: 8px;
    }

    .week-number {
        font-size: 10px;
        padding: 6px;
    }
}
