/* ──────────────────────────────────────────
   SchematicVault — Components v2
   ────────────────────────────────────────── */

/* ════════════════════════════════
   BUTTONS
   ════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--r);
    cursor: pointer;
    border: none;
    text-decoration: none;
    padding: 0 18px;
    height: 40px;
    transition: all var(--dur) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.06), transparent);
    opacity: 0;
    transition: opacity var(--dur-fast) ease;
    pointer-events: none;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.96); }

/* Sizes */
.btn-xs  { height: 28px;  font-size: 0.75rem; padding: 0 12px; border-radius: var(--r-xs); }
.btn-sm  { height: 34px;  font-size: 0.85rem; padding: 0 14px; }
.btn-md  { height: 40px; }
.btn-lg  { height: 48px;  font-size: 1rem;    padding: 0 28px; border-radius: var(--r-md); }
.btn-xl  { height: 56px;  font-size: 1.05rem; padding: 0 36px; border-radius: var(--r-lg); }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { padding: 0; width: 40px; }
.btn-icon.btn-sm { width: 34px; }
.btn-icon.btn-lg { width: 48px; }

/* Variants */
.btn-purple {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(124, 92, 252, 0.35);
}
.btn-purple:hover {
    background: var(--accent-2);
    box-shadow: 0 6px 24px rgba(124, 92, 252, 0.5);
    transform: translateY(-1px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-2);
}
.btn-outline:hover {
    background: var(--glass-hover);
    border-color: var(--border-hover);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    color: var(--text-2);
}
.btn-ghost:hover {
    background: var(--glass-hover);
    color: var(--text);
}

.btn-dark {
    background: rgba(255,255,255,0.9);
    color: #000;
}
.btn-dark:hover {
    background: #fff;
    color: #000;
}

.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.btn-green:hover {
    background: #0da876;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
    color: #fff;
}

.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}
.btn-red:hover {
    background: #e11d48;
    color: #fff;
}

.btn-discord {
    background: var(--discord);
    color: #fff;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}
.btn-discord:hover {
    background: #6b77f5;
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.5);
    transform: translateY(-1px);
    color: #fff;
}

.btn-amber {
    background: var(--amber);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-amber:hover {
    background: #fbbf24;
    transform: translateY(-1px);
    color: #000;
}

/* ════════════════════════════════
   CARDS
   ════════════════════════════════ */
.card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color var(--dur) ease,
                transform var(--dur) var(--ease-out),
                box-shadow var(--dur) ease;
    position: relative;
}
.card-hover:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow), 0 0 0 1px var(--accent-mid), 0 0 40px var(--accent-glow);
}

/* Schematic card specific */
.schematic-card {
    display: block;
    position: relative;
    text-decoration: none;
    border-radius: var(--r-lg);
}
.schematic-card .card-thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg3);
}
.schematic-card .card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--dur-slow) var(--ease-out);
}
.schematic-card:hover .card-thumb { transform: scale(1.06); }
.schematic-card .card-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg3), var(--bg4));
}
.schematic-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5,5,9,0.85) 0%, rgba(5,5,9,0.3) 40%, transparent 70%);
    opacity: 0;
    transition: opacity var(--dur) ease;
}
.schematic-card:hover .card-overlay { opacity: 1; }
.schematic-card .card-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    z-index: 2;
}
.schematic-card .card-pin {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}
.schematic-card .card-body {
    padding: 14px 16px 16px;
    background: var(--bg2);
    transition: background var(--dur) ease;
}
.schematic-card:hover .card-body { background: var(--bg3); }
.schematic-card .card-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 5px;
}
.schematic-card .card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.schematic-card .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-3);
    border-top: 1px solid var(--border);
    padding-top: 10px;
}
.schematic-card .card-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-2);
}
.schematic-card .card-author img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    opacity: 0.8;
}
.schematic-card .card-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--text-2);
}

/* Card sheen effect on hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 80%
    );
    transform: skewX(-10deg);
    opacity: 0;
    transition: left 0.6s ease, opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.card-hover:hover::before {
    left: 125%;
    opacity: 1;
}

/* ════════════════════════════════
   BADGES
   ════════════════════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--r-pill);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border: 1px solid transparent;
}
.badge-purple  { background: rgba(124,92,252,0.15); color: #c4b0ff; border-color: rgba(124,92,252,0.3); }
.badge-green   { background: rgba(16,185,129,0.15);  color: #5eead4; border-color: rgba(16,185,129,0.3); }
.badge-red     { background: rgba(244,63,94,0.15);   color: #fda4af; border-color: rgba(244,63,94,0.3); }
.badge-amber   { background: rgba(245,158,11,0.15);  color: #fcd34d; border-color: rgba(245,158,11,0.3); }
.badge-cyan    { background: rgba(6,182,212,0.15);   color: #67e8f9; border-color: rgba(6,182,212,0.3); }
.badge-blue    { background: rgba(59,130,246,0.15);  color: #93c5fd; border-color: rgba(59,130,246,0.3); }
.badge-gold    { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 2px 8px rgba(245,158,11,0.35); border-color: transparent; }
.badge-glass   { background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.12); }
.badge-lg      { font-size: 0.8rem; padding: 5px 12px; }

/* ════════════════════════════════
   FLASH TOASTS
   ════════════════════════════════ */
.flash {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--r-md);
    background: var(--bg3);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    max-width: 420px;
    backdrop-filter: blur(16px);
    animation: slideInRight var(--dur-slow) var(--ease-out) both;
    position: relative;
    overflow: hidden;
}
.flash::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
}
.flash-success { border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.06); }
.flash-success::before { background: var(--green); }
.flash-error   { border-color: rgba(244,63,94,0.3);   background: rgba(244,63,94,0.06);  }
.flash-error::before   { background: var(--red); }
.flash-info    { border-color: rgba(124,92,252,0.3);  background: rgba(124,92,252,0.06); }
.flash-info::before    { background: var(--accent); }
.flash-warning { border-color: rgba(245,158,11,0.3);  background: rgba(245,158,11,0.06); }
.flash-warning::before { background: var(--amber); }

.flash .flash-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.flash .flash-body { flex: 1; }
.flash .flash-msg  { font-weight: 500; font-size: 0.92rem; color: var(--text); line-height: 1.4; }
.flash .flash-sub  { font-size: 0.8rem; color: var(--text-3); margin-top: 2px; }
.flash .flash-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    font-size: 1.1rem;
    line-height: 1;
    transition: color var(--dur-fast) ease;
    flex-shrink: 0;
}
.flash .flash-close:hover { color: var(--text); }

/* ════════════════════════════════
   STAT CARDS
   ════════════════════════════════ */
.stat-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--r-lg);
    transition: transform var(--dur) var(--ease-out), border-color var(--dur) ease;
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 120px;
    height: 120px;
    background: var(--accent-glow);
    filter: blur(40px);
    opacity: 0;
    transition: opacity var(--dur) ease;
    border-radius: 50%;
    pointer-events: none;
}
.stat-card:hover { transform: translateY(-2px); border-color: var(--border-hover); }
.stat-card:hover::after { opacity: 0.4; }
.stat-card .stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
    margin-bottom: 10px;
}
.stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.05em;
    line-height: 1;
}
.stat-card .stat-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ════════════════════════════════
   FORM FIELDS
   ════════════════════════════════ */
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 6px;
}
.field-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: -2px;
}
.field-error { font-size: 0.8rem; color: var(--red); margin-top: 2px; }
.field-req { color: var(--red); }

/* Input group (prefix/suffix) */
.input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
    background: var(--bg3);
}
.input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}
.input-group-prefix,
.input-group-suffix {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: rgba(0,0,0,0.2);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-family: var(--font-mono);
    white-space: nowrap;
    border-color: var(--border);
}
.input-group-prefix { border-right: 1px solid var(--border); }
.input-group-suffix { border-left: 1px solid var(--border); }
.input-group input {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    flex: 1;
    min-width: 0;
}
.input-group input:focus { box-shadow: none; }

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 44px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}
.toggle-switch input {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}
.toggle-switch .slider {
    position: absolute;
    inset: 0;
    background: var(--bg5);
    border-radius: var(--r-pill);
    transition: background var(--dur) ease;
    border: 1px solid var(--border);
}
.toggle-switch .slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--text-2);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform var(--dur) var(--ease-spring), background var(--dur) ease;
}
.toggle-switch input:checked + .slider { background: var(--accent); border-color: var(--accent); }
.toggle-switch input:checked + .slider::before {
    transform: translateX(20px);
    background: #fff;
}

/* ════════════════════════════════
   EMPTY STATE
   ════════════════════════════════ */
.empty {
    text-align: center;
    padding: 72px 32px;
    background: var(--bg-alt);
    border-radius: var(--r-lg);
    border: 2px dashed var(--border);
    color: var(--text-muted);
}
.empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--r-lg);
    background: var(--bg3);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    color: var(--text-muted);
}
.empty h2, .empty h3 { font-size: 1.2rem; color: var(--text-2); margin-bottom: 8px; }
.empty p { font-size: 0.95rem; color: var(--text-muted); max-width: 360px; margin: 0 auto 24px; }

/* ════════════════════════════════
   PAGINATION
   ════════════════════════════════ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
}
.pagination .page-info {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-2);
    padding: 0 12px;
}

/* ════════════════════════════════
   DROPDOWN
   ════════════════════════════════ */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 6px;
    min-width: 220px;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    z-index: var(--z-dropdown);
    animation: scaleIn 0.18s var(--ease-out) both;
    transform-origin: top right;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: var(--text-2);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--r);
    transition: background var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease;
    cursor: pointer;
}
.dropdown-item:hover {
    background: var(--glass-hover);
    color: var(--text);
    transform: translateX(2px);
}
.dropdown-item svg { flex-shrink: 0; }
.dropdown-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 4px 0;
}
.dropdown-user-info { padding: 10px 12px 6px; }
.dropdown-user-name { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.dropdown-user-id   { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; font-family: var(--font-mono); }

/* ════════════════════════════════
   NAV LINK
   ════════════════════════════════ */
.nav-link {
    color: var(--text-2);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--dur-fast) ease;
    position: relative;
    padding-bottom: 2px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: var(--r-pill);
    transition: width var(--dur) var(--ease-out);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--text); }
.nav-link.active::after { width: 100%; }

/* ════════════════════════════════
   SCROLLABLE SHELF (horizontal)
   ════════════════════════════════ */
.shelf {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.shelf > * { scroll-snap-align: start; flex-shrink: 0; }

/* ════════════════════════════════
   SECTION DIVIDER
   ════════════════════════════════ */
.section-gap { margin-top: 64px; }
.section-gap-sm { margin-top: 40px; }

/* ════════════════════════════════
   SEARCH INPUT
   ════════════════════════════════ */
.search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.search-wrap .search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--dur-fast) ease;
}
.search-wrap:focus-within .search-icon { color: var(--accent); }
.search-wrap input {
    padding-left: 44px;
    width: 100%;
}

/* ════════════════════════════════
   FILTER BAR
   ════════════════════════════════ */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg2);
    padding: 6px 8px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
}
.filter-bar select {
    background: transparent;
    border: none;
    padding: 6px 28px 6px 12px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-2);
    font-size: 0.875rem;
    min-width: 0;
}
.filter-bar select:focus { box-shadow: none; }
.filter-sep {
    width: 1px;
    height: 20px;
    background: var(--border);
    flex-shrink: 0;
}

/* ════════════════════════════════
   CATEGORY CHIPS
   ════════════════════════════════ */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: var(--r-pill);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--dur-fast) ease;
    white-space: nowrap;
    border: 1px solid var(--border);
    background: var(--bg3);
    color: var(--text-2);
}
.chip:hover { background: var(--bg4); border-color: var(--border-hover); color: var(--text); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 12px var(--accent-glow); }
.chip-all.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ════════════════════════════════
   SECTION HEADER LINK
   ════════════════════════════════ */
.see-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.see-all:hover { gap: 8px; opacity: 0.85; color: var(--accent); }

/* ════════════════════════════════
   DETAIL ROWS (schematic info)
   ════════════════════════════════ */
.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg3);
    border-radius: var(--r);
    border: 1px solid var(--border);
    gap: 12px;
}
.detail-row-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.detail-row-value {
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text);
    text-align: right;
}

/* ════════════════════════════════
   COMMENT
   ════════════════════════════════ */
.comment {
    display: flex;
    gap: 14px;
    animation: fadeUp var(--dur-slow) var(--ease-out) both;
}
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    object-fit: cover;
}
.comment-bubble {
    flex: 1;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    border-top-left-radius: var(--r-xs);
    padding: 14px 16px;
    transition: border-color var(--dur-fast) ease;
}
.comment-bubble:hover { border-color: var(--border-hover); }
.comment-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
}
.comment-author {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.9rem;
}
.comment-time {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.comment-body {
    color: var(--text-2);
    line-height: 1.6;
    font-size: 0.92rem;
    white-space: pre-wrap;
}
.comment-delete-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--r-xs);
    transition: color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.comment-delete-btn:hover { color: var(--red); background: var(--red-light); }

/* ════════════════════════════════
   GLASS PANEL
   ════════════════════════════════ */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
}

/* ════════════════════════════════
   LOADING SPINNER
   ════════════════════════════════ */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    flex-shrink: 0;
}

/* ════════════════════════════════
   PROGRESS BAR
   ════════════════════════════════ */
.progress-bar {
    height: 4px;
    background: var(--bg5);
    border-radius: var(--r-pill);
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: var(--r-pill);
    transition: width 0.8s var(--ease-out);
}

/* ════════════════════════════════
   ALERT / NOTICE BOXES
   ════════════════════════════════ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--r-md);
    border: 1px solid;
    font-size: 0.9rem;
    line-height: 1.5;
}
.alert-info    { background: var(--accent-light); border-color: rgba(124,92,252,0.3); color: var(--accent-2); }
.alert-success { background: var(--green-light);  border-color: rgba(16,185,129,0.3);  color: #34d399; }
.alert-warning { background: var(--amber-light);  border-color: rgba(245,158,11,0.3);  color: var(--amber); }
.alert-danger  { background: var(--red-light);    border-color: rgba(244,63,94,0.3);   color: #fb7185; }
.alert svg { flex-shrink: 0; margin-top: 1px; }

/* ════════════════════════════════
   HERO GLOW
   ════════════════════════════════ */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-glow-primary {
    width: 600px;
    height: 300px;
    background: var(--accent-glow);
    opacity: 0.15;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}
.hero-glow-secondary {
    width: 300px;
    height: 200px;
    background: rgba(88,101,242,0.3);
    opacity: 0.1;
}

/* ════════════════════════════════
   SCROLLBAR FADE EDGES
   ════════════════════════════════ */
.fade-edges {
    mask-image: linear-gradient(to right, transparent 0%, black 32px, black calc(100% - 32px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 32px, black calc(100% - 32px), transparent 100%);
}

/* ──────────────────────────────────────────
   UTILITY CLASSES (Satisfy IDE Parsers)
   ────────────────────────────────────────── */
.u-premium { border-color: var(--amber) !important; box-shadow: 0 0 40px rgba(245,158,11,0.05) !important; }
.u-text-amber  { color: var(--amber) !important; }
.u-text-red    { color: var(--red) !important; }
.u-text-green  { color: var(--green) !important; }
.u-text-accent { color: var(--accent) !important; }
.u-text-standard { color: var(--text) !important; }

/* ════════════════════════════════
   STATUS & STATE HELPERS
   ════════════════════════════════ */

/* ════════════════════════════════
   STATUS & STATE HELPERS
   ════════════════════════════════ */

/* Cards with Status Accents */
.card-approved { border-left: 4px solid var(--green) !important; }
.card-rejected { border-left: 4px solid var(--red) !important; }
.card-pending  { border-left: 4px solid var(--accent) !important; }

/* Notification Item States */
.notif-item.is-unread {
    background: rgba(124, 92, 252, 0.04) !important;
}
.notif-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    margin-top: 6px;
    transition: all var(--dur-fast) ease;
}
.notif-item.is-unread .dot {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}
.notif-item.is-unread .notif-msg {
    font-weight: 600;
}

/* Gallery & Thumbnails */
.gallery-thumb.is-active {
    border-color: var(--accent) !important;
}
.input-error {
    border-color: var(--red) !important;
}

/* Utilities for dynamic animations */
.anim-delay-1 { animation-delay: 0.05s; }
.anim-delay-2 { animation-delay: 0.1s; }
.anim-delay-3 { animation-delay: 0.15s; }
.anim-delay-4 { animation-delay: 0.2s; }
.anim-delay-5 { animation-delay: 0.25s; }
