@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Libre+Baskerville:wght@400;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: radial-gradient(circle at top, rgba(46, 78, 105, .14), transparent 38%), #0b0b0a;
    color: #eee7d7;
    font-family: 'Libre Baskerville', serif;
    min-height: 100vh;
}

header {
    border-bottom: 1px solid #5d4b2d;
    background: rgba(10, 10, 9, .97);
    padding: 16px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    gap: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(109, 183, 232, 0.4));
    transition: transform 0.2s ease;
}

.logo-container:hover .logo-img { transform: scale(1.05); }

.logo {
    font-family: 'Cinzel', serif;
    letter-spacing: 4px;
    font-size: 22px;
    color: #6db7e8;
    font-weight: 800;
}

.nav-group { display: flex; align-items: center; gap: 20px; }
nav { display: flex; align-items: center; gap: 20px; }
nav a {
    color: #cfc5af;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.5px;
    transition: .2s;
    font-family: 'Cinzel', serif;
}
nav a:hover { color: #8acbfa; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #183d57, #132737);
    border: 1px solid #6db7e8;
    color: #e5f2ff;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 12px rgba(109, 183, 232, 0.2);
}
.btn-dashboard:hover {
    background: #25587f;
    box-shadow: 0 0 18px rgba(109, 183, 232, 0.4);
    transform: translateY(-1px);
}

.dashboard-pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #4ade80;
}

.btn-auth-outline {
    padding: 8px 16px;
    border: 1px solid #806a3e;
    background: transparent;
    color: #e2d7c0;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
}
.btn-auth-outline:hover {
    border-color: #6db7e8;
    color: #6db7e8;
    background: rgba(109, 183, 232, 0.08);
}

.btn-auth-primary {
    padding: 8px 16px;
    border: 1px solid #6db7e8;
    background: #315f82;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
}
.btn-auth-primary:hover {
    background: #417ba7;
    box-shadow: 0 2px 12px rgba(109, 183, 232, 0.35);
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(26, 32, 38, 0.85);
    border: 1px solid #51452f;
    border-radius: 4px;
    font-size: 12px;
    color: #e0d8c7;
}

.user-avatar-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1d4361;
    border: 1px solid #6db7e8;
    color: #6db7e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 12px;
}

.role-tag {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 2px 6px;
    border-radius: 2px;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
}
.role-owner { background: rgba(234, 179, 8, 0.2); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.4); }
.role-admin { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.role-mod { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }
.role-spectator { background: rgba(14, 165, 233, 0.2); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.4); }
.role-customer { background: rgba(100, 116, 139, 0.2); color: #94a3b8; border: 1px solid rgba(100, 116, 139, 0.4); }

.btn-logout {
    color: #999;
    font-size: 11px;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Cinzel', serif;
    transition: color 0.2s;
}
.btn-logout:hover { color: #f87171; }

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background:
        linear-gradient(rgba(7,7,6,.55), rgba(7,7,6,.95)),
        radial-gradient(circle, #17334a 0%, #0b0b0a 65%);
    border-bottom: 1px solid #5d4b2d;
}

.hero-inner { max-width: 850px; }
.hero-logo-wrap { margin-bottom: 24px; display: flex; justify-content: center; }
.hero-logo-img {
    max-height: 130px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 25px rgba(109, 183, 232, 0.45));
}

.crest {
    font-size: 12px;
    letter-spacing: 6px;
    color: #b59b64;
    margin-bottom: 24px;
    text-transform: uppercase;
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(44px, 8vw, 88px);
    letter-spacing: 7px;
    color: #e9e3d5;
    text-shadow: 0 3px 15px #000;
}

.subtitle {
    margin-top: 15px;
    font-family: 'Cinzel', serif;
    color: #6db7e8;
    font-size: 18px;
    letter-spacing: 5px;
}

.hero p {
    max-width: 650px;
    margin: 28px auto;
    color: #bdb5a5;
    line-height: 1.9;
}

.buttons {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 16px 30px;
    border: 1px solid #806a3e;
    color: #eee7d7;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    transition: .2s;
    cursor: pointer;
    background: transparent;
    font-size: 13px;
}

.button.primary {
    background: #315f82;
    border-color: #6db7e8;
}
.button:hover {
    transform: translateY(-2px);
    background: #417ba7;
    box-shadow: 0 4px 18px rgba(109, 183, 232, 0.3);
}

.button.secondary-subtle {
    background: rgba(20, 25, 30, 0.8);
    border: 1px solid #5d4b2d;
}
.button.secondary-subtle:hover {
    background: #252b33;
    border-color: #806a3e;
}

.section { padding: 90px 7%; max-width: 1250px; margin: auto; }
.section-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    color: #d9c28c;
    font-size: 30px;
    letter-spacing: 3px;
    margin-bottom: 55px;
}

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card {
    border: 1px solid #51452f;
    background: linear-gradient(145deg, #151513, #0d0d0c);
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,.32);
    transition: .25s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card:hover {
    transform: translateY(-5px);
    border-color: #806a3e;
    box-shadow: 0 20px 45px rgba(0,0,0,0.5), 0 0 20px rgba(109, 183, 232, 0.15);
}
.card h2 { font-family: 'Cinzel', serif; color: #e5ddcc; font-size: 25px; margin-bottom: 8px; }
.card .price {
    color: #6db7e8;
    font-family: 'Cinzel', serif;
    font-size: 40px;
    margin: 14px 0 10px 0;
    text-shadow: 0 0 20px rgba(109, 183, 232, 0.25);
}

.delivery-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(109, 183, 232, 0.1);
    border: 1px solid rgba(109, 183, 232, 0.3);
    color: #8acbfa;
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.delivery-pill strong { color: #ffffff; }

.card p { color: #aaa396; line-height: 1.8; font-size: 14px; margin-bottom: 25px; }
.tag {
    display: inline-block;
    border: 1px solid #6d5a35;
    padding: 6px 14px;
    color: #cbb57d;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    align-self: center;
}

.how { border-top: 1px solid #51452f; border-bottom: 1px solid #51452f; background: #0e0e0d; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.step { text-align: center; padding: 25px; }
.number { font-family: 'Cinzel', serif; color: #6db7e8; font-size: 30px; margin-bottom: 15px; }
.step h3 { font-family: 'Cinzel', serif; color: #ddd5c4; margin-bottom: 12px; }
.step p { color: #999285; font-size: 13px; line-height: 1.7; }

.custom {
    text-align: center;
    padding: 100px 20px;
    background:
        radial-gradient(circle at center, rgba(21, 54, 78, .38) 0%, rgba(11, 11, 10, .96) 48%, #0b0b0a 75%);
}
.custom h2 { font-family: 'Cinzel', serif; font-size: 40px; color: #e8e0cf; margin-bottom: 20px; }
.custom p { color: #aaa396; max-width: 650px; margin: auto; line-height: 1.8; }

footer {
    text-align: center;
    border-top: 1px solid #51452f;
    padding: 40px 20px;
    color: #999183;
    font-size: 13px;
    letter-spacing: 0.5px;
    line-height: 1.9;
    background: #090908;
}
.footer-links { margin-top: 15px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #88a7c2; text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: #6db7e8; text-decoration: underline; }
.footer-copyright { margin-top: 12px; color: #665f54; font-size: 12px; }

/* MODALS */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 6, 0.88);
    backdrop-filter: blur(8px);
    z-index: 1000;
    overflow-y: auto;
    padding: 30px 15px;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-window {
    background: #111210;
    border: 1px solid #5d4b2d;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(109, 183, 232, 0.15);
    width: 100%;
    max-width: 620px;
    position: relative;
    padding: 35px;
    color: #eee7d7;
    margin: auto;
}
.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 26px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.modal-close:hover { color: #6db7e8; }
.modal-header { text-align: center; margin-bottom: 25px; padding-bottom: 18px; border-bottom: 1px solid #332d22; }
.modal-header h3 { font-family: 'Cinzel', serif; font-size: 22px; color: #d9c28c; letter-spacing: 2px; margin-bottom: 6px; }
.modal-header p { color: #9c9586; font-size: 13px; }

.auth-tabs { display: flex; border-bottom: 1px solid #3d3425; margin-bottom: 24px; }
.auth-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #8c8577;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}
.auth-tab.active { color: #6db7e8; border-bottom-color: #6db7e8; background: rgba(109, 183, 232, 0.04); }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: #c5bba8;
    margin-bottom: 7px;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    background: #090908;
    border: 1px solid #443c2c;
    color: #eee7d7;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { outline: none; border-color: #6db7e8; box-shadow: 0 0 10px rgba(109, 183, 232, 0.3); }

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: #1a1c1e;
    border: 1px solid #4a4538;
    color: #f3f3f3;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}
.btn-google:hover { background: #25282c; border-color: #6db7e8; }

.google-account-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #14171a;
    border: 1px solid #332d22;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}
.google-account-item:hover {
    background: #1e2329;
    border-color: #6db7e8;
    transform: translateY(-1px);
}
.google-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #696253;
    font-size: 11px;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; border-bottom: 1px solid #332d22; }
.auth-divider span { padding: 0 12px; }

/* RECAPTCHA */
.recaptcha-box {
    background: #161817;
    border: 1px solid #383e39;
    border-radius: 4px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    user-select: none;
}
.recaptcha-left { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.recaptcha-check {
    width: 26px;
    height: 26px;
    border: 2px solid #848a85;
    border-radius: 3px;
    background: #0e100f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.recaptcha-check.loading {
    border-color: #6db7e8;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.recaptcha-check.checked { border-color: #22c55e; background: #14532d; }
.recaptcha-check svg { display: none; width: 16px; height: 16px; stroke: #4ade80; stroke-width: 3; fill: none; }
.recaptcha-check.checked svg { display: block; }
.recaptcha-label { font-size: 13px; color: #d1cdc4; font-family: sans-serif; }
.recaptcha-brand { display: flex; flex-direction: column; align-items: center; font-size: 9px; color: #7b8480; font-family: sans-serif; }
.recaptcha-brand svg { width: 20px; height: 20px; fill: #6db7e8; margin-bottom: 2px; }

.verify-box { text-align: center; padding: 10px 0; }
.code-inputs { display: flex; justify-content: center; gap: 10px; margin: 20px 0; }
.code-inputs input {
    width: 45px;
    height: 52px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    background: #090908;
    border: 1px solid #5d4b2d;
    color: #6db7e8;
}
.code-inputs input:focus { border-color: #6db7e8; outline: none; box-shadow: 0 0 10px rgba(109, 183, 232, 0.4); }
.verify-hint {
    background: rgba(109, 183, 232, 0.1);
    border: 1px dashed rgba(109, 183, 232, 0.35);
    padding: 10px;
    font-size: 12px;
    color: #9ecbee;
    margin-bottom: 18px;
    border-radius: 4px;
}

/* FULLSCREEN DASHBOARD WITH SIDEBAR */
#dashboardFullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #08090a;
    z-index: 500;
    overflow: hidden;
}
#dashboardFullscreen.active { display: flex; }

.dash-sidebar {
    width: 280px;
    min-width: 280px;
    height: 100vh;
    background: #0d0f11;
    border-right: 1px solid #2d261b;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
}
.dash-sidebar-header {
    padding: 22px 20px;
    border-bottom: 1px solid #242018;
    display: flex;
    align-items: center;
    gap: 12px;
}
.dash-sidebar-header img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(109, 183, 232, 0.4));
}
.dash-sidebar-title {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: #6db7e8;
    font-weight: 800;
    letter-spacing: 2px;
}
.dash-user-profile {
    padding: 16px 20px;
    background: #111417;
    border-bottom: 1px solid #242018;
}
.dash-user-name {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: #eee7d7;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dash-user-email {
    font-size: 11px;
    color: #8c8577;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dash-nav {
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow-y: auto;
}
.dash-nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid transparent;
    color: #aaa292;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 2px;
}
.dash-nav-btn:hover {
    background: rgba(109, 183, 232, 0.08);
    color: #e5edf5;
    border-color: rgba(109, 183, 232, 0.2);
}
.dash-nav-btn.active {
    background: #192b3a;
    color: #6db7e8;
    border-color: #6db7e8;
    box-shadow: 0 0 15px rgba(109, 183, 232, 0.15);
}
.dash-nav-badge {
    background: #22374a;
    color: #8acbfa;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    border: 1px solid #3d5972;
}
.dash-sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid #242018;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.btn-exit-dash {
    padding: 10px;
    background: #171a1d;
    border: 1px solid #443c2c;
    color: #cfc7b7;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-exit-dash:hover { background: #252b31; border-color: #6db7e8; color: #fff; }

.dash-main {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 35px 40px;
    background: #090a0c;
}
.dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #2b251a;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}
.dash-topbar h2 { font-family: 'Cinzel', serif; font-size: 24px; color: #d9c28c; letter-spacing: 2px; }
.dash-topbar-subtitle { font-size: 12px; color: #8c8577; margin-top: 4px; }

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}
.stat-card {
    background: #111417;
    border: 1px solid #332d22;
    padding: 20px;
    border-radius: 2px;
    transition: border-color 0.2s;
}
.stat-card:hover { border-color: #6db7e8; }
.stat-label { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 1.5px; color: #8c8577; margin-bottom: 8px; }
.stat-value { font-family: 'Cinzel', serif; font-size: 28px; color: #6db7e8; font-weight: 700; }
.stat-sub { font-size: 11px; color: #625c50; margin-top: 5px; }

.dash-content-section { display: none; }
.dash-content-section.active { display: block; }

.orders-empty-box {
    background: #111417;
    border: 1px dashed #3d3527;
    padding: 50px 20px;
    text-align: center;
    color: #8c8577;
}

.order-row {
    background: #111417;
    border: 1px solid #2f2a20;
    padding: 20px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 75px 1fr auto;
    gap: 20px;
    align-items: center;
    transition: border-color 0.2s;
}
.order-row:hover { border-color: #6db7e8; }
.order-thumb-wrap {
    width: 75px;
    height: 75px;
    background: #08090a;
    border: 1px solid #332d22;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.order-thumb-wrap img { max-width: 80%; max-height: 80%; object-fit: contain; }
.order-info-col h4 { font-family: 'Cinzel', serif; font-size: 16px; color: #e5ddcc; margin-bottom: 6px; }
.order-meta-text { font-size: 12px; color: #8c8577; line-height: 1.6; }
.order-status-tag { display: inline-block; padding: 3px 8px; font-size: 10px; font-family: 'Cinzel', serif; letter-spacing: 1px; margin-top: 6px; }
.tag-pending { background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.3); }
.tag-making { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.tag-onway { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.tag-delivered { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }

.order-action-col { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.btn-repeat-order {
    padding: 8px 16px;
    background: #1c3c54;
    border: 1px solid #6db7e8;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-repeat-order:hover { background: #2b5d82; box-shadow: 0 0 12px rgba(109, 183, 232, 0.3); }

.admin-status-control { margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.admin-status-select {
    background: #090a0b;
    border: 1px solid #5d4b2d;
    color: #eee7d7;
    font-size: 11px;
    font-family: 'Cinzel', serif;
    padding: 4px 8px;
}

.ideas-layout { display: grid; grid-template-columns: 350px 1fr; gap: 30px; }
.idea-card { background: #111417; border: 1px solid #332d22; padding: 20px; margin-bottom: 16px; transition: border-color 0.2s; }
.idea-card:hover { border-color: #6db7e8; }
.idea-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.idea-type-pill { font-size: 10px; font-family: 'Cinzel', serif; padding: 2px 7px; letter-spacing: 1px; }
.pill-idea { background: rgba(14, 165, 233, 0.15); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.3); }
.pill-bug { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.idea-title { font-family: 'Cinzel', serif; font-size: 15px; color: #e5ddcc; margin-bottom: 6px; }
.idea-desc { font-size: 12px; color: #a8a090; line-height: 1.6; margin-bottom: 12px; }
.idea-meta {
    font-size: 11px;
    color: #6b6354;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #231f18;
    padding-top: 10px;
}
.idea-admin-actions { display: flex; gap: 6px; margin-top: 10px; }
.btn-status-action {
    font-size: 10px;
    font-family: 'Cinzel', serif;
    padding: 4px 8px;
    cursor: pointer;
    border: 1px solid #443c2c;
    background: #171b1e;
    color: #ccc;
    transition: all 0.2s;
}
.btn-status-action:hover { border-color: #6db7e8; color: #fff; }
.btn-status-action.accept { border-color: #22c55e; color: #4ade80; }
.btn-status-action.deny { border-color: #ef4444; color: #f87171; }

.admin-subtabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid #332b1e; padding-bottom: 10px; }
.admin-subtab-btn {
    padding: 8px 16px;
    background: #131618;
    border: 1px solid #423828;
    color: #bbb3a2;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}
.admin-subtab-btn.active { background: #1b354a; color: #6db7e8; border-color: #6db7e8; }

.user-table { width: 100%; border-collapse: collapse; font-size: 12px; background: #111417; border: 1px solid #332d22; }
.user-table th {
    background: #0c0e10;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    padding: 12px 14px;
    text-align: left;
    color: #d9c28c;
    border-bottom: 1px solid #332d22;
    font-size: 11px;
}
.user-table td { padding: 12px 14px; border-bottom: 1px solid #231f18; color: #cfc7b7; }
.user-table tr:hover td { background: rgba(109, 183, 232, 0.03); }

.customizer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.color-swatches { display: flex; gap: 12px; margin-top: 8px; }
.swatch { width: 38px; height: 38px; border-radius: 4px; border: 2px solid #332d22; cursor: pointer; transition: all 0.2s; }
.swatch.active { border-color: #6db7e8; transform: scale(1.1); box-shadow: 0 0 10px rgba(109, 183, 232, 0.4); }
.size-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.size-btn {
    padding: 8px 16px;
    background: #161715;
    border: 1px solid #443c2c;
    color: #ddd;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    transition: all 0.2s;
}
.size-btn.active { background: #254964; border-color: #6db7e8; color: #fff; }

.file-dropzone {
    border: 2px dashed #5d4b2d;
    background: rgba(15, 17, 18, 0.7);
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}
.file-dropzone:hover { border-color: #6db7e8; background: rgba(109, 183, 232, 0.05); }
.dropzone-preview { max-height: 90px; margin-top: 10px; display: none; object-fit: contain; }

.toast-container { position: fixed; bottom: 25px; right: 25px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast {
    background: #131b22;
    border: 1px solid #6db7e8;
    color: #eee;
    padding: 12px 18px;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 900px) {
    #dashboardFullscreen.active { flex-direction: column; }
    .dash-sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid #2d261b; }
    .dash-nav { flex-direction: row; overflow-x: auto; }
    .dash-main { padding: 20px; }
    .analytics-grid { grid-template-columns: repeat(2, 1fr); }
    .ideas-layout { grid-template-columns: 1fr; }
    .customizer-grid { grid-template-columns: 1fr; }
}

/* GOOGLE OAUTH MODAL */
.google-modal-window {
    background: #202124;
    border: 1px solid #5f6368;
    border-radius: 8px;
    max-width: 460px;
    width: 100%;
    padding: 36px 32px;
    color: #e8eaed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 12px 40px rgba(0,0,0,0.8);
    position: relative;
    margin: auto;
}
.google-header {
    text-align: center;
    margin-bottom: 24px;
}
.google-logo-svg {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
}
.google-header h3 {
    font-size: 22px;
    font-weight: 500;
    color: #e8eaed;
    margin-bottom: 6px;
    font-family: inherit;
}
.google-header p {
    font-size: 14px;
    color: #9aa0a6;
}
.google-account-list {
    border-top: 1px solid #3c4043;
    border-bottom: 1px solid #3c4043;
    margin: 20px 0;
}
.google-account-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    cursor: pointer;
    transition: background 0.15s;
    border-radius: 4px;
}
.google-account-item:hover {
    background: #303134;
}
.google-account-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    flex-shrink: 0;
}
.google-account-details {
    flex: 1;
    overflow: hidden;
}
.google-account-name {
    font-size: 14px;
    font-weight: 500;
    color: #e8eaed;
}
.google-account-email {
    font-size: 12px;
    color: #9aa0a6;
    overflow: hidden;
    text-overflow: ellipsis;
}
.google-footer-disclaimer {
    font-size: 11px;
    color: #9aa0a6;
    line-height: 1.6;
    margin-top: 20px;
    text-align: center;
}