
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: #1d1d1f;
            background: #f5f5f7;
            font-size: 17px;
        }

        .container {
            max-width: 980px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .header {
            text-align: center;
            padding: 60px 0 40px;
            background: #102F63;
            color: white;
            margin-bottom: 40px;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0.9;
        }

        .header-content {
            position: relative;
            z-index: 2;
        }

        .logo-container {
            margin-bottom: 20px;
            animation: logoFloat 3s ease-in-out infinite;
        }

        .logo {
            max-width: 200px;
            height: auto;
            filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        @keyframes logoFloat {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .admin-toggle {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            font-weight: bold;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .admin-toggle:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .header h1 {
            font-size: 42px;
            font-weight: 600;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }

        .header p {
            font-size: 21px;
            font-weight: 400;
            opacity: 0.8;
        }

        /* Interface d'administration */
        .admin-panel {
            display: none;
            background: white;
            border-radius: 18px;
            padding: 48px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            margin-bottom: 40px;
        }

        .admin-panel.active {
            display: block;
        }

        .admin-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
            padding-bottom: 24px;
            border-bottom: 2px solid #f5f5f7;
        }

        .admin-title {
            font-size: 32px;
            font-weight: 600;
            color: #1d1d1f;
        }

        .logout-btn {
            background: #ff3b30;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
        }

        .logout-btn:hover {
            background: #d70015;
        }

        .admin-section {
            margin-bottom: 40px;
        }

        .admin-section h3 {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #1d1d1f;
        }

        .time-management {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 12px;
            margin-bottom: 24px;
        }

        .time-toggle {
            background: #f5f5f7;
            border: 2px solid #e5e5e7;
            border-radius: 8px;
            padding: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 16px;
        }

        .time-toggle.enabled {
            background: #d1fae5;
            border-color: #10b981;
            color: #065f46;
        }

        .time-toggle.disabled {
            background: #fee2e2;
            border-color: #ef4444;
            color: #991b1b;
        }

        .date-block-section {
            background: #f5f5f7;
            border-radius: 12px;
            padding: 24px;
        }

        .date-input-group {
            display: flex;
            gap: 12px;
            margin-bottom: 16px;
            align-items: end;
        }

        .date-input-group input {
            flex: 1;
            padding: 12px;
            border: 2px solid #e5e5e7;
            border-radius: 8px;
            font-size: 16px;
        }

        .date-input-group button {
            background: #ff8c00;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            white-space: nowrap;
        }

        .blocked-dates {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 16px;
        }

        .blocked-date {
            background: #ff3b30;
            color: white;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .blocked-date .remove-btn {
            background: rgba(255, 255, 255, 0.3);
            border: none;
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .stat-card {
            background: white;
            border-radius: 12px;
            padding: 24px;
            text-align: center;
            border: 2px solid #f5f5f7;
        }

        .stat-number {
            font-size: 32px;
            font-weight: 700;
            color: #ff8c00;
            margin-bottom: 8px;
        }

        .stat-label {
            font-size: 16px;
            color: #86868b;
        }

        /* Interface publique */
        .form-container {
            background: white;
            border-radius: 18px;
            padding: 48px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            margin-bottom: 40px;
        }

        .step {
            display: none;
        }

        .step.active {
            display: block;
        }

        .step-title {
            font-size: 32px;
            font-weight: 600;
            color: #1d1d1f;
            text-align: center;
            margin-bottom: 48px;
            letter-spacing: -0.5px;
        }

        .service-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-bottom: 48px;
        }

        .service-option {
            background: white;
            border: 2px solid #e5e5e7;
            border-radius: 12px;
            padding: 32px 24px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .service-option:hover {
            border-color: #ff8c00;
            transform: translateY(-2px);
        }

        .service-option.selected {
            border-color: #ff8c00;
            background: #fff7ed;
        }

        .service-option.selected::after {
            content: '✓';
            position: absolute;
            top: 12px;
            right: 16px;
            background: #ff8c00;
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 600;
        }

        .service-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }

        .service-title {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 8px;
            color: #1d1d1f;
        }

        .service-description {
            font-size: 17px;
            color: #86868b;
            line-height: 1.4;
        }

        .calendar-section {
            margin-bottom: 32px;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .calendar-month {
            font-size: 24px;
            font-weight: 600;
            color: #1d1d1f;
        }

        .calendar-nav {
            display: flex;
            gap: 8px;
        }

        .nav-button {
            background: #f5f5f7;
            border: none;
            border-radius: 8px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .nav-button:hover {
            background: #e5e5e7;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 8px;
            margin-bottom: 24px;
        }

        .calendar-day-header {
            text-align: center;
            font-size: 14px;
            font-weight: 600;
            color: #86868b;
            padding: 12px;
        }

        .calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 17px;
            font-weight: 400;
            text-align: center;
        }

        .calendar-day:hover:not(.blocked):not(.other-month) {
            background: #f5f5f7;
        }

        .calendar-day.selected {
            background: #ff8c00;
            color: white;
            font-weight: 600;
        }

        .calendar-day.other-month {
            color: #d2d2d7;
        }

        .calendar-day.blocked {
            background: #fee2e2;
            color: #991b1b;
            cursor: not-allowed;
            position: relative;
        }

        .calendar-day.blocked::after {
            content: '✕';
            position: absolute;
            font-size: 12px;
        }

        .time-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 12px;
            margin-top: 24px;
        }

        .time-slot {
            background: white;
            border: 2px solid #e5e5e7;
            border-radius: 8px;
            padding: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 17px;
        }

        .time-slot:hover:not(.disabled) {
            border-color: #ff8c00;
            background: #fff7ed;
        }

        .time-slot.selected {
            border-color: #ff8c00;
            background: #ff8c00;
            color: white;
            font-weight: 600;
        }

        .time-slot.disabled {
            background: #f5f5f7;
            color: #d2d2d7;
            cursor: not-allowed;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-label {
            display: block;
            font-size: 17px;
            font-weight: 600;
            color: #1d1d1f;
            margin-bottom: 8px;
        }

        .form-input {
            width: 100%;
            padding: 16px;
            border: 2px solid #e5e5e7;
            border-radius: 8px;
            font-size: 17px;
            transition: all 0.2s ease;
            background: white;
        }

        .form-input:focus {
            outline: none;
            border-color: #ff8c00;
            box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
        }

        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }

        .button-group {
            display: flex;
            gap: 16px;
            justify-content: center;
            margin-top: 48px;
        }

        .btn {
            padding: 16px 32px;
            border: none;
            border-radius: 8px;
            font-size: 17px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            min-width: 120px;
        }

        .btn-primary {
            background: #ff8c00;
            color: white;
        }

        .btn-primary:hover {
            background: #e67c00;
        }

        .btn-primary:disabled {
            background: #d2d2d7;
            cursor: not-allowed;
        }

        .btn-secondary {
            background: #f5f5f7;
            color: #1d1d1f;
            border: 2px solid #e5e5e7;
        }

        .btn-secondary:hover {
            background: #e5e5e7;
        }

        .summary-card {
            background: #f5f5f7;
            border-radius: 12px;
            padding: 32px;
            margin-bottom: 32px;
        }

        .summary-title {
            font-size: 24px;
            font-weight: 600;
            color: #1d1d1f;
            margin-bottom: 24px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 16px 0;
            border-bottom: 1px solid #e5e5e7;
            gap: 16px;
        }

        .summary-row:last-child {
            border-bottom: none;
        }

        .summary-label {
            font-size: 17px;
            color: #86868b;
            flex-shrink: 0;
            min-width: 80px;
        }

        .summary-value {
            font-size: 14px;
            font-weight: 600;
            color: #1d1d1f;
            text-align: right;
            word-break: break-word;
            flex: 1;
        }

        .success-container {
            text-align: center;
            padding: 64px 32px;
        }

        .success-icon {
            font-size: 80px;
            margin-bottom: 24px;
        }

        .success-title {
            font-size: 32px;
            font-weight: 600;
            color: #1d1d1f;
            margin-bottom: 16px;
        }

        .success-message {
            font-size: 19px;
            color: #86868b;
            margin-bottom: 32px;
            line-height: 1.4;
        }

        .reference-number {
            background: #f5f5f7;
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 32px;
            font-size: 17px;
            font-weight: 600;
            color: #1d1d1f;
        }

        /* Login modal */
        .login-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .login-modal.active {
            display: flex;
        }

        .login-form {
            background: white;
            border-radius: 18px;
            padding: 48px;
            max-width: 400px;
            width: 90%;
        }

        .login-title {
            font-size: 24px;
            font-weight: 600;
            text-align: center;
            margin-bottom: 32px;
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 8px;
            }

            .header {
                padding: 40px 0 24px;
            }

            .header h1 {
                font-size: 32px;
            }

            .header p {
                font-size: 19px;
            }

            .form-container, .admin-panel {
                padding: 16px;
            }

            .step-title, .admin-title {
                font-size: 28px;
                margin-bottom: 32px;
            }

            .service-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .service-option {
                padding: 24px;
            }

            .calendar-grid {
                gap: 1px;
                margin: 0 -4px;
            }

            .calendar-day, .calendar-day-header {
                font-size: 13px;
                min-height: 35px;
                padding: 2px;
            }

            .calendar-day-header {
                font-size: 12px;
                padding: 8px 2px;
            }

            .time-grid, .time-management {
                grid-template-columns: repeat(2, 1fr);
            }

            .button-group {
                flex-direction: column;
                align-items: center;
            }

            .btn {
                width: 100%;
                max-width: 300px;
            }

            .admin-header {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }

            .date-input-group {
                flex-direction: column;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .summary-value {
                font-size: 12px;
            }

            .summary-label {
                font-size: 15px;
            }

            .aller{
                position: relative; z-index: 4;
                border-radius: 10px;
            }

        }