@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --pink: #F8BBD0;
    --pink-dark: #7B1E3A;
    --pink-soft: #FCE4EC;
    --burgundy: #7B1E3A;
    --burgundy-dark: #5A1228;
    --burgundy-deep: #3A0E1E;
    --cream: #FFF8FB;
    --text: #2C1A22;
    --text-muted: #6B5560;
    --border: #F0D9E3;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(123,30,58,0.06);
    --shadow-md: 0 4px 16px rgba(123,30,58,0.08);
    --shadow-lg: 0 12px 32px rgba(123,30,58,0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #FDF7FA;
    color: var(--text);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    line-height: 1.65;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, iframe, table {
    max-width: 100%;
    height: auto;
}

/* ============== NAVBAR ============== */
.navbar {
    background: var(--burgundy);
    color: white;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 64px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 8px;
    width: 100%;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    color: #fff;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
}
.navbar-menu {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 0;
}
.navbar-menu a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}
.navbar-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.navbar-menu a.active {
    background: var(--pink-dark);
    color: #fff;
    font-weight: 600;
}

/* ============== CONTAINER ============== */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 32px auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 900px;
    width: 100%;
    margin: 32px auto;
    padding: 0 24px;
}

@media (min-width: 1400px) {
    .container { max-width: 1280px; }
    .container-narrow { max-width: 1000px; }
}

/* ============== CARD ============== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.card:hover {
    box-shadow: var(--shadow-md);
}
.card h2, .card h3 {
    color: var(--burgundy);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
}
.card h2 { font-size: 1.35rem; }
.card h3 { font-size: 1.1rem; }

/* ============== FORM ============== */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--burgundy);
    font-size: 0.85rem;
    letter-spacing: 0.2px;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    background: #FDFAFB;
    transition: all 0.2s;
    color: var(--text);
}
.form-control:focus {
    outline: none;
    border-color: var(--pink-dark);
    background: white;
    box-shadow: 0 0 0 3px rgba(123,30,58,0.12);
}
.form-control::placeholder { color: #B8A5AE; }
textarea.form-control { resize: vertical; min-height: 80px; }

/* ============== BUTTONS ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 1.2;
}
.btn-primary { background: var(--pink-dark); color: white; }
.btn-primary:hover { background: var(--burgundy-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(123,30,58,0.35); }
.btn-secondary { background: var(--burgundy); color: white; }
.btn-secondary:hover { background: var(--burgundy-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(123,30,58,0.25); }
.btn-danger { background: #D32F2F; color: white; }
.btn-danger:hover { background: #B71C1C; }
.btn-warning { background: #E67E22; color: white; }
.btn-warning:hover { background: #D35400; }
.btn-success { background: #2E7D32; color: white; }
.btn-success:hover { background: #1B5E20; }
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--pink-dark);
    color: var(--pink-dark);
}
.btn-outline:hover { background: var(--pink-dark); color: white; }
.btn-sm { padding: 7px 12px; font-size: 0.78rem; border-radius: 6px; }
.btn-block { display: flex; width: 100%; }

/* ============== ALERT ============== */
.alert {
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 0.88rem;
    font-weight: 500;
    border-left: 3px solid;
    line-height: 1.5;
}
.alert-success { background: #EAF7EC; color: #1B5E20; border-color: #2E7D32; }
.alert-danger  { background: #FDECEC; color: #B71C1C; border-color: #D32F2F; }
.alert-info    { background: #EAF3FB; color: #0D47A1; border-color: #1976D2; }
.alert-warning { background: #FEF6E7; color: #A66100; border-color: #E67E22; }

/* ============== TABLE ============== */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    min-width: 600px;
    background: white;
}
table th, table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
table th {
    background: #FBF4F7;
    color: var(--burgundy);
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: #FDF7FA; }

/* ============== BADGE ============== */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: capitalize;
}
.badge-success { background: #DCF0DD; color: #1B5E20; }
.badge-danger  { background: #FBDCDC; color: #B71C1C; }
.badge-warning { background: #FCEBCF; color: #A66100; }
.badge-info    { background: #D7E8F7; color: #0D47A1; }
.badge-secondary { background: #E8E2E5; color: #5A4550; }

/* ============== SLOT ANTRIAN ============== */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.slot {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.slot:hover:not(.full) {
    border-color: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123,30,58,0.15);
}
.slot.selected {
    border-color: var(--burgundy);
    background: var(--pink-soft);
    box-shadow: 0 0 0 3px rgba(123,30,58,0.1);
}
.slot.full {
    background: #F5F0F2;
    border-color: #E8E2E5;
    cursor: not-allowed;
    opacity: 0.6;
}
.slot .jam {
    font-weight: 700;
    color: var(--burgundy);
    font-size: 0.9rem;
    letter-spacing: -0.2px;
    line-height: 1.3;
}
.slot .status {
    font-size: 0.7rem;
    margin-top: 6px;
    color: #2E7D32;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.slot.full .jam { color: #8B7A82; }
.slot.full .status { color: #B71C1C; }

/* ============== GRID ============== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ============== STAT CARD ============== */
.stat {
    background: white;
    padding: 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-left: 4px solid var(--pink-dark);
    transition: transform 0.2s;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat .num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--burgundy);
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 6px;
    letter-spacing: 0.2px;
}

/* ============== DETAIL TICKET ============== */
.ticket {
    background: linear-gradient(135deg, var(--burgundy) 0%, #A83254 100%);
    color: white;
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.ticket .no {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 8px 0;
    line-height: 1;
}
.ticket .info { font-size: 0.9rem; opacity: 0.92; font-weight: 500; }
.ticket hr {
    border: none;
    border-top: 1px dashed rgba(255,255,255,0.35);
    margin: 18px 0;
}

/* ============== EMPTY STATE ============== */
.empty-state {
    text-align: center;
    padding: 36px 20px;
    color: var(--text-muted);
}
.empty-state p { margin-bottom: 16px; font-size: 0.92rem; }

/* ============== PAGE HEAD ============== */
.page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}
.page-head h2 {
    color: var(--burgundy);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* ============================================================
   HERO (HALAMAN DEPAN)
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 80px 24px 60px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.55) 100%),
                url('Kantor.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    width: 100%;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    max-width: 640px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 170px;
}

.hero-btn-primary {
    background: #fff;
    color: var(--burgundy);
}
.hero-btn-primary:hover {
    background: var(--pink);
    color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}

.hero-btn-outline {
    background: rgba(0,0,0,0.3);
    color: #fff;
    border-color: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
}
.hero-btn-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ============== CTA INLINE (BOX BAWAH KONTEN) ============== */
.cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding: 20px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FDF9FA 0%, #F9EEF1 100%);
    border: 1px solid var(--border);
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.cta-inline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--burgundy);
    border-radius: 4px 0 0 4px;
}
.cta-inline-text {
    flex: 1 1 260px;
    min-width: 0;
}
.cta-inline-text strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 3px;
}
.cta-inline-text span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.cta-inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--burgundy);
    color: #fff;
    box-shadow: 0 6px 16px rgba(123,30,58,0.25);
    white-space: nowrap;
    transition: all 0.25s;
}
.cta-inline-btn:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(123,30,58,0.4);
}

/* ============================================================
   SECTION "UPDATE & PROMO TERBARU" (CTA FULL WIDTH)
   + SOSMED BUTTONS
   ============================================================ */
.cta-fullwidth {
    width: 100%;
    background: var(--burgundy);       /* ← SOLID, SAMA DENGAN FOOTER */
    color: #fff;
    padding: 60px 24px 50px;
    margin-top: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-fullwidth-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-decor-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(248,187,208,0.08) 0%, transparent 65%);
    top: -250px;
    right: -150px;
}

.cta-decor-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%);
    bottom: -180px;
    left: -120px;
}

.cta-fullwidth-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pink);
    padding: 7px 18px;
    border: 1px solid rgba(248,187,208,0.35);
    border-radius: 24px;
    margin-bottom: 20px;
    background: rgba(248,187,208,0.08);
    backdrop-filter: blur(10px);
}

.cta-fullwidth-title {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-fullwidth .cta-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ============== SOSMED LINKS ============== */
.sosmed-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.sosmed-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
}

.sosmed-btn svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.sosmed-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   FOOTER (WARNA SAMA DENGAN CTA-FULLWIDTH)
   ============================================================ */
.site-footer {
    background: var(--burgundy);       /* ← SOLID, SAMA */
    color: rgba(255,255,255,0.85);
    text-align: center;
    padding: 28px 20px 24px;
    margin-top: 0;
    border-top: none;
    width: 100%;
}

.site-footer .footer-copy {
    margin: 0 0 6px 0;
    color: rgba(255,255,255,0.72);
    font-size: 0.85rem;
    line-height: 1.7;
}

.site-footer .footer-copy strong {
    color: var(--pink);
    font-weight: 700;
}

.site-footer .footer-link {
    margin: 0;
}

.site-footer .footer-link a {
    color: var(--pink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: color 0.2s ease;
    border-bottom: 1px dashed rgba(248,187,208,0.5);
    padding-bottom: 1px;
}

.site-footer .footer-link a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    border-bottom-style: solid;
}

/* ============================================================
   LOGIN / REGISTER / FORGOT PASSWORD PAGE
   ============================================================ */

body.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(160deg, #3A0E1E 0%, #7B1E3A 45%, #A83254 100%);
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: #fff;
    border-radius: 18px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.login-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-weight: 800;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(123,30,58,0.35);
    letter-spacing: -1px;
}

.login-card h1 {
    color: var(--burgundy);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.login-sub {
    color: #6B5560;
    font-size: 0.85rem;
    margin-bottom: 26px;
    font-weight: 400;
    line-height: 1.55;
}

.login-card label {
    display: block;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.login-card input,
.login-card textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #F0D9E3;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    background: #FDFAFB;
    margin-bottom: 18px;
    transition: 0.2s;
    color: #2C1A22;
    resize: vertical;
}

.login-card textarea {
    min-height: 70px;
}

.login-card input:focus,
.login-card textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123,30,58,0.12);
}

.login-card input::placeholder,
.login-card textarea::placeholder {
    color: #B8A5AE;
}

.login-card button {
    width: 100%;
    padding: 13px;
    background: var(--burgundy);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 4px;
    letter-spacing: 0.2px;
}

.login-card button:hover {
    background: var(--burgundy-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(123,30,58,0.3);
}

.login-card button:active {
    transform: translateY(0);
}

.login-card .error,
.login-error {
    background: #FDECEC;
    color: #B71C1C;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 18px;
    border-left: 3px solid #D32F2F;
    text-align: left;
    font-weight: 500;
    line-height: 1.5;
}

.login-success {
    background: #EAF7EC;
    color: #1B5E20;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 18px;
    border-left: 3px solid #2E7D32;
    text-align: left;
    font-weight: 500;
    line-height: 1.5;
}

.login-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #F0D9E3;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.login-footer a {
    color: var(--burgundy);
    font-size: 0.83rem;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.login-footer a:hover {
    color: var(--pink-dark);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
    body { font-size: 14px; }
    .navbar {
        padding: 0 14px;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
    }
    .navbar-brand {
        padding: 14px 0 4px;
        justify-content: center;
        font-size: 0.95rem;
    }
    .navbar-menu {
        padding: 6px 0 12px;
        justify-content: center;
        gap: 2px;
    }
    .navbar-menu a {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .container {
        margin: 20px auto;
        padding: 0 16px;
    }
    .container-narrow {
        margin: 20px auto;
        padding: 0 16px;
    }

    .card { padding: 20px; border-radius: var(--radius-sm); }
    .card h2 { font-size: 1.15rem; }
    .card h3 { font-size: 1rem; }

    .hero {
        min-height: 420px;
        padding: 60px 18px 50px;
    }
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 0.9rem; }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hero-btn {
        width: 100%;
        min-width: 0;
    }

    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 14px; }
    .slot-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
    .slot { padding: 12px 8px; }
    .slot .jam { font-size: 0.85rem; }
    .slot .status { font-size: 0.68rem; }
    .stat { padding: 18px; }
    .stat .num { font-size: 1.6rem; }
    .ticket .no { font-size: 2.6rem; }
    table { font-size: 0.8rem; min-width: 520px; }
    table th, table td { padding: 10px 8px; }
    .btn { padding: 10px 16px; font-size: 0.85rem; }
    .page-head h2 { font-size: 1.15rem; }

    /* CTA inline mobile */
    .cta-inline {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 18px;
    }
    .cta-inline-btn {
        width: 100%;
        justify-content: center;
    }

    /* CTA fullwidth mobile */
    .cta-fullwidth {
        padding: 48px 18px 40px;
    }
    .cta-fullwidth-title {
        font-size: 1.35rem;
    }
    .cta-fullwidth .cta-text {
        font-size: 0.88rem;
        margin-bottom: 22px;
    }
    .sosmed-links {
        gap: 8px;
    }
    .sosmed-btn {
        padding: 10px 14px;
        font-size: 0.82rem;
        flex: 0 0 auto;
    }

    /* Footer mobile */
    .site-footer {
        padding: 24px 16px 20px;
    }
    .site-footer .footer-copy {
        font-size: 0.8rem;
    }
    .site-footer .footer-link a {
        font-size: 0.83rem;
    }

    /* Login / Register / Forgot Password */
    .login-card { padding: 32px 24px; border-radius: 14px; }
    .login-logo { width: 56px; height: 56px; font-size: 1.4rem; }
    .login-card h1 { font-size: 1.15rem; }
    .login-sub { font-size: 0.8rem; margin-bottom: 22px; }
    .login-card input,
    .login-card textarea,
    .login-card button { padding: 12px 14px; font-size: 0.88rem; }
    .login-footer { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .container-narrow { padding: 0 14px; }
    .card { padding: 16px; }
    .slot-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 1.5rem; }
    .hero-desc { font-size: 0.85rem; }
    .site-footer {
        padding: 22px 12px 18px;
    }
    .sosmed-links {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .sosmed-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ============================================================
   JADWAL ACCORDION (admin/jadwal.php)
   ============================================================ */
.jadwal-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jadwal-group {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(123, 30, 58, 0.05);
}

.jadwal-group.open {
    border-color: var(--burgundy);
    box-shadow: 0 6px 20px rgba(123, 30, 58, 0.1);
}

/* Header accordion */
.jadwal-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: #FDF9FA;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    transition: background 0.2s;
    margin: 0;
    color: var(--burgundy);
}

.jadwal-head:hover {
    background: #FCE4EC;
}

.jadwal-group.open .jadwal-head {
    background: var(--burgundy);
    color: #fff;
}

.jadwal-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.jadwal-head-icon {
    width: 26px;
    height: 26px;
    background: var(--burgundy);
    color: #fff;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.2s;
}

.jadwal-group.open .jadwal-head-icon {
    transform: rotate(90deg);
    background: rgba(255,255,255,0.25);
}

.jadwal-head-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.jadwal-head-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.1px;
    line-height: 1.2;
    color: inherit;
}

.jadwal-head-sub {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.75;
    line-height: 1.3;
}

.jadwal-head-right {
    flex-shrink: 0;
}

.jadwal-head-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--burgundy);
    color: #fff;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    min-width: 32px;
    text-align: center;
    transition: all 0.2s;
}

.jadwal-group.open .jadwal-head-badge {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* Body accordion (hide by default) */
.jadwal-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
    background: #fff;
}

.jadwal-group.open .jadwal-body {
    max-height: 5000px;      /* cukup besar supaya bisa memuat banyak baris */
    padding: 16px 20px 20px;
    overflow-y: auto;
}

/* Table di dalam accordion */
.jadwal-body .table-wrap {
    border-radius: 10px;
}

.jadwal-body table {
    min-width: 100%;
    margin: 0;
}

/* Status terisi */
.jadwal-terisi {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.jadwal-terisi-kosong    { background: #DCF0DD; color: #1B5E20; }
.jadwal-terisi-sebagian  { background: #FCEBCF; color: #A66100; }
.jadwal-terisi-penuh     { background: #FBDCDC; color: #B71C1C; }

/* Responsive: HP */
@media (max-width: 768px) {
    .jadwal-head {
        padding: 14px 16px;
        gap: 10px;
    }
    .jadwal-head-title {
        font-size: 0.9rem;
    }
    .jadwal-head-sub {
        font-size: 0.72rem;
    }
    .jadwal-head-icon {
        width: 22px;
        height: 22px;
    }
    .jadwal-head-badge {
        font-size: 0.72rem;
        padding: 3px 10px;
        min-width: 28px;
    }
    .jadwal-body {
        padding: 0 12px;
    }
    .jadwal-group.open .jadwal-body {
        padding: 12px 12px 16px;
    }
    .jadwal-body table th,
    .jadwal-body table td {
        padding: 10px 8px;
        font-size: 0.82rem;
    }
}

/* ============================================================
   BANNER ANTRIAN SUDAH ADA (user/ambil-antrian.php)
   ============================================================ */
.antrian-info-banner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    border: 1px solid #F0C14B;
    border-left: 4px solid #F0A500;
    border-radius: 14px;
    margin-bottom: 20px;
}

.antrian-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #F0A500;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(240, 165, 0, 0.3);
}

.antrian-info-text {
    flex: 1;
    min-width: 0;
}

.antrian-info-text strong {
    display: block;
    color: #7A5200;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.antrian-info-text span {
    display: block;
    color: #8A6300;
    font-size: 0.85rem;
    line-height: 1.55;
}

.antrian-info-text span strong {
    display: inline;
    color: #7A5200;
    font-weight: 700;
}

/* Kotak detail antrian */
.antrian-detail-box {
    background: #FDF9FA;
    border: 1.5px dashed var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 8px;
}

.antrian-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px dashed var(--border);
}

.antrian-detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.antrian-detail-no {
    font-size: 2rem;
    font-weight: 800;
    color: var(--burgundy);
    letter-spacing: -0.5px;
    line-height: 1;
}

.antrian-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.antrian-detail-key {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.antrian-detail-val {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

/* Responsive HP */
@media (max-width: 480px) {
    .antrian-info-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }
    .antrian-info-icon {
        width: 40px;
        height: 40px;
    }
    .antrian-detail-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .antrian-detail-no {
        font-size: 1.7rem;
    }
}

/* ============================================================
   REKAP ABSEN (admin/rekap-absen.php)
   ============================================================ */
.rekap-filter {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.rekap-filter-item {
    min-width: 0;
}

.rekap-filter-item label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.rekap-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.rekap-periode {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--burgundy);
    letter-spacing: -0.2px;
    padding: 8px 16px;
    background: var(--pink-soft);
    border-radius: 20px;
    white-space: nowrap;
}

/* Stat grid untuk rekap */
.stat-grid-item {
    background: #fff;
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-left: 4px solid var(--burgundy);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-grid-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--burgundy);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.stat-grid-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .rekap-filter {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .rekap-filter-item:last-child {
        grid-column: 1 / -1;
    }
    .rekap-filter-item:last-child .btn {
        width: 100%;
    }
    .rekap-nav {
        flex-direction: column;
        gap: 8px;
    }
    .rekap-nav .btn {
        width: 100%;
        text-align: center;
    }
    .rekap-periode {
        order: -1;
        text-align: center;
        width: 100%;
    }
    .stat-grid[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .stat-grid-item {
        padding: 14px;
    }
    .stat-grid-value {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .rekap-filter {
        grid-template-columns: 1fr;
    }
    .stat-grid[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
    }
}

/* ============================================================
   BOM / PANDUAN PRODUK
   ============================================================ */

/* Grid kartu panduan (halaman user) */
.panduan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.panduan-card {
    display: block;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(123, 30, 58, 0.04);
}

.panduan-card:hover {
    transform: translateY(-4px);
    border-color: var(--burgundy);
    box-shadow: 0 10px 24px rgba(123, 30, 58, 0.12);
}

.panduan-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FDF9FA;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panduan-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.panduan-img-empty {
    font-size: 3rem;
    opacity: 0.3;
}

.panduan-info {
    padding: 14px 16px;
}

.panduan-sku {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--burgundy);
    letter-spacing: -0.2px;
    margin-bottom: 3px;
}

.panduan-nama {
    font-size: 0.82rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;
}

.panduan-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}

/* Header detail panduan */
.panduan-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 16px;
}

.panduan-header-img {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #FDF9FA;
}

.panduan-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.panduan-header-text {
    flex: 1;
    min-width: 0;
}

.panduan-header-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.panduan-header-sku {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--burgundy);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.panduan-header-nama {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.panduan-catatan {
    margin-top: 14px;
    padding: 14px 16px;
    background: #FDF9FA;
    border-left: 3px solid var(--burgundy);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.6;
}
.panduan-catatan strong {
    color: var(--burgundy);
}

/* Tombol hapus baris material */
.btn-hapus-row {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #FBDCDC;
    color: #B71C1C;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hapus-row:hover {
    background: #D32F2F;
    color: #fff;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .panduan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .panduan-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .panduan-header-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }
    .panduan-header-sku {
        font-size: 1.2rem;
    }
}

/* ============================================================
   BOM HEAD ACTIONS (admin/bom.php & bom-tambah.php)
   ============================================================ */
.bom-head-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .bom-head-actions {
        width: 100%;
    }
    .bom-head-actions .btn {
        flex: 1;
        min-width: 140px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bom-head-actions {
        flex-direction: column;
    }
    .bom-head-actions .btn {
        width: 100%;
    }
}

/* ============================================================
   BOM / PANDUAN PRODUK
   ============================================================ */

/* Grid kartu panduan (halaman user) */
.panduan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.panduan-card {
    display: block;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(123, 30, 58, 0.04);
}

.panduan-card:hover {
    transform: translateY(-4px);
    border-color: var(--burgundy);
    box-shadow: 0 10px 24px rgba(123, 30, 58, 0.12);
}

.panduan-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FDF9FA;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panduan-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.panduan-img-empty {
    font-size: 3rem;
    opacity: 0.3;
}

.panduan-info {
    padding: 14px 16px;
}

.panduan-sku {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--burgundy);
    letter-spacing: -0.2px;
    margin-bottom: 3px;
}

.panduan-nama {
    font-size: 0.82rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;
}

.panduan-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}

/* Header detail panduan */
.panduan-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 16px;
}

.panduan-header-img {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #FDF9FA;
}

.panduan-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.panduan-header-text {
    flex: 1;
    min-width: 0;
}

.panduan-header-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.panduan-header-sku {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--burgundy);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.panduan-header-nama {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.panduan-catatan {
    margin-top: 14px;
    padding: 14px 16px;
    background: #FDF9FA;
    border-left: 3px solid var(--burgundy);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.6;
}
.panduan-catatan strong {
    color: var(--burgundy);
}

/* Tombol hapus baris material */
.btn-hapus-row {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #FBDCDC;
    color: #B71C1C;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hapus-row:hover {
    background: #D32F2F;
    color: #fff;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .panduan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .panduan-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .panduan-header-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }
    .panduan-header-sku {
        font-size: 1.2rem;
    }
}

/* ============================================================
   BOM HEAD ACTIONS (admin/bom.php & bom-tambah.php)
   ============================================================ */
.bom-head-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .bom-head-actions {
        width: 100%;
    }
    .bom-head-actions .btn {
        flex: 1;
        min-width: 140px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bom-head-actions {
        flex-direction: column;
    }
    .bom-head-actions .btn {
        width: 100%;
    }
}

/* ============================================================
   FILTER TABS + SEARCH (admin/users.php)
   ============================================================ */
.filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
    background: #FDF9FA;
}

.filter-tab.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(0,0,0,0.08);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0;
}

.filter-tab.active .filter-count {
    background: rgba(255,255,255,0.25);
}

/* Search form */
.search-form {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-form .search-input {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

/* Tabel Users */
.tabel-users {
    min-width: 700px;
}

@media (max-width: 768px) {
    .filter-tab {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
    .filter-count {
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    .search-form .search-input {
        width: 100%;
        min-width: 0;
    }
    .search-form .btn {
        width: 100%;
    }
}

/* ============================================================
   FILTER TABS + SEARCH (admin/users.php)
   ============================================================ */
.filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
    background: #FDF9FA;
}

.filter-tab.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(0,0,0,0.08);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0;
}

.filter-tab.active .filter-count {
    background: rgba(255,255,255,0.25);
}

/* Search form */
.search-form {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-form .search-input {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

/* Tabel Users */
.tabel-users {
    min-width: 700px;
}

@media (max-width: 768px) {
    .filter-tab {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
    .filter-count {
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    .search-form .search-input {
        width: 100%;
        min-width: 0;
    }
    .search-form .btn {
        width: 100%;
    }
}

/* ============================================================
   BOM HEAD ACTIONS (admin/bom.php)
   ============================================================ */
.bom-head-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .bom-head-actions {
        width: 100%;
    }
    .bom-head-actions .btn {
        flex: 1;
        min-width: 140px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bom-head-actions {
        flex-direction: column;
    }
    .bom-head-actions .btn {
        width: 100%;
    }
}


/* ============================================================
   SEARCH BOM (admin/bom.php)
   ============================================================ */
.bom-search {
    margin-bottom: 18px;
}

.bom-search-input {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bom-search-input:focus-within {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 30, 58, .08);
}

.bom-search-icon {
    flex: 0 0 auto;
    color: #8B7A82;
    font-size: 24px;
    line-height: 1;
}

.bom-search-input input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 12px 0;
    margin: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    box-shadow: none;
}

.bom-search-input input:focus {
    border: 0;
    outline: none;
    box-shadow: none;
}

.bom-search-input input::placeholder {
    color: #A8959D;
}

.bom-search-input input::-webkit-search-cancel-button {
    display: none;
}

.bom-search-input button {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: var(--burgundy);
    cursor: pointer;
    font-family: inherit;
    font-size: 22px;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 6px;
}

.bom-search-input button:hover {
    background: var(--pink-soft);
}

.bom-search-info {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: .78rem;
}

.bom-row-hidden {
    display: none !important;
}

@media (max-width: 600px) {
    .bom-search-input {
        min-height: 44px;
        padding: 0 11px;
    }

    .bom-search-input input {
        font-size: .85rem;
    }
}

```css
/* =========================================================
   LEADERBOARD & INPUT PENGRAJIN
   Tema: Burgundy - Pink
   ========================================================= */

/* ---------- Bobot Leaderboard ---------- */
.leaderboard-weights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 20px;
}

.leaderboard-weights span {
    padding: 7px 12px;
    color: #7B1E3A;
    font-size: 0.8rem;
    background: #FCE4EC;
    border: 1px solid #F0D9E3;
    border-radius: 20px;
}

/* ---------- Nomor Peringkat ---------- */
.leaderboard-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    color: #7B1E3A;
    font-weight: 700;
    background: #F8F0F3;
    border-radius: 10px;
}

.leaderboard-rank-top {
    background: #FCE4EC;
}

/* ---------- Tabel Leaderboard ---------- */
.leaderboard-table {
    min-width: 760px;
}

/* ---------- Form Pengrajin ---------- */
.artisan-add-form,
.artisan-date-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.artisan-date-form {
    margin: 0 0 18px;
}

/* Lebar Input Form */
.artisan-add-form .form-group,
.artisan-date-form .form-group {
    min-width: 220px;
}

/* ---------- Tabel Input Harian ---------- */
.artisan-input-table {
    min-width: 920px;
}

.artisan-input-table .form-control {
    min-width: 115px;
    padding: 9px 10px;
    font-size: 0.84rem;
}

.artisan-input-table td:first-child {
    min-width: 180px;
}

/* =========================================================
   RESPONSIVE - TABLET & MOBILE
   ========================================================= */

@media (max-width: 768px) {
    /* Form menjadi vertikal */
    .artisan-add-form,
    .artisan-date-form {
        flex-direction: column;
        align-items: stretch;
    }

    .artisan-add-form .form-group,
    .artisan-date-form .form-group {
        width: 100%;
        min-width: 0;
    }

    /* Tombol memenuhi lebar layar */
    .artisan-add-form .btn,
    .artisan-date-form .btn {
        width: 100%;
    }

    /* Jarak bobot leaderboard */
    .leaderboard-weights {
        gap: 6px;
    }

    .leaderboard-weights span {
        font-size: 0.74rem;
    }
}

```css
/* =========================================================
   LEADERBOARD & INPUT PENGRAJIN
   ========================================================= */

/* ---------- Bobot Leaderboard ---------- */
.leaderboard-weights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 20px;
}

.leaderboard-weights span {
    padding: 7px 12px;
    color: #7B1E3A;
    font-size: 0.8rem;
    background: #FCE4EC;
    border: 1px solid #F0D9E3;
    border-radius: 20px;
}

/* ---------- Nomor Peringkat ---------- */
.leaderboard-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    color: #7B1E3A;
    font-weight: 700;
    background: #F8F0F3;
    border-radius: 10px;
}

.leaderboard-rank-top {
    background: #FCE4EC;
}

/* ---------- Tabel Leaderboard ---------- */
.leaderboard-table {
    min-width: 760px;
}

/* ---------- Form Pengrajin ---------- */
.artisan-add-form,
.artisan-date-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.artisan-date-form {
    margin: 0 0 18px;
}

.artisan-add-form .form-group,
.artisan-date-form .form-group {
    min-width: 220px;
}

/* ---------- Tabel Input Harian ---------- */
.artisan-input-table {
    min-width: 920px;
}

.artisan-input-table .form-control {
    min-width: 115px;
    padding: 9px 10px;
    font-size: 0.84rem;
}

.artisan-input-table td:first-child {
    min-width: 180px;
}

/* =========================================================
   RESPONSIVE - TABLET & MOBILE
   ========================================================= */

@media (max-width: 768px) {
    /* Form disusun vertikal */
    .artisan-add-form,
    .artisan-date-form {
        flex-direction: column;
        align-items: stretch;
    }

    .artisan-add-form .form-group,
    .artisan-date-form .form-group {
        width: 100%;
        min-width: 0;
    }

    /* Tombol memenuhi lebar layar */
    .artisan-add-form .btn,
    .artisan-date-form .btn {
        width: 100%;
    }

    /* Bobot leaderboard */
    .leaderboard-weights {
        gap: 6px;
    }

    .leaderboard-weights span {
        font-size: 0.74rem;
    }
}


/* Jarak tabel leaderboard di dashboard user */
#leaderboard .table-wrap {
    margin: 14px 3px 0;
    width: calc(100% - 6px);
    box-sizing: border-box;
}

#leaderboard .leaderboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #f0d3df;
    border-radius: 8px;
    overflow: hidden;
}

#leaderboard .leaderboard-table th,
#leaderboard .leaderboard-table td {
    padding: 14px 16px;
}

@media (max-width: 600px) {
    #leaderboard .table-wrap {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        overflow-x: auto;
    }

    #leaderboard .leaderboard-table th,
    #leaderboard .leaderboard-table td {
        padding: 12px 10px;
        white-space: nowrap;
    }
}

/* Mahkota di atas foto pengrajin peringkat 1 */
.artisan-podium-item.podium-first .artisan-podium-photo-wrap {
    position: relative;
    margin-top: 30px;
}

.artisan-podium-item.podium-first .artisan-podium-photo-wrap::before {
    content: "👑";
    position: absolute;
    top: -39px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    font-size: 38px;
    line-height: 1;
    filter: drop-shadow(0 3px 3px rgba(123, 30, 58, 0.18));
}

/* Ukuran mahkota di layar HP */
@media (max-width: 600px) {
    .artisan-podium-item.podium-first .artisan-podium-photo-wrap::before {
        top: -30px;
        font-size: 29px;
    }
}


/* =========================================================
   PODIUM LEADERBOARD PENGRAJIN
   ========================================================= */
.artisan-podium-section {
    overflow: hidden;
}

.artisan-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 18px;
    max-width: 760px;
    margin: 28px auto 8px;
    padding: 12px 8px 4px;
}

.artisan-podium-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 10px;
    border: 1px solid #f0d8e1;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffafb 0%, #fff 100%);
}

.artisan-podium-item.podium-first {
    padding-top: 22px;
    padding-bottom: 24px;
    border-color: #e7b9ca;
    box-shadow: 0 8px 24px rgba(123, 30, 58, .10);
    transform: translateY(-14px);
}

.artisan-podium-photo-wrap {
    position: relative;
    width: 108px;
    height: 108px;
    margin-bottom: 10px;
}

.podium-first .artisan-podium-photo-wrap {
    width: 132px;
    height: 132px;
}

.artisan-podium-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f6dce6;
    background: #fbedf2;
}

.podium-first .artisan-podium-photo {
    border-color: #d9a5b8;
}

.artisan-podium-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #7b1e3a;
    font-size: 42px;
    font-weight: 800;
}

.podium-first .artisan-podium-fallback {
    font-size: 52px;
}

.artisan-podium-medal {
    position: absolute;
    right: -4px;
    bottom: -3px;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fde7ef;
    border: 2px solid #fff;
    font-size: 19px;
}

.artisan-podium-rank {
    color: #7b1e3a;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}

.podium-first .artisan-podium-rank {
    font-size: 34px;
}

.artisan-podium-name {
    display: block;
    width: 100%;
    margin-top: 5px;
    color: #39252d;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.artisan-podium-score {
    margin-top: 8px;
    color: #7b1e3a;
    font-size: 12px;
    font-weight: 700;
}

.artisan-podium-stats {
    margin-top: 5px;
    color: #806d76;
    font-size: 11px;
    line-height: 1.5;
}

.artisan-podium-note {
    margin-top: 18px;
    font-size: 12px;
}

.artisan-podium-more {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0d8e1;
}

.artisan-podium-more summary {
    color: #7b1e3a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 600px) {
    .artisan-podium {
        gap: 8px;
        margin-top: 20px;
        padding-left: 0;
        padding-right: 0;
    }

    .artisan-podium-item {
        padding: 12px 5px;
        border-radius: 12px;
    }

    .artisan-podium-item.podium-first {
        padding: 15px 5px 18px;
        transform: translateY(-8px);
    }

    .artisan-podium-photo-wrap {
        width: 72px;
        height: 72px;
    }

    .podium-first .artisan-podium-photo-wrap {
        width: 88px;
        height: 88px;
    }

    .artisan-podium-photo {
        border-width: 3px;
    }

    .artisan-podium-medal {
        width: 27px;
        height: 27px;
        font-size: 15px;
    }

    .artisan-podium-rank {
        font-size: 23px;
    }

    .podium-first .artisan-podium-rank {
        font-size: 28px;
    }

    .artisan-podium-name {
        font-size: 11px;
    }

    .artisan-podium-score,
    .artisan-podium-stats {
        font-size: 10px;
    }
}


/* =========================================================
   PODIUM LEADERBOARD PENGRAJIN
   ========================================================= */
.artisan-podium-section {
    overflow: hidden;
}

.artisan-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 18px;
    max-width: 760px;
    margin: 28px auto 8px;
    padding: 12px 8px 4px;
}

.artisan-podium-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 10px;
    border: 1px solid #f0d8e1;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffafb 0%, #fff 100%);
}

.artisan-podium-item.podium-first {
    padding-top: 22px;
    padding-bottom: 24px;
    border-color: #e7b9ca;
    box-shadow: 0 8px 24px rgba(123, 30, 58, .10);
    transform: translateY(-14px);
}

.artisan-podium-photo-wrap {
    position: relative;
    width: 108px;
    height: 108px;
    margin-bottom: 10px;
}

.podium-first .artisan-podium-photo-wrap {
    width: 132px;
    height: 132px;
}

.artisan-podium-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f6dce6;
    background: #fbedf2;
}

.podium-first .artisan-podium-photo {
    border-color: #d9a5b8;
}

.artisan-podium-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #7b1e3a;
    font-size: 42px;
    font-weight: 800;
}

.podium-first .artisan-podium-fallback {
    font-size: 52px;
}

.artisan-podium-medal {
    position: absolute;
    right: -4px;
    bottom: -3px;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fde7ef;
    border: 2px solid #fff;
    font-size: 19px;
}

.artisan-podium-rank {
    color: #7b1e3a;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}

.podium-first .artisan-podium-rank {
    font-size: 34px;
}

.artisan-podium-name {
    display: block;
    width: 100%;
    margin-top: 5px;
    color: #39252d;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.artisan-podium-score {
    margin-top: 8px;
    color: #7b1e3a;
    font-size: 12px;
    font-weight: 700;
}

.artisan-podium-stats {
    margin-top: 5px;
    color: #806d76;
    font-size: 11px;
    line-height: 1.5;
}

.artisan-podium-note {
    margin-top: 18px;
    font-size: 12px;
}

.artisan-podium-more {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0d8e1;
}

.artisan-podium-more summary {
    color: #7b1e3a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 600px) {
    .artisan-podium {
        gap: 8px;
        margin-top: 20px;
        padding-left: 0;
        padding-right: 0;
    }

    .artisan-podium-item {
        padding: 12px 5px;
        border-radius: 12px;
    }

    .artisan-podium-item.podium-first {
        padding: 15px 5px 18px;
        transform: translateY(-8px);
    }

    .artisan-podium-photo-wrap {
        width: 72px;
        height: 72px;
    }

    .podium-first .artisan-podium-photo-wrap {
        width: 88px;
        height: 88px;
    }

    .artisan-podium-photo {
        border-width: 3px;
    }

    .artisan-podium-medal {
        width: 27px;
        height: 27px;
        font-size: 15px;
    }

    .artisan-podium-rank {
        font-size: 23px;
    }

    .podium-first .artisan-podium-rank {
        font-size: 28px;
    }

    .artisan-podium-name {
        font-size: 11px;
    }

    .artisan-podium-score,
    .artisan-podium-stats {
        font-size: 10px;
    }
}

/* Tambahkan di BARIS PALING BAWAH assets/css/landing.css */

/* Kartu peringkat 2 dan 3 dibuat lebih besar */
#leaderboard .artisan-podium-item.podium-second,
#leaderboard .artisan-podium-item.podium-third {
    padding: 27px 18px 22px;
    min-height: 350px;
}

#leaderboard .artisan-podium-item.podium-second .artisan-podium-photo-wrap,
#leaderboard .artisan-podium-item.podium-third .artisan-podium-photo-wrap {
    width: 94px;
    height: 94px;
    margin-bottom: 16px;
}

#leaderboard .artisan-podium-item.podium-second .artisan-podium-photo,
#leaderboard .artisan-podium-item.podium-third .artisan-podium-photo {
    width: 100%;
    height: 100%;
}

#leaderboard .artisan-podium-item.podium-second .artisan-podium-name,
#leaderboard .artisan-podium-item.podium-third .artisan-podium-name {
    font-size: 1.05rem;
}

#leaderboard .artisan-podium-item.podium-second .artisan-podium-score,
#leaderboard .artisan-podium-item.podium-third .artisan-podium-score {
    font-size: 1.05rem;
}

/* Tetap proporsional di layar HP */
@media (max-width: 700px) {
    #leaderboard .artisan-podium-item.podium-second,
    #leaderboard .artisan-podium-item.podium-third {
        padding: 17px 8px 14px;
        min-height: 0;
    }

    #leaderboard .artisan-podium-item.podium-second .artisan-podium-photo-wrap,
    #leaderboard .artisan-podium-item.podium-third .artisan-podium-photo-wrap {
        width: 68px;
        height: 68px;
        margin-bottom: 10px;
    }
}


/* =========================================
   LEADERBOARD — TROPHY EDITION
   ========================================= */

/* Juara 1: emas */
.artisan-podium-item.podium-first {
    background: linear-gradient(180deg, #fff8e5 0%, #ffffff 100%);
    border: 2px solid #d6a33d;
    box-shadow: 0 12px 28px rgba(214, 163, 61, 0.20);
}

/* Juara 2: perak, kartu diperbesar */
.artisan-podium-item.podium-second {
    padding: 24px 14px;
    background: linear-gradient(180deg, #f1f3f6 0%, #ffffff 100%);
    border: 2px solid #aab2bd;
    box-shadow: 0 8px 22px rgba(120, 130, 145, 0.15);
}

/* Juara 3: perunggu, kartu diperbesar */
.artisan-podium-item.podium-third {
    padding: 22px 14px;
    background: linear-gradient(180deg, #fff0e5 0%, #ffffff 100%);
    border: 2px solid #b87950;
    box-shadow: 0 8px 22px rgba(184, 121, 80, 0.15);
}

/* Piala pada setiap kartu */
.artisan-podium-medal {
    width: 40px;
    height: 40px;
    font-size: 23px;
    background: #fff;
    border: 2px solid #ead9df;
    box-shadow: 0 3px 8px rgba(60, 20, 35, 0.10);
}

/* Warna piala sesuai peringkat */
.podium-first .artisan-podium-medal {
    background: #fff0bd;
    border-color: #d6a33d;
}

.podium-second .artisan-podium-medal {
    background: #edf0f4;
    border-color: #aab2bd;
}

.podium-third .artisan-podium-medal {
    background: #f9e1d0;
    border-color: #b87950;
}

/* Foto profil mengikuti warna peringkat */
.podium-second .artisan-podium-photo {
    border-color: #aab2bd;
}

.podium-third .artisan-podium-photo {
    border-color: #b87950;
}

/* Kartu juara 2 dan 3 lebih tinggi */
.podium-second,
.podium-third {
    min-height: 300px;
    justify-content: center;
}

.podium-first {
    min-height: 330px;
}

/* Responsif untuk HP */
@media (max-width: 600px) {
    .artisan-podium {
        gap: 7px;
    }

    .artisan-podium-item.podium-first {
        min-height: 285px;
        padding: 18px 5px;
    }

    .artisan-podium-item.podium-second {
        min-height: 260px;
        padding: 18px 5px;
    }

    .artisan-podium-item.podium-third {
        min-height: 250px;
        padding: 16px 5px;
    }

    .artisan-podium-medal {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}


/* Juara 1 menjadi kartu paling besar */
.artisan-podium-item.podium-first {
    transform: translateY(-18px) scale(1.10);
    transform-origin: center bottom;
    position: relative;
    z-index: 2;
    min-height: 350px;
    padding: 28px 18px 30px;
    border-width: 2px;
    border-color: #D6A33D;
    border-radius: 18px;
    background: linear-gradient(
        180deg,
        #FFF5D9 0%,
        #FFFFFF 100%
    );
    box-shadow: 0 14px 32px rgba(214, 163, 61, 0.22);
}

/* Foto juara 1 lebih besar */
.artisan-podium-item.podium-first .artisan-podium-photo-wrap {
    width: 145px;
    height: 145px;
    margin-bottom: 12px;
}

/* Nomor peringkat lebih besar */
.artisan-podium-item.podium-first .artisan-podium-rank {
    font-size: 40px;
    line-height: 1.1;
}

/* Piala juara 1 lebih besar */
.artisan-podium-item.podium-first .artisan-podium-medal {
    width: 44px;
    height: 44px;
    font-size: 26px;
    background: #FFF0BD;
    border-color: #D6A33D;
}

/* Ukuran khusus HP */
@media (max-width: 600px) {
    .artisan-podium-item.podium-first {
        transform: translateY(-10px) scale(1.04);
        min-height: 290px;
        padding: 20px 5px 22px;
    }

    .artisan-podium-item.podium-first .artisan-podium-photo-wrap {
        width: 88px;
        height: 88px;
    }

    .artisan-podium-item.podium-first .artisan-podium-rank {
        font-size: 30px;
    }

    .artisan-podium-item.podium-first .artisan-podium-medal {
        width: 32px;
        height: 32px;
        font-size: 19px;
    }
}

.artisan-podium-note {
    max-width: 760px;
    margin: 18px auto 4px;
    text-align: center;
    color: #806d76;
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .artisan-podium-note {
        margin-top: 14px;
        font-size: 11px;
    }
}

/* =========================================================
   LEADERBOARD PENGRAJIN - GRADASI MAROON / BURGUNDY
   Tambahkan di BAGIAN PALING BAWAH assets/css/landing.css
   ========================================================= */

#leaderboard .artisan-podium-item {
    position: relative;
    overflow: hidden;
    color: #fff7fa;
    background: linear-gradient(155deg, #9f3153 0%, #7b1e3a 48%, #4b1027 100%);
    border: 1px solid #a95a73;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(83, 15, 41, .20);
    isolation: isolate;
}

/* Kilau lembut di dalam kartu */
#leaderboard .artisan-podium-item::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -12%;
    right: -12%;
    bottom: 28%;
    height: 38%;
    border-radius: 50%;
    background: rgba(255, 190, 211, .07);
    transform: rotate(-7deg);
    pointer-events: none;
}

#leaderboard .artisan-podium-item .artisan-podium-rank,
#leaderboard .artisan-podium-item .artisan-podium-name,
#leaderboard .artisan-podium-item .artisan-podium-score,
#leaderboard .artisan-podium-item .artisan-podium-stats {
    position: relative;
    z-index: 1;
    color: #fff7fa;
}

#leaderboard .artisan-podium-item .artisan-podium-rank {
    text-shadow: 0 2px 8px rgba(35, 4, 17, .18);
}

#leaderboard .artisan-podium-item .artisan-podium-name {
    font-weight: 700;
}

#leaderboard .artisan-podium-item .artisan-podium-score {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, #a83b5c, #c45476);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

#leaderboard .artisan-podium-item .artisan-podium-stats {
    color: #f2dce4;
}

#leaderboard .artisan-podium-item .artisan-podium-photo {
    border-color: #e9bdcc;
    box-shadow: 0 4px 14px rgba(34, 4, 17, .22);
}

#leaderboard .artisan-podium-item .artisan-podium-fallback {
    color: #fff;
    background: linear-gradient(145deg, #a53c5c, #4b1027);
}

/* Juara 1: burgundy lebih pekat dengan garis emas */
#leaderboard .artisan-podium-item.podium-first {
    background: linear-gradient(155deg, #a33254 0%, #741831 48%, #3f0b20 100%);
    border: 2px solid #d6a33d;
    box-shadow: 0 16px 34px rgba(91, 15, 43, .28), 0 0 0 1px rgba(255, 220, 143, .25);
}

#leaderboard .artisan-podium-item.podium-first .artisan-podium-photo {
    border-color: #e5b84b;
}

#leaderboard .artisan-podium-item.podium-first .artisan-podium-rank {
    color: #ffe4a0;
}

#leaderboard .artisan-podium-item.podium-first .artisan-podium-medal {
    background: #fff0bd;
    border-color: #d6a33d;
}

/* Juara 2: aksen perak */
#leaderboard .artisan-podium-item.podium-second {
    border-color: #b8c0cc;
}

#leaderboard .artisan-podium-item.podium-second .artisan-podium-photo {
    border-color: #c4ccd6;
}

#leaderboard .artisan-podium-item.podium-second .artisan-podium-medal {
    background: #edf0f4;
    border-color: #b8c0cc;
}

/* Juara 3: aksen perunggu */
#leaderboard .artisan-podium-item.podium-third {
    border-color: #c88962;
}

#leaderboard .artisan-podium-item.podium-third .artisan-podium-photo {
    border-color: #d39a73;
}

#leaderboard .artisan-podium-item.podium-third .artisan-podium-medal {
    background: #f9e1d0;
    border-color: #c88962;
}

/* Keterangan di bawah podium tetap terbaca */
#leaderboard .artisan-podium-note {
    color: #806d76;
    text-align: center;
    line-height: 1.7;
}

/* Ukuran dan kontras di layar kecil */
@media (max-width: 600px) {
    #leaderboard .artisan-podium-item {
        border-radius: 13px;
        box-shadow: 0 7px 16px rgba(83, 15, 41, .16);
    }

    #leaderboard .artisan-podium-item .artisan-podium-score {
        padding: 5px 7px;
        font-size: 10px;
    }

    #leaderboard .artisan-podium-item .artisan-podium-stats {
        color: #f2dce4;
    }
}

/* =========================================================
   LEADERBOARD PENGRAJIN - GRADASI MAROON / BURGUNDY
   Tambahkan di BAGIAN PALING BAWAH assets/css/landing.css
   ========================================================= */

#leaderboard .artisan-podium-item {
    position: relative;
    overflow: hidden;
    color: #fff7fa;
    background: linear-gradient(155deg, #9f3153 0%, #7b1e3a 48%, #4b1027 100%);
    border: 1px solid #a95a73;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(83, 15, 41, .20);
    isolation: isolate;
}

/* Kilau lembut di dalam kartu */
#leaderboard .artisan-podium-item::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -12%;
    right: -12%;
    bottom: 28%;
    height: 38%;
    border-radius: 50%;
    background: rgba(255, 190, 211, .07);
    transform: rotate(-7deg);
    pointer-events: none;
}

#leaderboard .artisan-podium-item .artisan-podium-rank,
#leaderboard .artisan-podium-item .artisan-podium-name,
#leaderboard .artisan-podium-item .artisan-podium-score,
#leaderboard .artisan-podium-item .artisan-podium-stats {
    position: relative;
    z-index: 1;
    color: #fff7fa;
}

#leaderboard .artisan-podium-item .artisan-podium-rank {
    text-shadow: 0 2px 8px rgba(35, 4, 17, .18);
}

#leaderboard .artisan-podium-item .artisan-podium-name {
    font-weight: 700;
}

#leaderboard .artisan-podium-item .artisan-podium-score {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, #a83b5c, #c45476);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

#leaderboard .artisan-podium-item .artisan-podium-stats {
    color: #f2dce4;
}

#leaderboard .artisan-podium-item .artisan-podium-photo {
    border-color: #e9bdcc;
    box-shadow: 0 4px 14px rgba(34, 4, 17, .22);
}

#leaderboard .artisan-podium-item .artisan-podium-fallback {
    color: #fff;
    background: linear-gradient(145deg, #a53c5c, #4b1027);
}

/* Juara 1: burgundy lebih pekat dengan garis emas */
#leaderboard .artisan-podium-item.podium-first {
    background: linear-gradient(155deg, #a33254 0%, #741831 48%, #3f0b20 100%);
    border: 2px solid #d6a33d;
    box-shadow: 0 16px 34px rgba(91, 15, 43, .28), 0 0 0 1px rgba(255, 220, 143, .25);
}

#leaderboard .artisan-podium-item.podium-first .artisan-podium-photo {
    border-color: #e5b84b;
}

#leaderboard .artisan-podium-item.podium-first .artisan-podium-rank {
    color: #ffe4a0;
}

#leaderboard .artisan-podium-item.podium-first .artisan-podium-medal {
    background: #fff0bd;
    border-color: #d6a33d;
}

/* Juara 2: aksen perak */
#leaderboard .artisan-podium-item.podium-second {
    border-color: #b8c0cc;
}

#leaderboard .artisan-podium-item.podium-second .artisan-podium-photo {
    border-color: #c4ccd6;
}

#leaderboard .artisan-podium-item.podium-second .artisan-podium-medal {
    background: #edf0f4;
    border-color: #b8c0cc;
}

/* Juara 3: aksen perunggu */
#leaderboard .artisan-podium-item.podium-third {
    border-color: #c88962;
}

#leaderboard .artisan-podium-item.podium-third .artisan-podium-photo {
    border-color: #d39a73;
}

#leaderboard .artisan-podium-item.podium-third .artisan-podium-medal {
    background: #f9e1d0;
    border-color: #c88962;
}

/* Keterangan di bawah podium tetap terbaca */
#leaderboard .artisan-podium-note {
    color: #806d76;
    text-align: center;
    line-height: 1.7;
}

/* Ukuran dan kontras di layar kecil */
@media (max-width: 600px) {
    #leaderboard .artisan-podium-item {
        border-radius: 13px;
        box-shadow: 0 7px 16px rgba(83, 15, 41, .16);
    }

    #leaderboard .artisan-podium-item .artisan-podium-score {
        padding: 5px 7px;
        font-size: 10px;
    }

    #leaderboard .artisan-podium-item .artisan-podium-stats {
        color: #f2dce4;
    }
}


/* Tombol informasi perhitungan di bawah keterangan podium */
#leaderboard .artisan-podium-info-action {
    display: flex;
    justify-content: center;
    margin: 16px auto 2px;
}

#leaderboard .artisan-podium-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid #8d2947;
    border-radius: 999px;
    background: linear-gradient(135deg, #8f2948 0%, #5b102d 100%);
    color: #fff7fa;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(91, 16, 45, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

#leaderboard .artisan-podium-info-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(91, 16, 45, .25);
}

#leaderboard .artisan-podium-info-arrow {
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 600px) {
    #leaderboard .artisan-podium-info-button {
        width: 100%;
        max-width: 310px;
        padding: 11px 13px;
        font-size: 12px;
    }
}
