/* =============================================================================
   HINDU TEMPLES PORTAL — Core Design System
   =============================================================================
   Dark mode DEFAULT. Light mode via .light class or prefers-color-scheme.
   ALL values in rem. ZERO px values.
   Mobile-first (min 22.5rem / 360px). Touch targets min 2.75rem (44px).
   ========================================================================== */


/* =============================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ========================================================================== */

:root {
    /* --- Background --- */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-elevated: #1a2332;

    /* --- Text --- */
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #1e293b;

    /* --- Borders --- */
    --border-primary: #334155;
    --border-secondary: #475569;
    --border-focus: var(--saffron);

    /* --- Brand Colors --- */
    --saffron: #FF9933;
    --saffron-dark: #E68A2E;
    --saffron-light: #FFB366;
    --saffron-glow: rgba(255, 153, 51, 0.15);
    --maroon: #800000;
    --maroon-light: #a00000;
    --gold: #DAA520;
    --gold-light: #f0c040;

    /* --- Semantic --- */
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.12);
    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --info: #3b82f6;
    --info-bg: rgba(59, 130, 246, 0.12);

    /* --- Spacing --- */
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* --- Border Radius --- */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999rem;

    /* --- Shadows --- */
    --shadow-sm: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.3);
    --shadow-md: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 0.625rem 0.9375rem rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 1rem rgba(255, 153, 51, 0.2);

    /* --- Transitions --- */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;

    /* --- Typography --- */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Inter', var(--font-sans);
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;

    /* --- Z-index layers --- */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;

    /* --- Container widths --- */
    --container-sm: 40rem;
    --container-md: 48rem;
    --container-lg: 64rem;
    --container-xl: 80rem;
    --container-2xl: 96rem;

    /* --- Header height --- */
    --header-height: 4rem;
}


/* =============================================================================
   2. LIGHT MODE OVERRIDES
   ========================================================================== */

.light,
.light *:not(.badge):not(.btn-primary):not(.btn-secondary):not(.btn-danger):not(.toast) {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-elevated: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #e2e8f0;
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    --saffron: #E68A2E;
    --saffron-dark: #CC7A29;
    --saffron-light: #FF9933;
    --saffron-glow: rgba(230, 138, 46, 0.1);
    --shadow-sm: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.08);
    --shadow-md: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 0.625rem 0.9375rem rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 1rem rgba(230, 138, 46, 0.12);
}

@media (prefers-color-scheme: light) {
    html:not(.dark) {
        --bg-primary: #f8fafc;
        --bg-secondary: #ffffff;
        --bg-tertiary: #f1f5f9;
        --bg-elevated: #ffffff;
        --text-primary: #1e293b;
        --text-secondary: #475569;
        --text-muted: #94a3b8;
        --text-inverse: #e2e8f0;
        --border-primary: #e2e8f0;
        --border-secondary: #cbd5e1;
        --saffron: #E68A2E;
        --saffron-dark: #CC7A29;
        --saffron-light: #FF9933;
        --saffron-glow: rgba(230, 138, 46, 0.1);
        --shadow-sm: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.08);
        --shadow-md: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
        --shadow-lg: 0 0.625rem 0.9375rem rgba(0, 0, 0, 0.12);
        --shadow-xl: 0 1.25rem 1.5625rem rgba(0, 0, 0, 0.15);
        --shadow-glow: 0 0 1rem rgba(230, 138, 46, 0.12);
    }
}


/* =============================================================================
   3. BASE / RESET
   ========================================================================== */

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

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--saffron);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--saffron-light);
    text-decoration: underline;
}

a:focus-visible {
    outline: 0.125rem solid var(--saffron);
    outline-offset: 0.125rem;
    border-radius: var(--radius-sm);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

hr {
    border: none;
    border-top: 0.0625rem solid var(--border-primary);
    margin: var(--space-4) 0;
}

::selection {
    background-color: rgba(255, 153, 51, 0.3);
    color: var(--text-primary);
}


/* --- Scrollbar (dark themed) --- */

::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-secondary);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-tertiary) var(--bg-primary);
}


/* =============================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-2xl { max-width: var(--container-2xl); }

.main-content {
    min-height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
    overflow-x: hidden;
}

.section {
    padding: var(--space-12) 0;
}

.section-header {
    margin-bottom: var(--space-8);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

.sr-only {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    padding: 0;
    margin: -0.0625rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* =============================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    color: var(--text-primary);
    background: transparent;
    border: 0.0625rem solid var(--border-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 2.75rem;
    min-width: 2.75rem;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    filter: brightness(1.1);
    text-decoration: none;
}

.btn:active {
    transform: scale(0.97);
}

.btn:focus-visible {
    outline: 0.125rem solid var(--saffron);
    outline-offset: 0.125rem;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Primary — saffron fill */
.btn-primary {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
    color: #1a1a1a;
    border-color: var(--saffron);
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--saffron-light), var(--saffron));
    box-shadow: var(--shadow-glow);
    color: #1a1a1a;
}

/* Secondary — maroon fill */
.btn-secondary {
    background: var(--maroon);
    color: #ffffff;
    border-color: var(--maroon);
}

.btn-secondary:hover {
    background: var(--maroon-light);
    border-color: var(--maroon-light);
    color: #ffffff;
}

/* Ghost — transparent */
.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
}

/* Danger — red */
.btn-danger {
    background: var(--error);
    color: #ffffff;
    border-color: var(--error);
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

/* Outline — saffron border */
.btn-outline {
    background: transparent;
    border-color: var(--saffron);
    color: var(--saffron);
}

.btn-outline:hover {
    background: var(--saffron-glow);
}

/* Small button */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    min-height: 2rem;
}

/* Large button */
.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    min-height: 3.25rem;
}

/* Icon-only button */
.btn-icon {
    padding: var(--space-2);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    width: 2.75rem;
    height: 2.75rem;
}

.btn-icon:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

/* Full width */
.btn-block {
    width: 100%;
}

/* Button group */
.btn-group {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}


/* =============================================================================
   6. CARDS
   ========================================================================== */

.card {
    background: var(--bg-secondary);
    border: 0.0625rem solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: var(--space-4) var(--space-6);
    border-bottom: 0.0625rem solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-body {
    padding: var(--space-6);
}

.card-footer {
    padding: var(--space-4) var(--space-6);
    border-top: 0.0625rem solid var(--border-primary);
}


/* --- Temple Card (grid item) --- */

.temple-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    animation: cardIn var(--transition-slow) ease both;
}

.temple-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bg-tertiary);
}

.temple-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.temple-card:hover .temple-card-image img {
    transform: scale(1.05);
}

.temple-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

.temple-card-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    z-index: 2;
}

.temple-card-body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}

.temple-card-title {
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: var(--leading-tight);
}

.temple-card-title a {
    color: var(--text-primary);
}

.temple-card-title a:hover {
    color: var(--saffron);
    text-decoration: none;
}

.temple-card-location {
    font-size: var(--text-sm);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.temple-card-location i {
    color: var(--saffron);
    font-size: var(--text-xs);
}

.temple-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: var(--space-3);
    border-top: 0.0625rem solid var(--border-primary);
    font-size: var(--text-sm);
}

.temple-card-rating {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--gold);
}

.temple-card-rating .rating-count {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.temple-card-favorites {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.temple-card-favorites i {
    color: var(--error);
}


/* =============================================================================
   7. AVATAR
   ========================================================================== */

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 0.125rem solid var(--border-primary);
    background: var(--bg-tertiary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.avatar-sm { width: 2rem; height: 2rem; font-size: var(--text-xs); }
.avatar-lg { width: 3.5rem; height: 3.5rem; font-size: var(--text-lg); }
.avatar-xl { width: 5rem; height: 5rem; font-size: var(--text-2xl); }


/* =============================================================================
   8. BADGES
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-full);
    white-space: nowrap;
    text-transform: capitalize;
}

.badge-approved,
.badge-active {
    background: var(--success-bg);
    color: var(--success);
    border: 0.0625rem solid rgba(34, 197, 94, 0.3);
}

.badge-pending {
    background: var(--warning-bg);
    color: var(--warning);
    border: 0.0625rem solid rgba(245, 158, 11, 0.3);
}

.badge-rejected,
.badge-inactive {
    background: var(--error-bg);
    color: var(--error);
    border: 0.0625rem solid rgba(239, 68, 68, 0.3);
}

.badge-claimed {
    background: rgba(218, 165, 32, 0.12);
    color: var(--gold);
    border: 0.0625rem solid rgba(218, 165, 32, 0.3);
}

.badge-info {
    background: var(--info-bg);
    color: var(--info);
    border: 0.0625rem solid rgba(59, 130, 246, 0.3);
}

/* Denomination badges — long-form (-ism suffix, legacy) */
.badge-shaivism {
    background: rgba(128, 0, 0, 0.15);
    color: #e57373;
    border: 0.0625rem solid rgba(128, 0, 0, 0.4);
}

.badge-vaishnavism {
    background: rgba(33, 150, 243, 0.12);
    color: #64b5f6;
    border: 0.0625rem solid rgba(33, 150, 243, 0.3);
}

.badge-shaktism {
    background: rgba(233, 30, 99, 0.12);
    color: #f06292;
    border: 0.0625rem solid rgba(233, 30, 99, 0.3);
}

.badge-smartism {
    background: rgba(76, 175, 80, 0.12);
    color: #81c784;
    border: 0.0625rem solid rgba(76, 175, 80, 0.3);
}

/* Denomination badges — short-form (used by JS temple card renderer) */
.badge-shaiva {
    background: rgba(128, 0, 0, 0.15);
    color: #e57373;
    border: 0.0625rem solid rgba(128, 0, 0, 0.4);
}

.badge-vaishnava {
    background: rgba(33, 150, 243, 0.12);
    color: #64b5f6;
    border: 0.0625rem solid rgba(33, 150, 243, 0.3);
}

.badge-shakta {
    background: rgba(233, 30, 99, 0.12);
    color: #f06292;
    border: 0.0625rem solid rgba(233, 30, 99, 0.3);
}

.badge-smarta {
    background: rgba(76, 175, 80, 0.12);
    color: #81c784;
    border: 0.0625rem solid rgba(76, 175, 80, 0.3);
}

.badge-other {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 0.0625rem solid var(--border-primary);
}


/* =============================================================================
   9. STAR RATINGS
   ========================================================================== */

/* Display-only stars */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    color: var(--gold);
    font-size: var(--text-sm);
}

.star-rating .fa-star,
.star-rating .fa-star-half-alt {
    color: var(--gold);
}

.star-rating .far.fa-star {
    color: var(--text-muted);
}

/* Interactive star input */
.star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.125rem;
    font-size: var(--text-2xl);
}

.star-input input {
    display: none;
}

.star-input label {
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    padding: var(--space-1);
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
    color: var(--gold);
}

.star-input label:active {
    transform: scale(1.2);
}


/* =============================================================================
   10. MODALS
   ========================================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    padding-top: calc(var(--header-height) + var(--space-4));
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0.25rem);
    -webkit-backdrop-filter: blur(0.25rem);
    animation: fadeIn var(--transition-fast) ease;
}

.modal-content {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border: 0.0625rem solid var(--border-primary);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 32rem;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: cardIn var(--transition-normal) ease;
}

.modal-large .modal-content,
.modal-content.modal-large {
    max-width: 56rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    border-bottom: 0.0625rem solid var(--border-primary);
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: var(--space-6);
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    border-top: 0.0625rem solid var(--border-primary);
    flex-shrink: 0;
}


/* =============================================================================
   11. DROPDOWNS
   ========================================================================== */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: var(--z-dropdown);
    min-width: 12rem;
    padding: var(--space-2);
    background: var(--bg-secondary);
    border: 0.0625rem solid var(--border-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: all var(--transition-fast);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(var(--space-1));
}

.dropdown-menu a,
.dropdown-menu button {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-primary);
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-sans);
    text-align: left;
    min-height: 2.75rem;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background: var(--bg-tertiary);
    color: var(--saffron);
    text-decoration: none;
}

.dropdown-menu hr {
    margin: var(--space-2) 0;
    border-color: var(--border-primary);
}

.dropdown-menu i {
    width: 1.25rem;
    text-align: center;
    color: var(--text-muted);
}


/* =============================================================================
   12. SPINNER / LOADING
   ========================================================================== */

.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.1875rem solid var(--border-primary);
    border-top-color: var(--saffron);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

.spinner-sm { width: 1.25rem; height: 1.25rem; border-width: 0.125rem; }
.spinner-lg { width: 3rem; height: 3rem; border-width: 0.25rem; }

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(0.25rem);
}


/* =============================================================================
   13. TOASTS / NOTIFICATIONS
   ========================================================================== */

.toast-container {
    position: fixed;
    top: calc(var(--header-height) + var(--space-4));
    right: var(--space-4);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    pointer-events: none;
    max-width: 24rem;
    width: 100%;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border: 0.0625rem solid var(--border-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: slideIn var(--transition-normal) ease;
    pointer-events: all;
    border-left: 0.25rem solid var(--info);
}

.toast-success { border-left-color: var(--success); }
.toast-error   { border-left-color: var(--error); }
.toast-warning { border-left-color: var(--warning); }
.toast-info    { border-left-color: var(--info); }

.toast-icon {
    font-size: var(--text-lg);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon   { color: var(--error); }
.toast-warning .toast-icon { color: var(--warning); }
.toast-info .toast-icon    { color: var(--info); }

.toast-body {
    flex: 1;
    min-width: 0;
}

.toast-message {
    font-size: var(--text-sm);
    color: var(--text-primary);
    margin: 0;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--space-1);
    font-size: var(--text-sm);
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.toast-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.toast-exit {
    animation: slideOut var(--transition-normal) ease forwards;
}


/* =============================================================================
   14. FORMS
   ========================================================================== */

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.form-label-required::after {
    content: ' *';
    color: var(--error);
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 0.0625rem solid var(--border-primary);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 2.75rem;
    appearance: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:hover {
    border-color: var(--border-secondary);
}

.form-input:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 0.1875rem var(--saffron-glow);
}

.form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-tertiary);
}

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

.form-input-error:focus {
    box-shadow: 0 0 0 0.1875rem var(--error-bg);
}

textarea.form-input {
    min-height: 6rem;
    resize: vertical;
}

select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
}

.form-hint {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.form-error {
    font-size: var(--text-xs);
    color: var(--error);
}

.form-input-icon-wrapper {
    position: relative;
}

.form-input-icon-wrapper .form-input {
    padding-left: var(--space-10);
}

.form-input-icon-wrapper i {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Checkbox / Radio */
.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    min-height: 2.75rem;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--saffron);
    cursor: pointer;
}


/* =============================================================================
   15. HEADER
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(0.75rem);
    -webkit-backdrop-filter: blur(0.75rem);
    border-bottom: 0.0625rem solid var(--border-primary);
    transition: background var(--transition-normal);
}

.light .header {
    background: rgba(248, 250, 252, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    height: 100%;
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--saffron);
    text-decoration: none;
    flex-shrink: 0;
}

.header-brand:hover {
    color: var(--saffron-light);
    text-decoration: none;
}

.header-brand i {
    font-size: var(--text-2xl);
}

.header-nav {
    display: none;
    align-items: center;
    gap: var(--space-1);
}

.header-nav a {
    padding: var(--space-2) var(--space-4);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--saffron);
    background: var(--saffron-glow);
    text-decoration: none;
}

.header-search {
    display: none;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 20rem;
}

.header-search i {
    position: absolute;
    left: var(--space-4);
    color: var(--text-muted);
    pointer-events: none;
    font-size: var(--text-sm);
}

.header-search input {
    width: 100%;
    padding: var(--space-2) var(--space-4) var(--space-2) var(--space-10);
    background: var(--bg-tertiary);
    border: 0.0625rem solid transparent;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-family: var(--font-sans);
    min-height: 2.5rem;
    transition: all var(--transition-fast);
}

.header-search input::placeholder {
    color: var(--text-muted);
}

.header-search input:focus {
    outline: none;
    border-color: var(--saffron);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 0.1875rem var(--saffron-glow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-left: auto;
}

.mobile-menu-btn {
    display: flex;
}

.avatar-btn {
    font-size: var(--text-xl);
    color: var(--text-secondary);
}


/* Mobile menu drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 85vw);
    z-index: var(--z-modal);
    background: var(--bg-secondary);
    border-left: 0.0625rem solid var(--border-primary);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    border-bottom: 0.0625rem solid var(--border-primary);
    font-weight: 700;
    font-size: var(--text-lg);
    min-height: var(--header-height);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    color: var(--text-primary);
    font-size: var(--text-base);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
    min-height: 2.75rem;
    text-decoration: none;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: var(--saffron-glow);
    color: var(--saffron);
    text-decoration: none;
}

.mobile-menu-nav a i {
    width: 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.mobile-menu-nav a:hover i,
.mobile-menu-nav a.active i {
    color: var(--saffron);
}

.mobile-menu-nav hr {
    margin: var(--space-2) var(--space-4);
}

/* Mobile overlay backdrop */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-modal) - 1);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0.125rem);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}


/* =============================================================================
   16. SIDEBAR (filter panel for explore page)
   ========================================================================== */

.sidebar {
    background: var(--bg-secondary);
    border: 0.0625rem solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
}

.sidebar-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-section {
    margin-bottom: var(--space-6);
}

.sidebar-section-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-3);
}


/* =============================================================================
   17. GRID — Temple Cards Responsive Grid
   ========================================================================== */

.grid-portal {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

/* 2 columns on tablet (48rem+) */
@media (min-width: 48rem) {
    .grid-portal {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3 columns on desktop (64rem+) */
@media (min-width: 64rem) {
    .grid-portal {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 4 columns on large (80rem+) */
@media (min-width: 80rem) {
    .grid-portal {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Grid with sidebar layout */
.explore-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 64rem) {
    .explore-layout {
        grid-template-columns: 16rem 1fr;
    }
}


/* =============================================================================
   18. HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 24rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.9) 0%,
        rgba(15, 23, 42, 0.7) 50%,
        rgba(128, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: var(--space-12) var(--space-4);
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: #ffffff;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 36rem;
    margin-bottom: var(--space-8);
}

@media (min-width: 48rem) {
    .hero-section {
        min-height: 28rem;
    }
    .hero-title {
        font-size: var(--text-5xl);
    }
    .hero-subtitle {
        font-size: var(--text-xl);
    }
}


/* =============================================================================
   19. FEATURED CAROUSEL — Horizontal Scrolling Row
   ========================================================================== */

.featured-carousel {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-2) var(--space-1);
    scrollbar-width: none;
}

.featured-carousel::-webkit-scrollbar {
    display: none;
}

.featured-carousel .temple-card {
    min-width: 18rem;
    max-width: 22rem;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.featured-carousel-wrapper {
    position: relative;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 0.0625rem solid var(--border-primary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.carousel-nav-btn:hover {
    background: var(--saffron);
    color: #1a1a1a;
    border-color: var(--saffron);
}

.carousel-nav-prev { left: -0.75rem; }
.carousel-nav-next { right: -0.75rem; }


/* =============================================================================
   20. SEARCH BAR (prominent)
   ========================================================================== */

.search-bar {
    position: relative;
    width: 100%;
    max-width: 36rem;
}

.search-bar i {
    position: absolute;
    left: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: var(--text-lg);
    pointer-events: none;
}

.search-bar input {
    width: 100%;
    padding: var(--space-4) var(--space-6) var(--space-4) var(--space-12);
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    background: var(--bg-secondary);
    border: 0.125rem solid var(--border-primary);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    min-height: 3.5rem;
    transition: all var(--transition-fast);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 0.25rem var(--saffron-glow);
}


/* =============================================================================
   21. FILTER CHIPS
   ========================================================================== */

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 0.0625rem solid var(--border-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 2.25rem;
    user-select: none;
    font-family: var(--font-sans);
}

.filter-chip:hover {
    border-color: var(--saffron);
    color: var(--saffron);
}

.filter-chip.active,
.filter-chip.selected {
    background: var(--saffron-glow);
    border-color: var(--saffron);
    color: var(--saffron);
    font-weight: 600;
}

.filter-chip .chip-remove {
    font-size: var(--text-xs);
    margin-left: var(--space-1);
}


/* =============================================================================
   22. PAGINATION
   ========================================================================== */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: var(--space-8) 0;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 0.0625rem solid var(--border-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-family: var(--font-sans);
}

.pagination-btn:hover {
    border-color: var(--saffron);
    color: var(--saffron);
    text-decoration: none;
}

.pagination-btn.active {
    background: var(--saffron);
    color: #1a1a1a;
    border-color: var(--saffron);
    font-weight: 700;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-ellipsis {
    padding: var(--space-2);
    color: var(--text-muted);
}

.pagination-info {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-2);
}


/* =============================================================================
   23. TABS
   ========================================================================== */

.tab-group {
    display: flex;
    border-bottom: 0.0625rem solid var(--border-primary);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tab-group::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-bottom: 0.125rem solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    min-height: 2.75rem;
    font-family: var(--font-sans);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.tab-btn.active {
    color: var(--saffron);
    border-bottom-color: var(--saffron);
    font-weight: 600;
}

.tab-panel {
    display: none;
    padding: var(--space-6) 0;
}

.tab-panel.active {
    display: block;
    animation: fadeIn var(--transition-normal) ease;
}


/* =============================================================================
   24. STATS CARD (dashboard)
   ========================================================================== */

.stats-card {
    background: var(--bg-secondary);
    border: 0.0625rem solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: transform var(--transition-fast);
}

.stats-card:hover {
    transform: translateY(-0.125rem);
}

.stats-card-icon {
    font-size: var(--text-2xl);
    color: var(--saffron);
    margin-bottom: var(--space-3);
}

.stats-card-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stats-card-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 48rem) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* =============================================================================
   25. EMPTY STATE
   ========================================================================== */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-16) var(--space-4);
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    opacity: 0.4;
}

.empty-state-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.empty-state-description {
    font-size: var(--text-base);
    max-width: 24rem;
    margin-bottom: var(--space-6);
}


/* =============================================================================
   26. ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0.5rem rgba(255, 153, 51, 0.2); }
    50% { box-shadow: 0 0 1.5rem rgba(255, 153, 51, 0.4); }
}

@keyframes shimmer {
    0% { background-position: -40rem 0; }
    100% { background-position: 40rem 0; }
}

/* Skeleton loading placeholder */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-tertiary) 25%,
        var(--bg-secondary) 50%,
        var(--bg-tertiary) 75%
    );
    background-size: 40rem 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 1rem;
    margin-bottom: var(--space-2);
    border-radius: var(--radius-sm);
}

.skeleton-text-sm {
    height: 0.75rem;
    width: 60%;
}

.skeleton-image {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
}


/* =============================================================================
   27. RESPONSIVE BREAKPOINTS — Desktop Overrides
   ========================================================================== */

/* Tablet (48rem+) */
@media (min-width: 48rem) {
    .container {
        padding-left: var(--space-8);
        padding-right: var(--space-8);
    }

    .header-nav {
        display: flex;
    }

    .header-search {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-content {
        padding: var(--space-16) var(--space-6);
    }
}

/* Desktop (64rem+) */
@media (min-width: 64rem) {
    .container {
        padding-left: var(--space-12);
        padding-right: var(--space-12);
    }

    .header-inner {
        padding: 0 var(--space-12);
    }

    .hero-content {
        padding: var(--space-20) var(--space-8);
    }

    .section {
        padding: var(--space-16) 0;
    }
}


/* =============================================================================
   28. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-saffron { color: var(--saffron); }
.text-gold    { color: var(--gold); }
.text-maroon  { color: var(--maroon); }
.text-error   { color: var(--error); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-info    { color: var(--info); }
.text-muted   { color: var(--text-muted); }

.font-bold   { font-weight: 700; }
.font-medium { font-weight: 500; }

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded-full { border-radius: var(--radius-full); }
.overflow-hidden { overflow: hidden; }

.relative { position: relative; }
.absolute { position: absolute; }

.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
