/* ============================================================
   YOUR INFORMATICS — Main Stylesheet
   © 2026 YOUR INFORMATICS — Teacher: Nur Hidayah
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    --primary:       #2563EB;
    --primary-dark:  #1D4ED8;
    --primary-light: #EFF6FF;
    --secondary:     #10B981;
    --secondary-dark:#059669;
    --accent:        #7C3AED;
    --accent-light:  #F5F3FF;
    --dark:          #1E293B;
    --dark-2:        #334155;
    --text:          #1E293B;
    --text-muted:    #64748B;
    --text-light:    #94A3B8;
    --border:        #E2E8F0;
    --border-light:  #F1F5F9;
    --surface:       #FFFFFF;
    --bg:            #F1F5F9;
    --danger:        #EF4444;
    --danger-light:  #FEF2F2;
    --warning:       #F59E0B;
    --warning-light: #FFFBEB;
    --info:          #3B82F6;
    --info-light:    #EFF6FF;
    --success:       #10B981;
    --success-light: #ECFDF5;
    --orange:        #F97316;

    --radius-sm:  6px;
    --radius:     10px;
    --radius-lg:  14px;
    --radius-xl:  20px;
    --radius-full:9999px;

    --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
    --shadow:     0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg:  0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl:  0 20px 25px rgba(0,0,0,0.1);

    --font-sans:  system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-mono:  'Courier New', Courier, monospace;

    --sidebar-w:  260px;
    --topnav-h:   64px;
    --transition: 0.2s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

button { cursor: pointer; font-family: inherit; }

input, textarea, select {
    font-family: inherit;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 1.875rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p { margin-bottom: 0.75rem; }
p:last-child { margin-bottom: 0; }

code, pre {
    font-family: var(--font-mono);
    font-size: 13px;
    background: var(--border-light);
    border-radius: var(--radius-sm);
}
code { padding: 2px 6px; }
pre { padding: 16px; overflow-x: auto; border: 1px solid var(--border); }

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--border-light); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ── Container ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1400px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

/* ── Utility: Spacing ───────────────────────────────────────── */
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-5 { margin-top: 1.5rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.5rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 0.75rem !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-auto { margin-left: auto !important; }
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.5rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }

/* ── Utility: Display ───────────────────────────────────────── */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; flex-wrap: wrap; }
.d-grid { display: grid !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-inline-flex { display: inline-flex !important; }

/* ── Utility: Flex ──────────────────────────────────────────── */
.flex-col      { flex-direction: column; }
.flex-wrap     { flex-wrap: wrap; }
.align-center  { align-items: center; }
.align-start   { align-items: flex-start; }
.justify-center{ justify-content: center; }
.justify-between{ justify-content: space-between; }
.justify-end   { justify-content: flex-end; }
.flex-1        { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* ── Utility: Text ──────────────────────────────────────────── */
.text-center  { text-align: center !important; }
.text-left    { text-align: left !important; }
.text-right   { text-align: right !important; }
.text-bold    { font-weight: 700 !important; }
.text-semibold{ font-weight: 600 !important; }
.text-normal  { font-weight: 400 !important; }
.text-sm      { font-size: 0.8125rem !important; }
.text-xs      { font-size: 0.75rem !important; }
.text-lg      { font-size: 1rem !important; }
.text-xl      { font-size: 1.125rem !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-primary  { color: var(--primary) !important; }
.text-success  { color: var(--secondary) !important; }
.text-danger   { color: var(--danger) !important; }
.text-warning  { color: var(--warning) !important; }
.text-info     { color: var(--info) !important; }
.text-dark     { color: var(--dark) !important; }
.text-white    { color: #fff !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Utility: Backgrounds ───────────────────────────────────── */
.bg-primary   { background-color: var(--primary) !important; }
.bg-success   { background-color: var(--secondary) !important; }
.bg-danger    { background-color: var(--danger) !important; }
.bg-warning   { background-color: var(--warning) !important; }
.bg-info      { background-color: var(--info) !important; }
.bg-dark      { background-color: var(--dark) !important; }
.bg-light     { background-color: var(--bg) !important; }
.bg-white     { background-color: #fff !important; }
.bg-ai        { background: linear-gradient(135deg, var(--accent), #9333EA) !important; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.badge-sm { padding: 2px 7px; font-size: 0.7rem; }
.badge.bg-primary  { background: var(--primary); color: #fff; }
.badge.bg-success  { background: var(--secondary); color: #fff; }
.badge.bg-danger   { background: var(--danger); color: #fff; }
.badge.bg-warning  { background: var(--warning); color: #fff; }
.badge.bg-info     { background: var(--info); color: #fff; }
.badge.bg-secondary{ background: var(--border); color: var(--text-muted); }
.badge.bg-dark     { background: var(--dark); color: #fff; }
.badge.bg-light    { background: var(--border-light); color: var(--text); }
.badge.bg-orange   { background: var(--orange); color: #fff; }
.badge.bg-ai       { background: linear-gradient(135deg, var(--accent), #9333EA); color: #fff; }

/* Grade badges */
.grade-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
}
.grade-A { background: var(--success-light); color: var(--secondary); }
.grade-B { background: var(--primary-light); color: var(--primary); }
.grade-C { background: var(--warning-light); color: var(--warning); }
.grade-D { background: #FFF7ED; color: var(--orange); }
.grade-E { background: var(--danger-light); color: var(--danger); }

/* ── Alerts ─────────────────────────────────────────────────── */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    position: relative;
}
.alert-success  { background: var(--success-light); border-color: #A7F3D0; color: #065F46; }
.alert-error,
.alert-danger   { background: var(--danger-light);  border-color: #FECACA; color: #991B1B; }
.alert-warning  { background: var(--warning-light); border-color: #FDE68A; color: #92400E; }
.alert-info     { background: var(--info-light);    border-color: #BFDBFE; color: #1E40AF; }
.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    padding: 0 4px;
    font-size: 0.875rem;
    flex-shrink: 0;
}
.alert-close:hover { opacity: 1; }
.alert-dismissible { padding-right: 2.5rem; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-sm   { padding: 5px 12px; font-size: 0.8125rem; }
.btn-lg   { padding: 11px 24px; font-size: 1rem; }
.btn-icon { padding: 7px; width: 34px; height: 34px; }
.btn-block{ width: 100%; white-space: normal; text-align: center; line-height: 1.4; }

.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

.btn-secondary { background: var(--border-light); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--border); color: var(--dark); }

.btn-success { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-success:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: #fff; }

.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #DC2626; border-color: #DC2626; color: #fff; }

.btn-warning { background: var(--warning); color: #fff; border-color: var(--warning); }
.btn-warning:hover { background: #D97706; border-color: #D97706; color: #fff; }

.btn-outline-primary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

.btn-outline-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-outline-danger:hover { background: var(--danger); color: #fff; }

.btn-ai { background: linear-gradient(135deg, var(--accent), #9333EA); color: #fff; border-color: transparent; }
.btn-ai:hover { background: linear-gradient(135deg, #6D28D9, #7E22CE); color: #fff; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-2);
}
.form-label .required { color: var(--danger); margin-left: 2px; }

.form-control {
    display: block;
    width: 100%;
    padding: 9px 13px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-valid { border-color: var(--secondary); }
.form-control:disabled, .form-control[readonly] {
    background: var(--border-light);
    color: var(--text-muted);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 36px;
}

textarea.form-control { min-height: 120px; resize: vertical; }

.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 0.75rem; color: var(--danger); margin-top: 4px; }

.form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.form-check input[type="checkbox"], .form-check input[type="radio"] {
    width: 16px; height: 16px; cursor: pointer;
    accent-color: var(--primary);
}
.form-check-label { cursor: pointer; font-size: 0.875rem; }

/* ── Tables ─────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; }
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.table th {
    text-align: left;
    padding: 11px 14px;
    background: var(--border-light);
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border);
}
.table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}
.table tbody tr:hover { background: var(--border-light); }
.table tbody tr:last-child td { border-bottom: none; }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.page-item .page-link:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.page-item.active .page-link { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Avatar ─────────────────────────────────────────────────── */
.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.avatar-sm { width: 28px; height: 28px; }
.avatar-lg { width: 48px; height: 48px; }
.avatar-xl { width: 80px; height: 80px; }

.avatar-initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.avatar-initials-sm { width: 28px; height: 28px; font-size: 0.75rem; }
.avatar-initials-lg { width: 48px; height: 48px; font-size: 1.125rem; }
.avatar-initials-xl { width: 80px; height: 80px; font-size: 1.5rem; }

/* ── Status Indicators ──────────────────────────────────────── */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-dot.active   { background: var(--secondary); }
.status-dot.inactive { background: var(--text-light); }
.status-dot.warning  { background: var(--warning); }
.status-dot.danger   { background: var(--danger); }

/* ── Progress Bar ───────────────────────────────────────────── */
.progress {
    height: 8px;
    background: var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}
.progress-bar.success { background: var(--secondary); }
.progress-bar.warning { background: var(--warning); }
.progress-bar.danger  { background: var(--danger); }

/* ── Empty State ─────────────────────────────────────────────── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
    text-align: center;
}
.empty-state-icon {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: 1rem;
}
.empty-state-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.empty-state-desc { font-size: 0.875rem; max-width: 300px; }

/* ── Toast ───────────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: var(--dark);
    color: #fff;
    font-size: 0.875rem;
    box-shadow: var(--shadow-lg);
    pointer-events: all;
    animation: toastIn 0.3s ease;
    max-width: 320px;
}
.toast.success { background: var(--secondary); }
.toast.danger  { background: var(--danger); }
.toast.warning { background: var(--warning); }
@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);   opacity: 1; }
}

/* ── Loading Spinner ─────────────────────────────────────────── */
.spinner {
    width: 20px; height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
.spinner-lg { width: 40px; height: 40px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
    position: fixed; inset: 0;
    background: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 9998;
}

/* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(15,23,42,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.2s; }
.modal-box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.25s ease;
}
.modal-box.modal-lg  { max-width: 720px; }
.modal-box.modal-xl  { max-width: 960px; }
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 1.125rem; font-weight: 600; }
.modal-close {
    background: none; border: none; font-size: 1.25rem;
    color: var(--text-muted); cursor: pointer; padding: 4px;
    border-radius: var(--radius-sm);
}
.modal-close:hover { background: var(--border-light); color: var(--text); }
.modal-body { padding: 1.5rem; }
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
}

/* ── Dropdown ────────────────────────────────────────────────── */
.dropdown-divider { border-top: 1px solid var(--border); margin: 6px 0; }
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.875rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}
.dropdown-item:hover { background: var(--border-light); }
.dropdown-item.text-danger { color: var(--danger); }
.dropdown-item.text-danger:hover { background: var(--danger-light); }

/* ── Login Page ──────────────────────────────────────────────── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E293B 0%, #2563EB 60%, #10B981 100%);
    padding: 1.5rem;
}
.login-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}
.login-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 2.5rem 2rem;
    text-align: center;
    color: #fff;
}
.login-logo {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.login-brand {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}
.login-tagline {
    font-size: 0.8rem;
    opacity: 0.8;
    letter-spacing: 0.12em;
}
.login-body {
    padding: 2rem;
}
.login-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark);
    text-align: center;
}
.login-footer {
    padding: 1.25rem 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: var(--border-light);
}
.password-toggle {
    position: relative;
}
.password-toggle .form-control { padding-right: 40px; }
.toggle-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
}
.toggle-eye:hover { color: var(--primary); }

/* ── Error Pages ─────────────────────────────────────────────── */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    text-align: center;
    padding: 2rem;
}
.error-page .error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1rem;
}
.error-page .error-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.error-page .error-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ── Print Utilities ─────────────────────────────────────────── */
.print-only { display: none; }
@media print {
    .print-only { display: block; }
    .no-print { display: none !important; }
    body { background: white; }
    .sidebar, .topnav, .page-footer { display: none !important; }
    .main-area { margin: 0 !important; }
}

/* ── Misc ────────────────────────────────────────────────────── */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.rounded { border-radius: var(--radius) !important; }
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.overflow-hidden { overflow: hidden !important; }
.cursor-pointer { cursor: pointer; }
.opacity-50 { opacity: 0.5; }
.border { border: 1px solid var(--border); }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
. t a b l e   t d   . d - f l e x   {   f l e x - w r a p :   w r a p ;   g a p :   6 p x ;   } 
 
 
