/* FahrschuleFlash – Main Stylesheet */

.password-toggle { display: flex; align-items: center; gap: 4px; }
.password-toggle .form-control { flex: 1; }
.eye-btn { background: none; border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; cursor: pointer; font-size: 1.1em; line-height: 1; }
.eye-btn:hover { background: var(--hover-bg, #f1f5f9); }

:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --secondary: #ca8a04;
    --success: #16a34a;
    --warning: #eab308;
    --error: #dc2626;
    --bg: #fef2f2;
    --sidebar-bg: #7f1d1d;
    --sidebar-text: #fecaca;
    --sidebar-active: #eab308;
    --card-bg: #ffffff;
    --border: #fecaca;
    --text: #1e293b;
    --text-light: #6b7280;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

html { font-size: 16px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow-y: auto;
    transition: transform 0.3s;
}

.sidebar-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.sidebar-nav {
    list-style: none;
    padding: 0.5rem 0;
    flex: 1;
}

.sidebar-nav li.nav-section {
    padding: 0.75rem 1.25rem 0.25rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sidebar-text);
    opacity: 0.6;
}

.sidebar-nav .nav-link {
    display: block;
    padding: 0.625rem 1.25rem;
    color: var(--sidebar-text);
    font-size: 0.9rem;
    transition: all 0.15s;
}

.sidebar-nav .nav-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    text-decoration: none;
}

.sidebar-nav .nav-link.active {
    background: var(--sidebar-active);
    color: #422006;
}

.sidebar-nav .nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: none;
    border: none;
    color: var(--sidebar-text);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.15s;
}

.sidebar-nav .nav-toggle::before {
    content: '▶';
    font-size: 0.6rem;
    transition: transform 0.2s;
}

.sidebar-nav .nav-toggle.open::before {
    transform: rotate(90deg);
}

.sidebar-nav .nav-toggle:hover {
    opacity: 1;
    background: rgba(255,255,255,0.05);
}

.sidebar-nav .nav-sub {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.sidebar-nav .nav-sub.open {
    max-height: 600px;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.user-info small {
    color: var(--text-light);
}

.content {
    padding: 1.5rem;
    flex: 1;
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7f1d1d, #b91c1c);
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 1rem;
}

.login-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    padding: 2.5rem;
}

.login-card h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-control.error {
    border-color: var(--error);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
}

.checkbox-label:hover {
    border-color: var(--primary);
    background: #eff6ff;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--primary);
}

.form-error {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: 0.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    gap: 0.5rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}

.btn-success { background: var(--success); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-error { background: var(--error); color: #fff; }
.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn-outline:hover:not(:disabled) {
    background: var(--bg);
}

.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* Alerts */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

th {
    font-weight: 600;
    background: var(--bg);
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

tr:hover { background: #f8fafc; }

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 { font-size: 1rem; }

.card-body {
    padding: 1.25rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Search */
.search-box {
    position: relative;
    max-width: 400px;
}

.search-box input {
    padding-left: 2.25rem;
}

.search-box::before {
    content: '🔍';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Toolbar */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Slide Panel */
.slide-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    opacity: 0;
}

.slide-panel.active {
    max-height: 2000px;
    opacity: 1;
    overflow: visible;
}

.slide-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.slide-panel-header h2 {
    font-size: 1.15rem;
}

.slide-panel-body {
    min-height: 100px;
}

.slide-panel-inner {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 0.5rem 0;
    background: var(--card-bg);
}

.slide-panel-inner h3 {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.slide-panel-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fffbeb; color: #92400e; }
.badge-error { background: #fef2f2; color: #991b1b; }
.badge-info { background: #eff6ff; color: #1e40af; }
.badge-neutral { background: #f1f5f9; color: #475569; }

/* Pagination */
.pagination {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.pagination a, .pagination span {
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
}

.pagination a:hover { background: var(--bg); text-decoration: none; }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Select multi */
select[multiple] {
    min-height: 100px;
}

/* Loading */
.loading {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.8);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.loading-overlay.active { display: flex; }

/* Calendar */
.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.calendar-header {
    background: var(--bg);
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.calendar-day {
    background: var(--card-bg);
    min-height: 100px;
    padding: 0.5rem;
    font-size: 0.85rem;
}

.calendar-day.today { background: #eff6ff; }
.calendar-day.other-month { opacity: 0.5; }
.calendar-day.unavailable { background: #fef2f2; }

.calendar-day .day-number {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.calendar-day .slot {
    display: block;
    padding: 0.2rem 0.4rem;
    margin-bottom: 0.15rem;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
}

.calendar-day .slot:hover { background: var(--primary-dark); }

/* Helper classes */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-light); }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }

/* Availability Matrix */
.slide-panel-wide {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    opacity: 0;
}
.slide-panel-wide.active {
    max-height: 4000px;
    opacity: 1;
    overflow: visible;
}
.av-matrix {
    width: 100%;
}
.av-matrix-header h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.av-day-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.av-day-tab {
    flex-shrink: 0;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    cursor: pointer;
    transition: all 0.15s;
}
.av-day-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.av-hour-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.av-hour-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--text);
    text-align: center;
    min-height: 48px;
}
.av-hour-btn.checked {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}
.av-hour-btn:not(.checked):active {
    border-color: var(--primary);
    background: #fef2f2;
}
.av-matrix-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.av-copy-label {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}
.av-copy-row {
    flex-wrap: wrap;
}
.av-copy-row select {
    flex: 1;
    min-width: 150px;
}
.av-actions {
    justify-content: flex-end;
}


/* Inline form in table rows */
.inline-form { display: inline; }

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 500;
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: block;
    }

    .content {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    table {
        font-size: 0.8rem;
    }

    th, td {
        padding: 0.5rem;
    }

    .timeline-slot {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .booking-form .form-control-lg {
        font-size: 1rem;
        padding: 0.75rem 0.875rem;
    }

    .btn-lg {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
        min-height: 48px;
    }
}

/* Contact links */
.contact-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-light);
    transition: color 0.15s, border-color 0.15s;
}

.contact-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    text-decoration: none;
}

/* Day timeline */
.day-timeline {
    width: 100%;
}
.timeline-header {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.timeline-slots {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.timeline-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: default;
    text-align: left;
    transition: all 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.timeline-slot.free {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
    cursor: pointer;
}
.timeline-slot.free:hover,
.timeline-slot.free:active {
    background: #dcfce7;
    border-color: #4ade80;
}
.timeline-slot.free.selected {
    background: #166534;
    border-color: #166534;
    color: #fff;
}
.timeline-slot.booked {
    background: #f5f5f5;
    border-color: #e5e5e5;
    color: #a3a3a3;
}
.timeline-slot .slot-time {
    font-weight: 600;
}
.timeline-slot .slot-status {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}
.timeline-slot.free .slot-status.available {
    background: #bbf7d0;
    color: #166534;
}
.timeline-slot.free.selected .slot-status.available {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.timeline-slot.booked .slot-status.unavailable {
    background: #e5e5e5;
    color: #a3a3a3;
}

/* Booking form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.booking-form .form-section h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}
.booking-form .booking-info {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}
.booking-form .form-control-lg {
    font-size: 1.1rem;
    padding: 0.875rem 1rem;
    min-height: 48px;
}
.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    min-height: 52px;
}
.booking-form #bSubmitBtn:disabled {
    opacity: 0.5;
}

/* Statistics */
.stats-filters {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.stats-filters .form-group {
    margin-bottom: 0;
}
.stats-filters label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.25rem;
}
.stats-filters tfoot td {
    border-top: 2px solid var(--text);
    font-size: 0.95rem;
}

/* Stack layout */
.stack > * + * {
    margin-top: 1rem;
}

/* Instructor selection grid */
.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.instructor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.instructor-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(220,38,38,0.15);
    text-decoration: none;
    color: var(--text);
}

/* Minimal Layout (no sidebar) */
.minimal-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

.minimal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.minimal-header h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.minimal-layout .content {
    width: 100%;
    max-width: 600px;
}

.instructor-card strong {
    font-size: 1rem;
    text-align: center;
}

/* Assign Form */
.assign-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-results-dropdown {
    display: none;
    position: absolute;
    z-index: 100;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.search-result-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg);
}

.search-result-item.disabled {
    cursor: default;
    color: var(--text-light);
    font-style: italic;
}

.search-result-item small {
    color: var(--text-light);
    font-size: 0.85em;
}

.student-info-card {
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--radius);
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.student-info-meta {
    color: var(--text-light);
    font-size: 0.88em;
}

.confirm-page {
    max-width: 520px;
    margin: 3rem auto;
    text-align: center;
}

.confirm-icon {
    margin-bottom: 1.5rem;
}

.confirm-page h1 {
    margin-bottom: 0.75rem;
}

.confirm-message {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1em;
}

.confirm-details {
    text-align: left;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.confirm-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.confirm-detail-row:last-child {
    border-bottom: none;
}

.confirm-label {
    color: var(--text-light);
    font-weight: 500;
}

.confirm-value {
    font-weight: 600;
}

.confirm-cta {
    margin-top: 1.5rem;
}

.form-section {
    position: relative;
}

@media (max-width: 768px) {
    .assign-form {
        max-width: 100%;
    }
}
