
/* =================================
   SKYFEEDING VILLA - DARK MODERN
================================= */

:root {
    --bg: #101827;
    --surface: #1c293b;
    --surface-hover: #26374d;
    --border: #34445b;
    --primary: #8dbbfa;
    --text: #f8fafc;
    --muted: #a5b4c8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding: 45px 7%;
}

/* HEADER */

header {
    margin-bottom: 45px;
}

header h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
}

header p {
    color: var(--muted);
    margin-top: 10px;
    font-size: 14px;
}

/* DASHBOARD */

.dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* MENU CARD */

.card {
    display: block;
    background: var(--surface);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s ease;
}

.card:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.icon {
    font-size: 34px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 9px;
}

.card p {
    font-size: 13px;
    color: var(--muted);
}

/* OTHER PAGES */

main:not(.dashboard) {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
}

main h2 {
    margin-bottom: 18px;
}

main p {
    color: var(--muted);
    line-height: 1.7;
}

main a {
    color: var(--primary);
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}

/* MOBILE RESPONSIVE */

@media (max-width: 850px) {
    .dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    body {
        padding: 28px 18px;
    }

    header {
        margin-bottom: 30px;
    }

    header h1 {
        font-size: 25px;
    }

    .dashboard {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .card {
        padding: 23px;
    }
}

/* WELCOME SECTION */

.welcome {
    background: linear-gradient(120deg, #243750, #17263a);
    border: 1px solid #3b506b;
    border-radius: 20px;
    padding: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.welcome span {
    color: #8dbbfa;
    font-size: 11px;
    letter-spacing: 2px;
}

.welcome h2 {
    font-size: 28px;
    margin: 12px 0;
}

.welcome p {
    color: #a5b4c8;
    font-size: 14px;
}

.welcome-icon {
    font-size: 65px;
    color: #8dbbfa;
}

/* OVERVIEW */

.overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.overview-card {
    background: #1c293b;
    border: 1px solid #34445b;
    border-radius: 15px;
    padding: 22px;
}

.overview-card span {
    font-size: 25px;
}

.overview-card h3 {
    margin: 12px 0 7px;
    font-size: 15px;
}

.overview-card p {
    color: #a5b4c8;
    font-size: 12px;
}

/* MENU SECTION */

.menu-section h2 {
    font-size: 22px;
}

.section-desc {
    color: #a5b4c8;
    font-size: 13px;
    margin: 9px 0 22px;
}

/* FOOTER */

footer {
    text-align: center;
    color: #77869b;
    font-size: 11px;
    margin-top: 55px;
}

footer p {
    margin-top: 8px;
}

/* RESPONSIVE */

@media (max-width: 550px) {
    .overview {
        grid-template-columns: 1fr;
    }

    .welcome {
        padding: 25px;
    }

    .welcome h2 {
        font-size: 23px;
    }

    .welcome-icon {
        font-size: 40px;
    }
}

/* =================================
   GLOBAL BACK TO DASHBOARD
================================= */

.back-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 28px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: #ffffff;
    transform: translateX(-3px);
    text-decoration: none;
}

/* =================================
   RUNDOWN PAGE
================================= */

.rundown-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.rundown-heading h2 {
    margin-bottom: 8px;
}

.rundown-heading p {
    color: var(--muted);
    font-size: 13px;
}

.schedule-count {
    background: #26374d;
    color: var(--primary);
    padding: 12px 17px;
    border-radius: 10px;
    font-size: 13px;
    white-space: nowrap;
}

.rundown-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 35px;
}

.rundown-form h2,
.schedule-section h2 {
    font-size: 20px;
    margin-bottom: 22px;
}

.rundown-form label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin: 17px 0 8px;
}

.rundown-form input {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #111c2b;
    color: white;
    font-size: 14px;
    outline: none;
}

.rundown-form input:focus {
    border-color: var(--primary);
}

.rundown-form input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.form-actions button,
.action-button {
    border: none;
    border-radius: 9px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 600;
}

#saveButton {
    background: var(--primary);
    color: #101827;
}

.cancel-button {
    background: #34445b;
    color: white;
}

.schedule-section {
    margin-bottom: 40px;
}

.schedule-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 22px;
    margin-bottom: 14px;
}

.schedule-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.schedule-item h3 {
    margin-bottom: 12px;
    font-size: 17px;
}

.schedule-time {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.schedule-info {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.schedule-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.edit-button {
    background: #304b6a;
    color: #b9d8ff;
}

.delete-button {
    background: #572f3a;
    color: #ffbdc7;
}

.empty-state {
    padding: 30px;
    text-align: center;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 13px;
    color: var(--muted);
}

@media (max-width: 550px) {
    .rundown-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .rundown-form {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .schedule-top {
        flex-direction: column;
    }
}

/* =================================
   FINANCE MANAGEMENT
================================= */

.finance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 25px 0 30px;
}

.finance-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 22px;
}

.finance-card span {
    font-size: 25px;
}

.finance-card h2 {
    font-size: 25px;
    margin: 12px 0 5px;
    overflow-wrap: anywhere;
}

.finance-card p {
    color: var(--muted);
    font-size: 13px;
}

.finance-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 35px;
}

.finance-form h2,
.finance-list h2 {
    font-size: 20px;
    margin-bottom: 22px;
}

.finance-form label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin: 17px 0 8px;
}

.finance-form input,
.finance-form select,
.finance-filters input,
.finance-filters select {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #111c2b;
    color: white;
    font-size: 14px;
    outline: none;
}

.finance-form input:focus,
.finance-form select:focus,
.finance-filters input:focus,
.finance-filters select:focus {
    border-color: var(--primary);
}

.finance-form button {
    border: none;
    border-radius: 9px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 600;
}

#financeSaveButton {
    background: var(--primary);
    color: #101827;
}

.finance-list {
    margin-bottom: 40px;
}

.finance-filters {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.finance-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 22px;
    margin-bottom: 13px;
}

.finance-item h3 {
    font-size: 17px;
    margin-bottom: 9px;
}

.finance-info {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.finance-amount {
    font-size: 20px;
    font-weight: 700;
    margin-top: 12px;
}

.amount-income {
    color: #86efac;
}

.amount-expense {
    color: #fca5a5;
}

.finance-actions {
    display: flex;
    gap: 8px;
    margin-top: 17px;
}

.finance-actions button {
    padding: 9px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.finance-actions .edit-button {
    background: #304b6a;
    color: #b9d8ff;
}

.finance-actions .delete-button {
    background: #572f3a;
    color: #ffbdc7;
}

@media (max-width: 550px) {
    .finance-stats {
        grid-template-columns: 1fr;
    }

    .finance-form {
        padding: 20px;
    }

    .finance-filters {
        grid-template-columns: 1fr;
    }
}

/* FOOD VOTING RESULTS */

.result-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text);
}

.result-header strong {
    color: var(--primary);
    font-size: 14px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--surface-hover);
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 20px;
    transition: width 0.4s ease;
}

.total-votes {
    color: var(--muted);
    margin-top: 20px;
    text-align: right;
}

/* ===============================
   SKYFEEDING GLOBAL POPUP
================================ */

.global-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.global-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.global-popup {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 32px 26px;
    text-align: center;
    background: #182235;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transform: scale(0.85) translateY(20px);
    transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}

.global-popup-overlay.show .global-popup {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: none;
    color: #94a3b8;
    font-size: 27px;
    cursor: pointer;
}

.popup-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 27px;
    font-weight: bold;
    background: #263750;
    color: #60a5fa;
}

.popup-icon.success {
    color: #4ade80;
    background: rgba(74,222,128,0.12);
}

.popup-icon.error {
    color: #f87171;
    background: rgba(248,113,113,0.12);
}

.popup-icon.warning {
    color: #fbbf24;
    background: rgba(251,191,36,0.12);
}

.global-popup h2 {
    color: #ffffff;
    font-size: 21px;
    margin: 0 0 10px;
}

.global-popup p {
    color: #aab7ca;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 25px;
}

.popup-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.popup-actions button {
    padding: 11px 22px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.popup-confirm {
    background: #3b82f6;
    color: white;
}

.popup-confirm:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.popup-cancel {
    background: #334155;
    color: #e2e8f0;
}

.popup-cancel:hover {
    background: #475569;
}

/* GLOBAL PAGE TRANSITION */

body {
    opacity: 0;
    transform: scale(0.98);
    animation: pageEnter 0.5s ease forwards;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

body.page-exit {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* MOBILE BACK LINK */

@media (max-width: 550px) {
    .back-link {
        font-size: 18px;
        margin-bottom: 24px;
    }
}

/* ========================================
   SKYFEEDING - FOOD VOTING REDESIGN
======================================== */

.food-page {
    background:
        radial-gradient(ellipse at top right, rgba(70, 115, 170, 0.12), transparent 40%),
        var(--bg);
}

.food-container {
    max-width: 1100px;
    margin: 0 auto;
}

.food-header {
    margin-bottom: 28px;
}

.food-eyebrow {
    display: block;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.food-header h1 {
    font-size: clamp(30px, 5vw, 42px);
    margin-bottom: 10px;
}

.food-header p {
    color: var(--muted);
    font-size: 15px;
}

/* PANELS */

.food-panel {
    background: linear-gradient(145deg, #1c293b, #172437);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    margin-top: 25px;
    margin-bottom: 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.food-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}

.food-section-heading h2 {
    font-size: 25px;
    margin-bottom: 8px;
}

.food-section-heading p {
    color: var(--muted);
    font-size: 13px;
}

.selection-counter {
    background: rgba(141,187,250,0.12);
    color: var(--primary);
    border: 1px solid rgba(141,187,250,0.2);
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* VOTING CATEGORY */

.vote-category {
    margin-bottom: 30px;
}

.vote-category-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 17px;
}

.vote-category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #293c55;
    border: 1px solid #405875;
    border-radius: 14px;
    font-size: 23px;
}

.vote-category-title h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.vote-category-title p {
    color: var(--muted);
    font-size: 12px;
}

.vote-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* VOTE CARD */

.vote-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 78px;
    padding: 17px;
    background: rgba(12, 25, 42, 0.65);
    border: 1px solid #34465e;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.vote-card:hover {
    background: #263951;
    border-color: #789fce;
    transform: translateY(-2px);
}

.vote-card.selected {
    background: linear-gradient(120deg, #29476a, #233a55);
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(141,187,250,0.15);
}

.vote-checkbox {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.custom-check {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    border: 2px solid #71849d;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.vote-card.selected .custom-check {
    background: var(--primary);
    border-color: var(--primary);
}

.vote-card.selected .custom-check::after {
    content: "✓";
    color: #101827;
    font-size: 14px;
    font-weight: 900;
}

.vote-card-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.vote-card-text strong {
    color: var(--text);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.vote-card-category {
    color: #91a4bd;
    font-size: 11px;
}

.vote-card.selected .vote-card-category {
    color: #c4dcfa;
}

.vote-empty {
    color: var(--muted);
    font-size: 13px;
    padding: 18px;
    background: rgba(12,25,42,0.5);
    border-radius: 12px;
}

/* SUBMIT VOTE */

.vote-submit-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 10px;
}

.vote-submit-area p {
    color: var(--muted);
    font-size: 12px;
}

#submitVote {
    border: none;
    border-radius: 11px;
    padding: 14px 22px;
    background: var(--primary);
    color: #101827;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

#submitVote span {
    margin-left: 10px;
    font-size: 17px;
}

#submitVote:hover:not(:disabled) {
    background: #b2d2fa;
    transform: translateY(-2px);
}

#submitVote:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ADD MENU BOX */

.add-menu-box {
    background: rgba(12,25,42,0.55);
    border: 1px solid #34465e;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 30px;
}

.add-menu-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.add-menu-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #29415d;
    color: var(--primary);
    font-size: 25px;
}

.add-menu-heading h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.add-menu-heading p {
    color: var(--muted);
    font-size: 12px;
}

.category-input {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 10px;
}

.category-input input,
.category-input select {
    min-width: 0;
    width: 100%;
    padding: 13px 14px;
    background: #111c2b;
    color: white;
    border: 1px solid #3a4c64;
    border-radius: 10px;
    outline: none;
    font-size: 13px;
}

.category-input input:focus,
.category-input select:focus {
    border-color: var(--primary);
}

.category-input button {
    border: none;
    border-radius: 10px;
    padding: 12px 17px;
    background: var(--primary);
    color: #101827;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.category-input button:hover {
    background: #b2d2fa;
    transform: translateY(-2px);
}

/* ADMIN MENU LIST */

.admin-list-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-list-heading h3 {
    font-size: 17px;
}

.admin-list-heading span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.admin-category-group {
    margin-bottom: 24px;
}

.admin-category-title {
    color: #b8c9dd;
    font-size: 13px;
    margin-bottom: 11px;
}

.admin-menu-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    margin-bottom: 9px;
    background: rgba(12,25,42,0.55);
    border: 1px solid #34465e;
    border-radius: 13px;
    transition: 0.2s ease;
}

.admin-menu-card:hover {
    background: #24364c;
    border-color: #607c9e;
}

.admin-menu-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.admin-menu-name {
    font-size: 14px;
    overflow-wrap: anywhere;
}

.admin-menu-votes {
    color: var(--muted);
    font-size: 11px;
}

.admin-menu-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.admin-menu-actions button {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 9px 13px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.admin-edit-button {
    color: #b9d8ff;
    background: #304b6a;
    border-color: #426486 !important;
}

.admin-edit-button:hover {
    background: #3b5d80;
    transform: translateY(-2px);
}

.admin-delete-button {
    color: #ffbdc7;
    background: #572f3a;
    border-color: #75404d !important;
}

.admin-delete-button:hover {
    background: #743b49;
    transform: translateY(-2px);
}

/* RESULTS */

.result-category {
    margin-bottom: 25px;
}

.result-category-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
}

.result-category-icon {
    font-size: 20px;
}

.result-category-heading h3 {
    font-size: 16px;
}

.result-empty {
    color: var(--muted);
    font-size: 13px;
    padding: 15px;
    background: rgba(12,25,42,0.5);
    border-radius: 10px;
}

.result-item {
    background: rgba(12,25,42,0.55);
    border: 1px solid #34465e;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 13px;
}

.result-menu-name {
    color: var(--text);
    font-size: 14px;
}

.result-vote-count {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #34445b;
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6e9ed7, #a9cefa);
    border-radius: 20px;
    transition: width 0.4s ease;
}

.total-votes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #26374d;
    border: 1px solid #405875;
    border-radius: 12px;
    padding: 18px;
    margin-top: 20px;
}

.total-votes span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.total-votes strong {
    color: var(--primary);
    font-size: 25px;
}

/* MOBILE */

@media (max-width: 650px) {

    .food-panel {
        padding: 21px;
        border-radius: 16px;
    }

    .food-section-heading {
        align-items: flex-start;
    }

    .food-section-heading h2 {
        font-size: 22px;
    }

    .vote-menu-grid {
        grid-template-columns: 1fr;
    }

    .vote-card {
        min-height: 70px;
    }

    .vote-submit-area {
        align-items: stretch;
        flex-direction: column;
    }

    #submitVote {
        width: 100%;
    }

    .category-input {
        grid-template-columns: 1fr;
    }

    .category-input button {
        min-height: 45px;
    }

    .admin-menu-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-menu-actions {
        width: 100%;
    }

    .admin-menu-actions button {
        flex: 1;
    }

    .result-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .result-vote-count {
        text-align: left;
    }

    .selection-counter {
        font-size: 11px;
        padding: 9px 11px;
    }

}

@media (max-width: 380px) {

    .food-panel {
        padding: 16px;
    }

    .food-header h1 {
        font-size: 28px;
    }

    .vote-card-text strong {
        font-size: 14px;
    }

}

/* =========================================
   SKYFEEDING PCB EVENT
   PREMIUM CINEMATIC HOMEPAGE
========================================= */

.home-page {
    overflow-x: hidden;
}

/* HEADER */

.home-header {
    text-align: center;
    padding: 45px 20px 35px;
}

.home-header .home-eyebrow {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.home-header h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
}

.home-header h1 span {
    color: var(--primary);
}

.home-header .home-subtitle {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: 13px;
}

/* HERO IMAGE */

.event-hero {
    position: relative;
    min-height: 540px;
    margin: 10px auto 55px;
    width: 100%;
    max-width: 1250px;
    border-radius: 22px;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(8, 15, 25, 0.88) 0%,
            rgba(8, 15, 25, 0.65) 48%,
            rgba(8, 15, 25, 0.18) 100%
        ),
        url("https://a0.muscache.com/im/pictures/hosting/Hosting-1308439890867500504/original/ab9f21e7-a64b-4de9-8494-56462fb0b215.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(8,15,25,0.65),
        transparent 40%
    );
}

.event-content {
    position: relative;
    z-index: 2;
    padding: 75px 7%;
    max-width: 700px;
    color: white;
}

.event-label {
    display: inline-block;
    color: #c7dcf8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 45px;
}

.event-intro {
    color: #b7c9df;
    font-size: 11px;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.event-content h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(48px, 7vw, 78px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0 0 20px;
    color: #ffffff;
}

.event-location {
    color: #d5dfeb;
    font-size: 15px;
    letter-spacing: 1px;
}

.event-location span {
    color: var(--primary);
    font-size: 20px;
    margin-right: 7px;
}

.event-line {
    width: 65px;
    height: 2px;
    background: var(--primary);
    margin: 35px 0 25px;
}

.event-date {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-label {
    color: #aebed2;
    font-size: 10px;
    letter-spacing: 4px;
}

.event-date strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 400;
    letter-spacing: 2px;
    color: #ffffff;
}

.event-tagline {
    margin-top: 25px;
    color: #bdc9d8;
    font-size: 13px;
    font-style: italic;
    letter-spacing: 0.5px;
}

.hero-bottom {
    position: absolute;
    bottom: 22px;
    left: 7%;
    right: 7%;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.65);
    font-size: 9px;
    letter-spacing: 3px;
}

/* WELCOME SECTION */

.home-page .welcome {
    border: 1px solid var(--border);
    background: linear-gradient(
        135deg,
        #1c293b,
        #162234
    );
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 35px;
}

.home-page .welcome h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 500;
    font-size: 30px;
    margin: 12px 0;
}

.home-page .welcome-icon {
    color: var(--primary);
    font-size: 35px;
}

/* FOOTER */

.home-footer {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 2px;
    padding: 35px 15px;
    border-top: 1px solid var(--border);
    margin-top: 55px;
}

.home-footer p {
    font-size: 11px;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* RESPONSIVE */

@media (max-width: 650px) {

    .home-header {
        padding: 35px 15px 25px;
    }

    .home-header .home-eyebrow {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .home-header .home-subtitle {
        font-size: 11px;
    }

    .event-hero {
        min-height: 490px;
        margin: 5px auto 40px;
        border-radius: 15px;
        background-position: center;
    }

    .event-content {
        padding: 55px 25px 75px;
    }

    .event-label {
        font-size: 9px;
        letter-spacing: 2px;
        margin-bottom: 40px;
    }

    .event-content h2 {
        font-size: 51px;
    }

    .event-location {
        font-size: 13px;
    }

    .event-date strong {
        font-size: 22px;
    }

    .hero-bottom {
        left: 25px;
        right: 25px;
        bottom: 18px;
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .home-page .welcome {
        padding: 22px;
    }

    .home-page .welcome h2 {
        font-size: 25px;
    }
}

/* HEADER ALIGNMENT - LEFT */

.home-header {
    text-align: left;
    padding-left: 7%;
    padding-right: 7%;
}

.home-header h1 {
    text-align: left;
}

.home-header p {
    text-align: left;
}

@media (max-width: 650px) {
    .home-header {
        padding-left: 22px;
        padding-right: 22px;
    }
}

/* PREVIEW MODE */
.preview-mode .admin-only {
    display: none !important;
}
