/* ============================================
   Tiệm Vàng Phú Quý – style.css
   Mobile-first design
   ============================================ */


/* ── Reset & Variables ── */

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

html,
body,
button,
input,
select,
textarea,
table,
th,
td {
    font-family: 'Roboto', Arial, sans-serif !important;
}

:root {
    color-scheme: light;
    --gold-50: #fffefb;
    --gold-100: #fff9ea;
    --gold-200: #f8e7bf;
    --gold-300: #f0d79d;
    --gold-400: #e1b96d;
    --gold-500: #c9963a;
    --gold-600: #9f6e1f;
    --bg: #fffefa;
    --bg-card: #ffffff;
    --bg-soft: #fffbf2;
    --border: #ecdfc6;
    --border-light: #f3ead7;
    --text-dark: #34270f;
    --text-mid: #624a20;
    --text-muted: #a38856;
    --text-body: #4b3818;
    --red: #d64b4b;
    --green: #1d9b58;
    --ok-bg: #edf9f2;
    --ok-border: #bde5cb;
    --danger-bg: #fff1f1;
    --danger-border: #f3c9c9;
    --shadow-sm: 0 6px 16px rgba(120, 86, 27, 0.09);
    --shadow-md: 0 14px 32px rgba(120, 86, 27, 0.12);
    --shadow-lg: 0 26px 58px rgba(120, 86, 27, 0.16);
    --ticker-speed: 57s;
    --px: 16px;
    /* page horizontal padding mobile */
}


/* ── Base ── */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text-body);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse 80% 40% at 10% 0%, rgba(231, 188, 101, 0.24) 0%, transparent 55%), radial-gradient(ellipse 60% 50% at 90% 100%, rgba(243, 215, 154, 0.18) 0%, transparent 55%);
}


/* ══════════════════════════════════════════
   HEADER  (mobile-first)
══════════════════════════════════════════ */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 252, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1.5px solid var(--border);
    padding: 0 var(--px);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.logo-gem {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex-shrink: 0;
    background: linear-gradient(145deg, var(--gold-200), var(--gold-400));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(200, 150, 0, 0.28);
}

.logo-text {
    min-width: 0;
}

.shop-name {
    font-family: Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-sub {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 8px;
}

.live-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--ok-bg);
    border: 1px solid var(--ok-border);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--green);
    white-space: nowrap;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: blink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.btn-admin {
    background: var(--bg-soft);
    border: 1.5px solid var(--gold-300);
    color: var(--gold-500);
    padding: 7px 12px;
    border-radius: 9px;
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.btn-admin:active {
    background: var(--gold-100);
}


/* Tối ưu header trên mobile nhỏ để tránh đè chữ */

@media (max-width: 639px) {
    .logo {
        flex: 1;
    }
    .logo-gem {
        width: 34px;
        height: 34px;
        font-size: 18px;
        border-radius: 10px;
    }
    .shop-name {
        font-size: 0.95rem;
    }
    .shop-sub {
        display: none;
    }
    .header-right {
        gap: 6px;
        margin-left: 6px;
    }
    .live-pill {
        padding: 4px 8px;
        font-size: 0.64rem;
    }
    .btn-admin {
        padding: 6px 10px;
        font-size: 0.74rem;
    }
}


/* ══════════════════════════════════════════
   TICKER
══════════════════════════════════════════ */

.ticker-wrap {
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #e7c476, var(--gold-300), #e7c476);
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker var(--ticker-speed) linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    font-size: 0.76rem;
    font-weight: 700;
    color: rgba(54, 38, 10, 0.98);
    border-right: 1px solid rgba(88, 63, 18, 0.14);
}

.ticker-item .tv {
    color: #2f2415;
}

.ticker-arrow {
    font-weight: 900;
}

.ticker-up {
    color: var(--green);
}

.ticker-down {
    color: var(--red);
}

.ticker-flat {
    color: var(--text-muted);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */

.hero {
    position: relative;
    z-index: 1;
    padding: 20px var(--px) 16px;
}

.hero-title {
    font-family: Arial, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-title .accent {
    color: var(--gold-500);
    display: block;
}

.hero-date-block {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: var(--shadow-sm);
}

.hero-date-block .lbl {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-date-block .sep {
    color: var(--border);
}

.hero-date-block #last-updated {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-dark);
}


/* ══════════════════════════════════════════
   STATS  – 2 cột trên mobile
══════════════════════════════════════════ */

.stats-section {
    position: relative;
    z-index: 1;
    padding: 14px var(--px) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 14px;
    padding: 14px 14px;
    box-shadow: var(--shadow-sm);
}

.sc-icon {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.sc-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.sc-value {
    font-family: Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.15;
}

.sc-sub {
    font-size: 0.64rem;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 600;
}


/* ══════════════════════════════════════════
   PRICE SECTION
══════════════════════════════════════════ */

.price-section {
    position: relative;
    z-index: 1;
    padding: 18px var(--px) 20px;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.section-head h2 {
    font-family: Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

.section-head .bar {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, var(--border), transparent);
}

.section-head .tag {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-600);
    background: var(--gold-100);
    border: 1px solid var(--gold-200);
    border-radius: 20px;
    padding: 3px 8px;
    white-space: nowrap;
}


/* ── Mobile: dạng CARD thay vì bảng ── */

.table-wrap {
    display: none;
}


/* ẩn bảng trên mobile */

.price-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
}

.pc-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
}

.pc-badge {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--gold-100), var(--gold-300));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(200, 150, 0, 0.18);
    border: 1.5px solid var(--gold-200);
}

.pc-info {
    min-width: 0;
}

.pc-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
}

.pc-karat {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

.pc-change {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    text-align: right;
    margin-left: 6px;
}

.pc-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.pc-price-item {
    display: flex;
    flex-direction: column;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 9px 10px;
}

.pc-price-lbl {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.pc-price-lbl.buy {
    color: var(--green);
}

.pc-price-lbl.sell {
    color: var(--red);
}

.pc-price-val {
    font-family: Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.pc-price-val.buy {
    color: var(--green);
}

.pc-price-val.sell {
    color: var(--red);
}

.pc-price-unit {
    font-size: 0.62rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 1px;
}

@media (max-width: 420px) {
    .price-card {
        padding: 12px 13px;
    }
    .pc-head {
        gap: 10px;
    }
    .pc-badge {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 12px;
    }
    .pc-name {
        font-size: 0.84rem;
    }
    .pc-karat {
        font-size: 0.66rem;
    }
    .pc-price-val {
        font-size: 0.98rem;
    }
}


/* Change badge */

.cb {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.cb-up {
    background: var(--ok-bg);
    color: var(--green);
    border: 1px solid var(--ok-border);
}

.cb-down {
    background: var(--danger-bg);
    color: var(--red);
    border: 1px solid var(--danger-border);
}

.cb-flat {
    background: var(--gold-50);
    color: var(--text-muted);
    border: 1px solid var(--border);
}


/* ── Desktop: hiện lại bảng, ẩn card ── */

@media (min-width: 640px) {
    .table-wrap {
        display: block;
    }
    .price-cards {
        display: none;
    }
}


/* Table styles (desktop only) */

table.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table thead {
    background: linear-gradient(90deg, var(--gold-50), var(--bg-card));
}

.price-table thead th {
    padding: 14px 22px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1.5px solid var(--border-light);
    text-align: left;
}

.price-table thead th:not(:first-child) {
    text-align: right;
}

.price-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background .18s;
}

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

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

.price-table td {
    padding: 16px 22px;
    vertical-align: middle;
}

.gname {
    display: flex;
    align-items: center;
    gap: 13px;
}

.gbadge {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    flex-shrink: 0;
    background: linear-gradient(145deg, var(--gold-100), var(--gold-300));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 3px 10px rgba(200, 150, 0, 0.2);
    border: 1.5px solid var(--gold-200);
}

.gname-txt strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
}

.gname-txt small {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pc-tbl {
    text-align: right;
}

.pv-buy {
    font-family: Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green);
}

.pv-sell {
    font-family: Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--red);
}

.pu {
    font-size: 0.67rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 700;
}


/* ══════════════════════════════════════════
   NOTICE
══════════════════════════════════════════ */

.notice {
    position: relative;
    z-index: 1;
    margin: 0 var(--px) 20px;
    background: rgba(217, 171, 84, 0.14);
    border: 1.5px solid #c09543;
    border-left: 4px solid var(--gold-400);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.75;
    font-weight: 600;
}

.notice strong {
    color: var(--text-dark);
    font-weight: 800;
}

.notice-contacts {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.notice-contacts a {
    color: var(--text-mid);
    text-decoration: none;
    font-weight: 700;
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */

footer {
    position: relative;
    z-index: 1;
    border-top: 1.5px solid var(--border-light);
    background: var(--bg-card);
    padding: 16px var(--px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 700;
    text-align: center;
}


/* ══════════════════════════════════════════
   MODAL  – bottom sheet trên mobile
══════════════════════════════════════════ */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(60, 42, 13, 0.28);
    backdrop-filter: blur(6px);
    align-items: flex-end;
    /* bottom sheet */
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: linear-gradient(180deg, var(--gold-100) 0%, var(--bg-card) 100%);
    border: 1.5px solid var(--border);
    border-radius: 22px 22px 0 0;
    /* bo góc trên */
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 24px var(--px) 32px;
    box-shadow: var(--shadow-lg);
    animation: slideUp .3s ease;
}


/* Drag handle indicator */

.modal::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 20px;
}

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

.modal-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.modal-title {
    font-family: Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-close {
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.modal-close:active {
    background: var(--gold-100);
}

#login-form {
    display: block;
}

#admin-panel {
    display: none;
}

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

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-mid);
    margin-bottom: 7px;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
    width: 100%;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    /* 1rem prevents iOS zoom */
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold-300);
    box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.12);
}

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

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    border: none;
    border-radius: 12px;
    color: #2b1f10;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
    padding: 14px;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(191, 141, 47, 0.28);
    -webkit-tap-highlight-color: transparent;
}

.btn-primary:active {
    transform: scale(0.98);
}

.err-msg {
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 800;
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    display: none;
}

.admin-add-block {
    background: var(--bg-soft);
    border: 1.5px solid var(--border-light);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}

.admin-add-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-mid);
    margin-bottom: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.btn-add-row {
    margin-top: 12px;
    background: var(--gold-100);
    border: 1.5px solid var(--gold-300);
    border-radius: 10px;
    color: var(--gold-600);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 10px 20px;
    cursor: pointer;
    transition: all .2s;
    -webkit-tap-highlight-color: transparent;
}

.btn-add-row:active {
    background: var(--gold-200);
}

.admin-update-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-mid);
    margin-bottom: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.admin-item {
    background: var(--bg-soft);
    border: 1.5px solid var(--border-light);
    border-radius: 13px;
    padding: 14px;
    margin-bottom: 10px;
}

.admin-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ai-name {
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.btn-delete {
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    border-radius: 7px;
    color: var(--red);
    padding: 5px 12px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    font-family: Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

.btn-logout {
    margin-top: 10px;
    width: 100%;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    padding: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: Arial, sans-serif;
    font-weight: 700;
}


/* ── Toast ── */

.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ok-bg);
    border: 1.5px solid var(--ok-border);
    color: var(--green);
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 800;
    z-index: 9999;
    opacity: 0;
    transition: opacity .3s;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    max-width: calc(100vw - 32px);
    text-align: center;
}

.toast.show {
    opacity: 1;
}


/* ══════════════════════════════════════════
   DESKTOP overrides (≥ 640px)
══════════════════════════════════════════ */

@media (min-width: 640px) {
     :root {
        --px: clamp(24px, 5vw, 64px);
    }
    header {
        height: 70px;
    }
    .shop-name {
        font-size: 1.25rem;
    }
    .shop-sub {
        font-size: 0.67rem;
    }
    .logo-gem {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    .btn-admin {
        font-size: 0.82rem;
        padding: 8px 18px;
    }
    .hero {
        padding: 40px var(--px) 28px;
    }
    .hero-title {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
    }
    .hero-date-block {
        display: inline-flex;
    }
    .stats-section {
        padding: 20px var(--px) 0;
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
    .stat-card {
        padding: 20px 22px;
    }
    .sc-value {
        font-size: 1.5rem;
    }
    .price-section {
        padding: 24px var(--px) 40px;
    }
    .table-wrap {
        background: var(--bg-card);
        border: 1.5px solid var(--border);
        border-radius: 18px;
        overflow: hidden;
        box-shadow: var(--shadow-md);
    }
    .notice {
        margin: 0 var(--px) 32px;
    }
    footer {
        flex-direction: row;
        justify-content: space-between;
        padding: 22px var(--px);
        text-align: left;
    }
    /* Modal centered on desktop */
    .modal-overlay {
        align-items: center;
    }
    .modal {
        border-radius: 22px;
        width: min(640px, 96vw);
        padding: 34px;
        animation: mUp .28s ease;
    }
    .modal::before {
        display: none;
    }
    @keyframes mUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .toast {
        bottom: 28px;
    }
    .stat-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }
    .btn-admin:hover {
        background: var(--gold-100);
        border-color: var(--gold-400);
        box-shadow: var(--shadow-sm);
        transform: translateY(-1px);
    }
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(191, 141, 47, 0.42);
    }
    .btn-primary:active {
        transform: none;
    }
    .form-row {
        gap: 14px;
    }
    .form-group input,
    .form-group select {
        font-size: 0.9rem;
        padding: 11px 14px;
    }
}