/* ============================================================
   Awards Voting page (/vote) — single-page form like the
   Google Form. Matches the GT brand layer: deep red #8f0304,
   gold #f8ca14, Chakra Petch, cut-corner CTA, glass cards.
   ============================================================ */

.vote-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.vote_container {
    width: 90%;
    max-width: 860px;
    margin: 0 auto;
    padding: 120px 0;
    overflow: hidden;
}

/* ---------- Cards ---------- */

.vote-card {
    background-color: #00000080;
    border-radius: 14px;
    padding: 24px 28px;
    color: #fff;
    margin-bottom: 20px;
}

/* ---------- Hero ---------- */

.vote-hero {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 30px 26px;
}

/* Gold accent line along the top edge of the hero card */
.vote-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f8ca14, transparent);
}

.vote-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(248, 202, 20, 0.5);
    border-radius: 999px;
    background: rgba(248, 202, 20, 0.1);
    color: #f8ca14;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vote-heading {
    color: #f8ca14;
    font-size: 2.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.vote-subheading {
    display: inline-block;
    background: linear-gradient(45deg, #f8ca14, #f7931e, #f8ca14);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.vote-description {
    color: #e8e8e8;
    max-width: 640px;
    margin: 0 auto;
    font-size: 1rem;
}

.vote-inline-link {
    color: #f8ca14;
    font-weight: 700;
    text-decoration: underline;
}

.vote-inline-link:hover {
    color: #fff;
}

/* ---------- Section headers (mirrors volunteer page) ---------- */

.vote-card .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    gap: 14px;
    border-bottom: none;
}

.vote-card .header-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

.vote-card .rocket-icon,
.vote-card .clock-icon {
    background: #ff0000;
}

.vote-card .why-volunteer-icon {
    background: #f8ca14;
    color: #1a4992;
}

.vote-card .section-header h3 {
    color: #f8ca14;
    font-size: 1.45rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
}

/* ---------- Detail fields ---------- */

.vote-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    text-align: left;
}

.vote-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vote-field-full {
    grid-column: 1 / -1;
}

.vote-field label {
    color: #f8ca14;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vote-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    color: #fff;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
    color-scheme: dark;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.vote-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.vote-input:focus {
    outline: none;
    border-color: #f8ca14;
    box-shadow: 0 0 0 3px rgba(248, 202, 20, 0.15);
}

.vote-input-error {
    border-color: #ff4444;
}

.vote-field-msg {
    color: #ff8080;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: none;
}

/* ---------- Nominee options ---------- */

.vote-category-error {
    border: 1px solid rgba(255, 68, 68, 0.6);
}

.vote-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.vote-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 0;
    -webkit-tap-highlight-color: transparent;
}

.vote-option:hover {
    border-color: rgba(248, 202, 20, 0.6);
    background: rgba(248, 202, 20, 0.08);
}

.vote-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vote-option-label {
    flex: 1;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: none;
    line-height: 1.3;
}

.vote-option-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.65rem;
    color: transparent;
    transition: all 0.25s ease;
}

.vote-option.selected {
    border-color: #f8ca14;
    background: rgba(248, 202, 20, 0.15);
    box-shadow: 0 4px 15px rgba(248, 202, 20, 0.2);
}

.vote-option.selected .vote-option-check {
    background: #f8ca14;
    border-color: #f8ca14;
    color: #8f0304;
}

/* ---------- Confirmation checkboxes ---------- */

.vote-confirm {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.25s ease;
    color: #fff;
    font-weight: 600;
    line-height: 1.5;
    text-transform: none;
    -webkit-tap-highlight-color: transparent;
}

.vote-confirm:hover {
    border-color: rgba(248, 202, 20, 0.6);
}

.vote-confirm input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vote-confirm-box {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: transparent;
    transition: all 0.25s ease;
    margin-top: 2px;
}

.vote-confirm.selected {
    border-color: #f8ca14;
    background: rgba(248, 202, 20, 0.1);
}

.vote-confirm.selected .vote-confirm-box {
    background: #f8ca14;
    border-color: #f8ca14;
    color: #8f0304;
}

/* ---------- Error banner ---------- */

.vote-error-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 68, 68, 0.12);
    border: 1px solid rgba(255, 68, 68, 0.5);
    border-radius: 10px;
    padding: 14px 18px;
    color: #ffb3b3;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: none;
}

/* ---------- Submit button (brand cut-corner CTA) ---------- */

.vote-nav-top {
    text-align: right;
    margin: 0 0 18px;
}

.vote-nav-top .vote-submit {
    min-width: 0;
    padding: 8px 18px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.vote-submit-wrap {
    text-align: center;
    margin-top: 20px;
}

.vote-submit {
    font-size: 15px;
    font-weight: 700;
    font-family: "Chakra Petch", sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    min-width: 240px;
    overflow: hidden;
    border: none;
    border-radius: 0;
    padding: 14px 26px;
    background-size: 200% auto;
    transition: 0.5s;
    cursor: pointer;
    clip-path: polygon(24% 0, 88% 0, 100% 0, 100% 77%, 100% 100%, 0 100%, 0 80%, 0 30%, 7% 0);
    background-image: linear-gradient(to right, #facb3f 0%, #faa64d 50%, #facb3f 100%);
    color: #8f0304;
}

.vote-submit:hover {
    background-image: linear-gradient(to right, #ffffff 0%, #ffffff 50%, #ffffff 100%);
    background-position: right center;
}

.vote-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.vote-submit i {
    margin-right: 8px;
}

@media (max-width: 767px) {
    .vote-submit {
        min-width: 0;
        padding: 10px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .vote-submit {
        padding: 8px 14px;
        font-size: 12px;
    }
    .vote-success-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ---------- Success card ---------- */

.vote-success-card {
    text-align: center;
    padding: 40px 26px;
}

.vote-success-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(to right, #facb3f, #faa64d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #8f0304;
    box-shadow: 0 10px 40px rgba(248, 202, 20, 0.4);
}

.vote-success-title {
    color: #f8ca14;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.vote-success-text {
    color: #e8e8e8;
    max-width: 480px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
}

.vote-success-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- Honeypot ---------- */

.vote-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* ---------- Contact banner (mirrors volunteer page) ---------- */

.vote_container .contact-banner {
    background: #f8ca14;
    border-radius: 10px;
    padding: 25px 30px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vote_container .contact-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.vote_container .contact-icon {
    font-size: 1.8rem;
    color: #8f0304;
    flex-shrink: 0;
}

.vote_container .contact-label,
.vote_container .contact-slogan {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    text-transform: uppercase;
}

.vote_container .contact-email {
    font-weight: 800;
    font-size: 1.2rem;
    color: #8f0304;
    text-decoration: underline;
}

/* ---------- Progress steps ---------- */

.vote-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}

.vote-step {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: default;
    color: rgba(255, 255, 255, 0.55);
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.vote-step.reachable {
    cursor: pointer;
}

.vote-step-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.vote-step-line {
    width: 42px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.vote-step.active {
    color: #f8ca14;
}

.vote-step.active .vote-step-dot {
    border-color: #f8ca14;
    background: #f8ca14;
    color: #8f0304;
    box-shadow: 0 0 0 5px rgba(248, 202, 20, 0.18);
}

.vote-step.done {
    color: #f8ca14;
}

.vote-step.done .vote-step-dot {
    background: #8f0304;
    border-color: #f8ca14;
    color: #f8ca14;
}

.vote-step-line.done {
    background: #f8ca14;
}

.vote-step:not(.active) i {
    font-size: 0.9rem;
}

.vote-step-panel[hidden] {
    display: none;
}

/* ---------- Step 2 intro ---------- */

.vote-picks-intro {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
}

.vote-picks-intro p {
    margin: 0;
    color: #e8e8e8;
    font-size: 1.02rem;
    line-height: 1.6;
    text-transform: none;
}

.vote-picks-intro strong {
    color: #f8ca14;
}

.vote-picks-intro-icon {
    color: #f8ca14;
    font-size: 1.8rem;
    flex-shrink: 0;
}

/* ---------- Category meta (optional / picked / clear) ---------- */

.vote-cat-meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Scoring criteria note — sits between the category header and the nominee
   options, with generous breathing room so it never hugs the fields. */
.vote-cat-scoring {
    margin: 18px 0 22px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 9px;
}

.vote-cat-scoring i {
    color: #f8ca14;
}

.vote-cat-optional {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 4px 12px;
}

.vote-cat-done {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8f0304;
    background: #f8ca14;
    border-radius: 999px;
    padding: 4px 12px;
}

.vote-cat-done i {
    margin-right: 4px;
}

.vote-cat-skip {
    background: none;
    border: none;
    color: #ff8080;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.vote-cat-skip:hover {
    color: #ffaaaa;
}

.vote-category.completed {
    border: 1px solid rgba(248, 202, 20, 0.35);
}

/* ---------- Sticky review bar (step 2) ---------- */

.vote-sticky-bar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 18px;
    margin: 0 0 16px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(248, 202, 20, 0.3);
    border-radius: 12px;
    box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.5);
}

.vote-sticky-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #e8e8e8;
    font-weight: 700;
}

.vote-count-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: #f8ca14;
    line-height: 1;
}

.vote-count-of {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vote-submit i.fa-arrow-right {
    margin-left: 8px;
    margin-right: 0;
}

/* ---------- Review summary ---------- */

.vote-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vote-summary-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
}

.vote-summary-cat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f8ca14;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    min-width: 0;
}

.vote-summary-cat i {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.vote-summary-val {
    flex: 1;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-align: right;
    text-transform: none;
}

.vote-summary-skip {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    font-style: italic;
}

.vote-summary-edit {
    background: none;
    border: none;
    color: #f8ca14;
    font-family: "Chakra Petch", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px;
    flex-shrink: 0;
}

.vote-summary-edit:hover {
    color: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .vote_container {
        width: 94%;
        padding: 100px 0;
    }

    .vote-card {
        padding: 20px 16px;
        margin-bottom: 18px;
    }

    .vote-hero {
        padding: 26px 16px;
    }

    .vote-heading {
        font-size: 1.7rem;
    }

    .vote-subheading {
        font-size: 1.05rem;
    }

    .vote-fields-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vote-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vote-card .section-header h3 {
        font-size: 1.25rem;
    }

    .vote-card .header-icon {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }

    .vote-card .section-header {
        flex-wrap: wrap;
    }

    .vote-step-line {
        width: 20px;
    }

    .vote-step-label {
        font-size: 0.75rem;
        letter-spacing: 0;
    }

    .vote-picks-intro {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .vote-sticky-bar {
        justify-content: center;
        text-align: center;
    }

    .vote-sticky-bar .vote-submit {
        min-width: 100%;
    }

    .vote-summary-row {
        flex-wrap: wrap;
    }

    .vote-summary-val {
        flex: 1 1 100%;
        order: 3;
        text-align: left;
        padding-left: 30px;
    }

    .vote_container .contact-text {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .vote-options-grid {
        grid-template-columns: 1fr;
    }

    .vote-option {
        min-height: 44px;
        padding: 10px 14px;
    }

    .vote-step-label {
        display: none;
    }

    .vote-step-line {
        width: 14px;
    }
}

/* ---------- Returning voter (locked categories + summary) ---------- */

.vote-returning-note {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 4px;
    color: #f8ca14;
    background: rgba(248, 202, 20, 0.08);
    border: 1px solid rgba(248, 202, 20, 0.35);
    border-radius: 9px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.5;
}

.vote-returning-note i {
    flex-shrink: 0;
}

.vote-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vote-category.locked {
    opacity: 0.75;
}

.vote-category.locked .vote-option {
    cursor: not-allowed;
}

.vote-category.locked .vote-option:not(.selected) {
    opacity: 0.45;
}

.vote-category.locked .vote-option:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.vote-cat-locked {
    background: rgba(248, 202, 20, 0.15);
    color: #f8ca14;
    border: 1px solid rgba(248, 202, 20, 0.45);
}

.vote-cat-locked-note {
    margin: 14px 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #e8e8e8;
    font-size: 0.92rem;
}

.vote-cat-locked-note i {
    color: #f8ca14;
}

.vote-cat-locked-note strong {
    color: #f8ca14;
}

.vote-summary-readonly {
    text-align: left;
    margin: 0 auto 26px;
    max-width: 640px;
}

.vote-summary-event {
    margin-top: 8px;
}

.vote-summary-lock {
    color: #f8ca14;
    margin-right: 6px;
    font-size: 0.8rem;
}
