/* ==========================================
   Quran School SaaS - Frontend Styles
   ========================================== */

:root {
    --qs-primary: #1a6b3c;
    --qs-primary-light: #2d9b5a;
    --qs-primary-dark: #145230;
    --qs-secondary: #f59e0b;
    --qs-accent: #06b6d4;
    --qs-bg: #f0f7f4;
    --qs-card: #ffffff;
    --qs-text: #1f2937;
    --qs-text-light: #6b7280;
    --qs-border: #e5e7eb;
    --qs-success: #10b981;
    --qs-warning: #f59e0b;
    --qs-danger: #ef4444;
    --qs-info: #3b82f6;
    --qs-radius: 12px;
    --qs-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --qs-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    direction: rtl;
    font-family: 'Cairo', 'Segoe UI', sans-serif;
}

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

body { background: var(--qs-bg); color: var(--qs-text); direction: rtl; }

/* ===== LAYOUT ===== */
.qs-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.qs-dashboard {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    gap: 0;
}

@media (max-width: 768px) {
    .qs-dashboard { grid-template-columns: 1fr; }
    .qs-sidebar { display: none; }
    .qs-sidebar.open { display: flex; position: fixed; z-index: 1000; width: 260px; height: 100vh; top: 0; right: 0; }
}

/* ===== SIDEBAR ===== */
.qs-sidebar {
    background: var(--qs-primary-dark);
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: var(--qs-shadow-lg);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.qs-sidebar-logo {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.qs-sidebar-logo h2 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.qs-sidebar-logo p {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    margin-top: 4px;
}

.qs-school-badge {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 12px 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qs-school-badge img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.qs-school-badge span {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.qs-nav {
    flex: 1;
    padding: 16px 0;
    list-style: none;
}

.qs-nav li { padding: 0 12px; margin-bottom: 2px; }

.qs-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.qs-nav a:hover,
.qs-nav a.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.qs-nav a .qs-nav-icon { font-size: 1.1rem; min-width: 20px; }

.qs-nav-badge {
    margin-right: auto;
    background: var(--qs-secondary);
    color: #000;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 700;
}

.qs-nav-section {
    padding: 16px 26px 6px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.qs-sidebar-user {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.qs-sidebar-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}

.qs-sidebar-user-info { flex: 1; min-width: 0; }
.qs-sidebar-user-info strong { color: #fff; font-size: 0.85rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-sidebar-user-info span { color: rgba(255,255,255,0.5); font-size: 0.75rem; }

.qs-logout-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
}

/* ===== MAIN CONTENT ===== */
.qs-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.qs-topbar {
    background: #fff;
    border-bottom: 1px solid var(--qs-border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.qs-topbar h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--qs-text);
}

.qs-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qs-notification-btn {
    position: relative;
    background: var(--qs-bg);
    border: 1px solid var(--qs-border);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
}

.qs-notification-count {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--qs-danger);
    color: #fff;
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qs-content {
    flex: 1;
    padding: 24px;
}

/* ===== CARDS ===== */
.qs-card {
    background: var(--qs-card);
    border-radius: var(--qs-radius);
    box-shadow: var(--qs-shadow);
    overflow: hidden;
}

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

.qs-card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--qs-text);
}

.qs-card-body { padding: 20px; }

/* ===== STATS GRID ===== */
.qs-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.qs-stat-card {
    background: var(--qs-card);
    border-radius: var(--qs-radius);
    padding: 20px;
    box-shadow: var(--qs-shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    border-right: 4px solid var(--qs-primary);
}

.qs-stat-card.yellow { border-right-color: var(--qs-secondary); }
.qs-stat-card.blue   { border-right-color: var(--qs-info); }
.qs-stat-card.red    { border-right-color: var(--qs-danger); }
.qs-stat-card.teal   { border-right-color: var(--qs-accent); }

.qs-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(26,107,60,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.qs-stat-card.yellow .qs-stat-icon { background: rgba(245,158,11,0.1); }
.qs-stat-card.blue   .qs-stat-icon { background: rgba(59,130,246,0.1); }
.qs-stat-card.red    .qs-stat-icon { background: rgba(239,68,68,0.1); }

.qs-stat-info h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--qs-text);
    line-height: 1;
}

.qs-stat-info p {
    color: var(--qs-text-light);
    font-size: 0.85rem;
    margin-top: 4px;
}

.qs-stat-change {
    font-size: 0.75rem;
    color: var(--qs-success);
    margin-top: 2px;
}

/* ===== TABLES ===== */
.qs-table-wrapper { overflow-x: auto; }

.qs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.qs-table th {
    background: var(--qs-bg);
    padding: 12px 16px;
    text-align: right;
    font-weight: 600;
    color: var(--qs-text-light);
    border-bottom: 2px solid var(--qs-border);
    white-space: nowrap;
}

.qs-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--qs-border);
    color: var(--qs-text);
}

.qs-table tbody tr:hover { background: #f9fafb; }

.qs-table .qs-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== BADGES ===== */
.qs-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.qs-badge-green  { background: #d1fae5; color: #065f46; }
.qs-badge-red    { background: #fee2e2; color: #991b1b; }
.qs-badge-yellow { background: #fef3c7; color: #92400e; }
.qs-badge-blue   { background: #dbeafe; color: #1e40af; }
.qs-badge-gray   { background: #f3f4f6; color: #374151; }
.qs-badge-purple { background: #ede9fe; color: #5b21b6; }

/* ===== BUTTONS ===== */
.qs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.qs-btn-primary { background: var(--qs-primary); color: #fff; }
.qs-btn-primary:hover { background: var(--qs-primary-light); }
.qs-btn-secondary { background: var(--qs-bg); color: var(--qs-text); border: 1px solid var(--qs-border); }
.qs-btn-secondary:hover { background: var(--qs-border); }
.qs-btn-danger { background: var(--qs-danger); color: #fff; }
.qs-btn-success { background: var(--qs-success); color: #fff; }
.qs-btn-warning { background: var(--qs-secondary); color: #000; }
.qs-btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.qs-btn-icon { padding: 8px; border-radius: 8px; background: var(--qs-bg); border: 1px solid var(--qs-border); cursor: pointer; font-size: 0.9rem; }

/* ===== FORMS ===== */
.qs-form-group { margin-bottom: 16px; }

.qs-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--qs-text);
    margin-bottom: 6px;
}

.qs-form-group label .required { color: var(--qs-danger); margin-right: 2px; }

.qs-input,
.qs-select,
.qs-textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--qs-border);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--qs-text);
    background: #fff;
    transition: border-color 0.2s;
    direction: rtl;
    font-family: inherit;
}

.qs-input:focus,
.qs-select:focus,
.qs-textarea:focus {
    outline: none;
    border-color: var(--qs-primary);
    box-shadow: 0 0 0 3px rgba(26,107,60,0.1);
}

.qs-textarea { min-height: 100px; resize: vertical; }

.qs-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* ===== MODALS ===== */
.qs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.qs-modal {
    background: #fff;
    border-radius: var(--qs-radius);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--qs-shadow-lg);
}

.qs-modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--qs-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qs-modal-header h3 { font-size: 1.1rem; font-weight: 700; }

.qs-modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--qs-text-light);
    padding: 4px;
    border-radius: 6px;
}

.qs-modal-close:hover { background: var(--qs-bg); }

.qs-modal-body { padding: 24px; }

.qs-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--qs-border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== PROGRESS ===== */
.qs-progress {
    background: var(--qs-bg);
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
}

.qs-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--qs-primary), var(--qs-primary-light));
    border-radius: 20px;
    transition: width 0.3s ease;
}

/* ===== QURAN PROGRESS CARD ===== */
.qs-quran-progress {
    background: linear-gradient(135deg, var(--qs-primary-dark), var(--qs-primary));
    border-radius: var(--qs-radius);
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.qs-quran-progress::before {
    content: '📖';
    position: absolute;
    font-size: 6rem;
    left: -20px;
    bottom: -20px;
    opacity: 0.1;
}

.qs-quran-progress h3 { font-size: 0.9rem; opacity: 0.8; margin-bottom: 8px; }
.qs-quran-progress .juz { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.qs-quran-progress .juz-label { font-size: 0.85rem; opacity: 0.7; }

/* ===== ATTENDANCE WIDGET ===== */
.qs-attendance-dots {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.qs-attendance-dot {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: default;
}

.qs-attendance-dot.present  { background: #d1fae5; color: #065f46; }
.qs-attendance-dot.absent   { background: #fee2e2; color: #991b1b; }
.qs-attendance-dot.late     { background: #fef3c7; color: #92400e; }
.qs-attendance-dot.excused  { background: #dbeafe; color: #1e40af; }

/* ===== REWARDS ===== */
.qs-badge-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.qs-badge-item {
    text-align: center;
    padding: 12px;
    background: var(--qs-bg);
    border-radius: 12px;
    min-width: 80px;
}

.qs-badge-item .badge-icon { font-size: 2rem; display: block; }
.qs-badge-item .badge-name { font-size: 0.72rem; color: var(--qs-text-light); margin-top: 4px; }

.qs-points-display {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    padding: 16px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.qs-points-display .points-number { font-size: 2rem; font-weight: 800; }
.qs-points-display .points-label { font-size: 0.85rem; opacity: 0.85; }

/* ===== LEADERBOARD ===== */
.qs-leaderboard-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--qs-border);
}

.qs-rank { font-size: 1.1rem; font-weight: 800; min-width: 32px; }
.qs-rank.first  { color: #f59e0b; }
.qs-rank.second { color: #9ca3af; }
.qs-rank.third  { color: #d97706; }

/* ===== RECORDING ===== */
.qs-recording-area {
    background: linear-gradient(135deg, var(--qs-primary-dark), var(--qs-primary));
    border-radius: var(--qs-radius);
    padding: 32px;
    text-align: center;
    color: #fff;
}

.qs-record-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto;
    transition: transform 0.2s;
}

.qs-record-btn:hover { transform: scale(1.1); }
.qs-record-btn.recording {
    background: var(--qs-danger);
    animation: pulse-record 1s infinite;
}

@keyframes pulse-record {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(239,68,68,0); }
}

/* ===== ACCURACY SCORE ===== */
.qs-accuracy-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.qs-accuracy-circle svg { transform: rotate(-90deg); }

.qs-accuracy-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

/* ===== ALERTS ===== */
.qs-alert {
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.qs-alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.qs-alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.qs-alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.qs-alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

/* ===== SCHEDULE ===== */
.qs-schedule-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--qs-bg);
    margin-bottom: 10px;
    border-right: 4px solid var(--qs-primary);
}

.qs-schedule-time {
    min-width: 80px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--qs-primary);
}

.qs-schedule-info h4 { font-size: 0.9rem; font-weight: 600; }
.qs-schedule-info p { font-size: 0.78rem; color: var(--qs-text-light); margin-top: 2px; }

.qs-schedule-card .qs-badge { margin-right: auto; }

/* ===== TABS ===== */
.qs-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--qs-border);
    margin-bottom: 20px;
}

.qs-tab {
    padding: 10px 18px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--qs-text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    font-family: inherit;
}

.qs-tab.active, .qs-tab:hover { color: var(--qs-primary); border-bottom-color: var(--qs-primary); }

/* ===== EMPTY STATE ===== */
.qs-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--qs-text-light);
}

.qs-empty .empty-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.qs-empty h4 { font-size: 1rem; color: var(--qs-text); margin-bottom: 6px; }
.qs-empty p { font-size: 0.875rem; }

/* ===== LOADING ===== */
.qs-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.qs-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--qs-border);
    border-top-color: var(--qs-primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

/* ===== SEARCH ===== */
.qs-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.qs-search-box .qs-input { padding-right: 36px; }
.qs-search-box .search-icon {
    position: absolute;
    right: 10px;
    color: var(--qs-text-light);
    font-size: 0.9rem;
}

/* ===== QR CODE ===== */
.qs-qr-container {
    text-align: center;
    padding: 24px;
    background: var(--qs-bg);
    border-radius: var(--qs-radius);
}

.qs-qr-container img { max-width: 200px; border-radius: 8px; }
.qs-qr-container p { font-size: 0.85rem; color: var(--qs-text-light); margin-top: 10px; }

/* ===== PAGE HEADER ===== */
.qs-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.qs-page-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--qs-text);
}

.qs-page-header p {
    color: var(--qs-text-light);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* ===== CERTIFICATE ===== */
.qs-certificate-preview {
    border: 4px solid var(--qs-secondary);
    border-radius: var(--qs-radius);
    padding: 32px;
    text-align: center;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.qs-certificate-preview h2 { color: var(--qs-primary-dark); font-size: 1.5rem; }
.qs-certificate-preview p { color: var(--qs-text); margin: 8px 0; }

/* ===== GRID LAYOUTS ===== */
.qs-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.qs-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qs-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 1024px) {
    .qs-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .qs-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .qs-content { padding: 16px; }
    .qs-grid-2, .qs-grid-3, .qs-grid-4 { grid-template-columns: 1fr; }
    .qs-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .qs-page-header { flex-direction: column; align-items: flex-start; }
}

/* ===== NOTIFICATIONS PANEL ===== */
.qs-notifications-panel {
    position: fixed;
    top: 60px;
    left: 24px;
    width: 360px;
    background: #fff;
    border-radius: var(--qs-radius);
    box-shadow: var(--qs-shadow-lg);
    border: 1px solid var(--qs-border);
    z-index: 500;
    max-height: 400px;
    overflow-y: auto;
}

.qs-notification-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--qs-border);
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.qs-notification-item:hover { background: var(--qs-bg); }
.qs-notification-item.unread { background: #f0f9ff; }

.qs-notification-item .notif-icon { font-size: 1.5rem; flex-shrink: 0; }
.qs-notification-item .notif-title { font-size: 0.85rem; font-weight: 600; }
.qs-notification-item .notif-text { font-size: 0.8rem; color: var(--qs-text-light); margin-top: 2px; }
.qs-notification-item .notif-time { font-size: 0.75rem; color: var(--qs-text-light); margin-top: 4px; }

/* ===== MOBILE BOTTOM NAV ===== */
.qs-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--qs-border);
    padding: 8px 0;
    z-index: 300;
}

@media (max-width: 768px) { .qs-mobile-nav { display: flex; } }

.qs-mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px;
    cursor: pointer;
    color: var(--qs-text-light);
    font-size: 0.7rem;
    text-decoration: none;
}

.qs-mobile-nav-item .icon { font-size: 1.3rem; }
.qs-mobile-nav-item.active { color: var(--qs-primary); }

/* ===== UTILS ===== */
.qs-text-center { text-align: center; }
.qs-text-right  { text-align: right; }
.qs-flex        { display: flex; }
.qs-flex-center { display: flex; align-items: center; justify-content: center; }
.qs-gap-2       { gap: 8px; }
.qs-gap-3       { gap: 12px; }
.qs-mb-4        { margin-bottom: 16px; }
.qs-mt-4        { margin-top: 16px; }
.qs-hidden      { display: none; }
