/* ================================================================
   BEWERBERPORTAL - MODERNES RESPONSIVE DESIGN v2.1
   Mobile-First Approach
   ================================================================ */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --primary-bg: rgba(59, 130, 246, 0.1);
    --success: #22c55e;
    --success-dark: #16a34a;
    --success-bg: rgba(34, 197, 94, 0.1);
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --info: #06b6d4;
    --info-bg: rgba(6, 182, 212, 0.1);
    --purple: #8b5cf6;
    --purple-bg: rgba(139, 92, 246, 0.1);
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --sidebar-width: 260px;
    --header-height: 60px;
    --sidebar-bg: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; min-height: 100vh; }

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-100);
}

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

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-dark) 100%);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}
.btn-secondary:hover { background: var(--gray-50); }

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, var(--danger-dark) 100%);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-icon {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: var(--radius);
}

/* ================================================================
   BADGES
   ================================================================ */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-info { background: var(--info-bg); color: #0891b2; }
.badge-warning { background: var(--warning-bg); color: #d97706; }
.badge-success { background: var(--success-bg); color: #16a34a; }
.badge-danger { background: var(--danger-bg); color: #dc2626; }
.badge-secondary { background: var(--gray-200); color: var(--gray-600); }
.badge-primary { background: var(--primary-bg); color: var(--primary-dark); }
.badge-purple { background: var(--purple-bg); color: #7c3aed; }
.badge-member { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); color: #78350f; }

/* ================================================================
   ADMIN LAYOUT - MOBILE FIRST
   ================================================================ */

.admin-body {
    background: var(--gray-100);
}

.admin-layout {
    min-height: 100vh;
}

/* Mobile Header */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-header h1 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.menu-toggle {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.2);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--sidebar-bg);
    color: white;
    z-index: 200;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    left: 0;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 150;
}

.sidebar-overlay.show {
    display: block;
}

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

.sidebar-header h1 {
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.sidebar-header .user-info {
    font-size: 13px;
    opacity: 0.7;
}

.sidebar-header .user-info small {
    display: block;
    margin-top: 2px;
    opacity: 0.8;
}

.sidebar-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.sidebar-nav {
    padding: 15px 10px;
    flex: 1;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius);
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-nav a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.sidebar-nav a.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.sidebar-nav .nav-icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.sidebar-footer {
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding-bottom: 30px;
}

.main-header {
    display: none;
}

.content-body {
    padding: 16px;
}

/* ================================================================
   DASHBOARD
   ================================================================ */

.page-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--gray-900);
}

.page-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0 0 20px 0;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 12px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-decoration: none !important;
    color: var(--gray-700);
    transition: all 0.2s;
    border: 2px solid transparent;
}

.quick-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.quick-action-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.quick-action-icon.blue { background: var(--primary-bg); }
.quick-action-icon.green { background: var(--success-bg); }
.quick-action-icon.orange { background: var(--warning-bg); }
.quick-action-icon.red { background: var(--danger-bg); }
.quick-action-icon.purple { background: var(--purple-bg); }
.quick-action-icon.cyan { background: var(--info-bg); }

.quick-action-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.2s;
    display: block;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.total::before { background: var(--gray-400); }
.stat-card.new::before { background: var(--primary); }
.stat-card.invited::before { background: var(--warning); }
.stat-card.accepted::before { background: var(--success); }
.stat-card.rejected::before { background: var(--danger); }
.stat-card.members::before { background: var(--purple); }
.stat-card.letters::before { background: var(--info); }

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.stat-card.total .stat-icon { background: var(--gray-100); }
.stat-card.new .stat-icon { background: var(--primary-bg); }
.stat-card.invited .stat-icon { background: var(--warning-bg); }
.stat-card.accepted .stat-icon { background: var(--success-bg); }
.stat-card.rejected .stat-icon { background: var(--danger-bg); }
.stat-card.members .stat-icon { background: var(--purple-bg); }
.stat-card.letters .stat-icon { background: var(--info-bg); }

.stat-value {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card.new .stat-value { color: var(--primary); }
.stat-card.invited .stat-value { color: var(--warning); }
.stat-card.accepted .stat-value { color: var(--success); }
.stat-card.rejected .stat-value { color: var(--danger); }
.stat-card.members .stat-value { color: var(--purple); }
.stat-card.letters .stat-value { color: var(--info); }

.stat-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ================================================================
   CARDS
   ================================================================ */

.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
    flex-wrap: wrap;
    gap: 10px;
}

.card-header h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--gray-900);
}

.card-body {
    padding: 20px;
}

/* ================================================================
   RECENT LIST
   ================================================================ */

.recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s;
}

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

.recent-item:hover {
    background: var(--gray-50);
}

.recent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.recent-info {
    flex: 1;
    min-width: 0;
}

.recent-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 14px;
    margin-bottom: 2px;
}

.recent-meta {
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.recent-meta .badge {
    font-size: 10px;
    padding: 2px 8px;
}

.recent-actions {
    flex-shrink: 0;
}

/* ================================================================
   TABLES
   ================================================================ */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--gray-500);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}

.table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: var(--gray-50);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ================================================================
   FORMS
   ================================================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.filter-form {
    padding: 20px;
}

/* ================================================================
   ALERTS
   ================================================================ */

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success-dark);
    border-left: 4px solid var(--success);
}

.alert-error {
    background: var(--danger-bg);
    color: var(--danger-dark);
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: var(--warning-bg);
    color: var(--warning-dark);
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: var(--primary-bg);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary);
}

/* ================================================================
   DETAIL VIEW
   ================================================================ */

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.detail-main {
    min-width: 0;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-info {
    padding: 20px;
}

.info-row {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 4px;
}

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

.info-row .label {
    color: var(--gray-500);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.info-row .value {
    color: var(--gray-800);
    font-size: 15px;
}

/* ================================================================
   FILE GALLERY
   ================================================================ */

.files-section {
    padding: 20px;
}

.file-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.file-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 12px;
    text-align: center;
}

.file-preview {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.file-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.file-icon-large {
    font-size: 40px;
}

.file-name {
    font-size: 11px;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    word-break: break-word;
}

.file-meta {
    font-size: 10px;
    color: var(--gray-500);
}

.file-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 8px;
}

.file-upload-form {
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.upload-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* ================================================================
   EVALUATIONS
   ================================================================ */

.evaluation-section {
    padding: 20px;
}

.eval-summary {
    background: var(--gray-50);
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.eval-avg {
    font-size: 16px;
    font-weight: 600;
}

.evaluation-list {
    margin-bottom: 20px;
}

.evaluation-item {
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.eval-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.eval-meta {
    font-size: 12px;
    color: var(--gray-500);
}

.eval-comment {
    margin: 0;
    font-size: 14px;
    color: var(--gray-700);
}

.evaluation-form {
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.evaluation-form h3 {
    font-size: 15px;
    margin: 0 0 15px 0;
}

.grade {
    font-weight: 700;
    font-size: 1.1em;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.05);
}

/* ================================================================
   LOGIN PAGE
   ================================================================ */

.login-body {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: var(--shadow-xl);
}

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

.login-header .logo {
    font-size: 48px;
    margin-bottom: 15px;
}

.login-header h1 {
    font-size: 22px;
    margin: 0 0 5px 0;
    color: var(--gray-900);
}

.login-header p {
    color: var(--gray-500);
    margin: 0;
}

/* ================================================================
   PAGINATION
   ================================================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    flex-wrap: wrap;
}

.page-info {
    font-size: 14px;
    color: var(--gray-500);
}

/* ================================================================
   CHECKBOX
   ================================================================ */

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

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

/* ================================================================
   UTILITIES
   ================================================================ */

.text-muted { color: var(--gray-500); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }

/* ================================================================
   TABLET+ (768px)
   ================================================================ */

@media (min-width: 768px) {
    .mobile-header {
        display: none;
    }
    
    .sidebar {
        position: fixed;
        left: 0;
        width: var(--sidebar-width);
    }
    
    .sidebar-close {
        display: none;
    }
    
    .sidebar-overlay {
        display: none !important;
    }
    
    .main-content {
        margin-left: var(--sidebar-width);
    }
    
    .main-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 30px;
        background: white;
        border-bottom: 1px solid var(--gray-200);
        position: sticky;
        top: 0;
        z-index: 50;
    }
    
    .main-header h1 {
        font-size: 24px;
        margin: 0;
    }
    
    .content-body {
        padding: 30px;
    }
    
    .page-title {
        font-size: 26px;
    }
    
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-grid {
        grid-template-columns: 1fr 340px;
    }
    
    .info-row {
        flex-direction: row;
        gap: 0;
    }
    
    .info-row .label {
        width: 140px;
        flex-shrink: 0;
        font-size: 14px;
        text-transform: none;
    }
    
    .file-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* ================================================================
   DESKTOP (1200px+)
   ================================================================ */

@media (min-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .form-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================================================================
   FRONTEND FORM
   ================================================================ */

.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

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

.form-header .logo {
    font-size: 64px;
    margin-bottom: 15px;
}

.form-header h1 {
    font-size: 28px;
    margin: 0 0 10px 0;
}

.form-header p {
    color: var(--gray-500);
}

.form-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.form-section h2 {
    font-size: 18px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100);
}

.hint {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 6px;
}

.required {
    color: var(--danger);
}

.review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.review-card h2 {
    font-size: 16px;
    margin: 0 0 15px 0;
}

.review-grid {
    display: grid;
    gap: 12px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.review-item .label {
    color: var(--gray-500);
    font-size: 14px;
}

.review-item .value {
    font-weight: 500;
    text-align: right;
}

.review-item.highlight {
    background: var(--warning-bg);
    margin: 0 -15px;
    padding: 10px 15px;
    border-radius: var(--radius);
    border-bottom: none;
}

.review-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.success-container {
    max-width: 500px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.success-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.success-card h1 {
    font-size: 24px;
    margin: 0 0 15px 0;
    color: var(--success);
}

/* ================================================================
   PRINT
   ================================================================ */

@media print {
    .sidebar, .mobile-header, .main-header, .no-print {
        display: none !important;
    }
    .main-content {
        margin-left: 0 !important;
    }
    .card {
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
}
