/* ============================================================
   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: 900px;
    margin: 0 auto;
    padding: 150px 0;
    overflow: hidden;
}

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

.vote-card {
    background-color: #00000080;
    border-radius: 15px;
    padding: 40px;
    color: #fff;
    margin-bottom: 40px;
}

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

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

/* 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: 8px 18px;
    margin-bottom: 22px;
    border: 1px solid rgba(248, 202, 20, 0.5);
    border-radius: 999px;
    background: rgba(248, 202, 20, 0.1);
    color: #f8ca14;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.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.3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.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: 25px;
    gap: 15px;
    border-bottom: none;
}

.vote-card .header-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    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.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

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

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

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

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

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

.vote-input {
    width: 100%;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-family: "Chakra Petch", sans-serif;
    font-size: 1rem;
    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: 12px;
}

.vote-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    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.95rem;
    text-transform: none;
    line-height: 1.3;
}

.vote-option-check {
    width: 22px;
    height: 22px;
    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.7rem;
    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: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 15px;
    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-submit-wrap {
    text-align: center;
    margin-top: 30px;
}

.vote-submit {
    font-size: 17px;
    font-weight: 700;
    font-family: "Chakra Petch", sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    min-width: 260px;
    overflow: hidden;
    border: none;
    border-radius: 0;
    padding: 18px 30px;
    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;
}

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

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

.vote-success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    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;
}

/* ---------- 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;
    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;
}

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

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

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

    .vote-hero {
        padding: 35px 18px;
    }

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

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

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

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

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

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

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

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

    .vote-option {
        min-height: 54px;
        padding: 14px 16px;
    }

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