﻿

/* ============================================================
   SURVEYOURS GUEST VOTE CONFIRMATION
   ============================================================ */

.swal2-popup.surveyours-vote-confirm-popup {
    width: 360px !important;
    min-height: 300px;
    padding: 22px 24px 20px !important;
    box-sizing: border-box;
    background-image: url('/img/alerts/vote-background.png') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(8, 40, 78, 0.25);
}

/* Content container */

.surveyours-vote-confirm-html {
    margin: 0 !important;
    padding: 0 !important;
}

.surveyours-vote-confirm-content {
    color: #08284E;
    text-align: center;
}

/* Guest greeting */

.surveyours-vote-title {
    margin: 0 0 10px;
    color: #08284E;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

/* Selected answer */

.surveyours-vote-message {
    margin: 0 0 12px;
    color: #08284E;
    font-size: 16px;
    line-height: 1.45;
}

    .surveyours-vote-message strong {
        color: #08284E;
    }

/* Confirmation question */

.surveyours-vote-question {
    margin: 0 0 8px;
    color: #08284E;
    font-size: 15px;
    line-height: 1.45;
}

/* Button layout */

.surveyours-vote-confirm-actions {
    gap: 8px;
    margin: 16px auto 0 !important;
}

/* Go Back — LEFT BUTTON */

.surveyours-vote-cancel-button {
    padding: 9px 14px !important;
    border: none !important;
    border-radius: 3px !important;
    background: #08284E !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Confirm Vote — RIGHT BUTTON */

.surveyours-vote-confirm-button {
    padding: 9px 14px !important;
    border: none !important;
    border-radius: 3px !important;
    background: #D01C03 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Hover states */

.surveyours-vote-cancel-button:hover {
    background: #104477 !important;
}

.surveyours-vote-confirm-button:hover {
    background: #A81702 !important;
}

/* Mobile sizing */

@media (max-width: 480px) {

    .swal2-popup.surveyours-vote-confirm-popup {
        width: calc(100% - 30px) !important;
        max-width: 360px;
        min-height: 290px;
        padding: 20px 18px !important;
    }
}

/* ============================================================
   SINGLE THUMB BULGE ANIMATION
   ============================================================ */

.surveyours-vote-icon {
    width: 100%;
    height: 55px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Target the original single Font Awesome icon */

    .surveyours-vote-icon i {
        display: inline-block;
        font-size: 46px;
        color: #e55c5e;
        animation: surveyours-thumb-bulge 0.65s ease-out 1;
    }

@keyframes surveyours-thumb-bulge {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}

/*-----------------------------------------------------------------------------------------------------------------------------------------------------*/
/* =====================================================
   SURVEYOURS COMMENT REGISTRATION ALERT
   Original artwork: 1536 x 1024 (3:2)
   ===================================================== */

.surveyours-comment-alert {
    position: relative !important;
    width: min(780px, 94vw) !important;
    aspect-ratio: 3 / 2 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 5px solid #FFFFFF !important;
    border-radius: 26px !important;
    box-shadow: 0 12px 35px rgba(8, 40, 78, 0.25) !important;
    background-color: #dcecff !important;
    background-image: url('/img/alerts/comment-guest-background.png') !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

    /* Keep SweetAlert content within the artwork */

    .surveyours-comment-alert .swal2-html-container {
        position: static !important;
        width: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    /* Title */

    .surveyours-comment-alert .surveyours-alert-title {
        position: absolute !important;
        top: 62% !important;
        left: 6% !important;
        right: 6% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #08284E !important;
        font-size: clamp(17px, 2.5vw, 24px) !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    /* Description */

    .surveyours-comment-alert .surveyours-alert-message {
        position: absolute !important;
        top: 74% !important;
        left: 6% !important;
        right: 6% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #08284E !important;
        font-size: clamp(13px, 1.8vw, 17px) !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }

    /* Button positioning */

    .surveyours-comment-alert .swal2-actions {
        position: absolute !important;
        left: 7% !important;
        right: 7% !important;
        bottom: 7% !important;
        width: 86% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 3% !important;
    }

/* Individual buttons */

.surveyours-alert-register,
.surveyours-alert-close {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    padding: 13px 10px !important;
    border: none !important;
    border-radius: 10px !important;
    color: #FFFFFF !important;
    font-size: clamp(11px, 1.5vw, 16px) !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

/* Red registration button */

.surveyours-alert-register {
    background: #D01C03 !important;
}

/* Blue close button */

.surveyours-alert-close {
    background: #08284E !important;
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 576px) {

    .surveyours-comment-alert {
        width: 94vw !important;
        aspect-ratio: auto !important;
        height: 480px !important;
        border-radius: 22px !important;
        border-width: 4px !important;
        background-size: auto 100% !important;
        background-position: center !important;
    }

        .surveyours-comment-alert .surveyours-alert-title {
            top: 61% !important;
            left: 5% !important;
            right: 5% !important;
            font-size: 18px !important;
        }

        .surveyours-comment-alert .surveyours-alert-message {
            top: 73% !important;
            left: 5% !important;
            right: 5% !important;
            font-size: 13px !important;
        }

        .surveyours-comment-alert .swal2-actions {
            left: 5% !important;
            right: 5% !important;
            width: 90% !important;
            gap: 8px !important;
            bottom: 7% !important;
        }

    .surveyours-alert-register,
    .surveyours-alert-close {
        font-size: 11px !important;
        padding: 11px 5px !important;
    }
}

/* Surveyours logo */

.surveyours-comment-alert .surveyours-alert-logo {
    position: absolute !important;
    top: 5% !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 2;
}

    .surveyours-comment-alert .surveyours-alert-logo img {
        display: block !important;
        width: 250px !important;
        max-width: 250px !important;
        max-height: 65px !important;
        height: auto !important;
        object-fit: contain !important;
        border-radius: 0 !important;
    }

@media (max-width: 576px) {
    .surveyours-comment-alert .surveyours-alert-logo img {
        width: 190px !important;
        max-width: 190px !important;
        max-height: 50px !important;
    }
}

/*-----------------------------------------------------------------------------------------------------------------------------------------------------*/


/* ============================================================
   LETTER GETTERS — GAME OVER ALERT
   Two-stage tile animation and results display
   ============================================================ */

.swal2-popup.lg-gameover-popup {
    width: min(440px, 92vw) !important;
    height: 490px !important;
    min-height: 490px !important;
    max-height: 490px !important;
    box-sizing: border-box !important;
    padding: 22px !important;
    border: 3px solid #08284E !important;
    border-radius: 22px !important;
    background: linear-gradient( 180deg, #D01C31 0%, #D01C31 13%, #F8DDE1 28%, #FAF9F7 45%, #F3F4F7 100% ) !important;
    box-shadow: 0 12px 28px rgba(8,40,78,.24), inset 0 0 0 2px rgba(255,255,255,.8) !important;
    overflow: hidden !important;
    color: #08284E !important;
}

.lg-gameover-popup .swal2-title {
    display: none !important;
}

.lg-gameover-popup .swal2-html-container {
    width: 100% !important;
    height: 350px !important;
    max-height: none !important;
    margin: 12px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.lg-gameover-content {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

/* ============================================================
   GAME OVER LETTER TILES
   Matches the HUD's .lg-slot appearance
   ============================================================ */

.lg-gameover-tiles {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    opacity: 1;
    transition: opacity .2s ease;
}

.lg-gameover-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 9px auto;
}

.lg-gameover-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 68px;
    flex: 0 0 62px;
    box-sizing: border-box;
    border: 2px solid #B7BBC4;
    border-radius: 10px;
    background: linear-gradient( 145deg, #FFFFFF 0%, #F4F5F7 55%, #DDE1E7 100% );
    color: #08284E;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: inset 0 2px 3px rgba(255,255,255,.95), inset 0 -3px 5px rgba(8,40,78,.08), 0 3px 6px rgba(8,40,78,.18);
    animation: lgGameOverEnter .4s ease-out both;
}

@keyframes lgGameOverEnter {
    from {
        opacity: 0;
        transform: translateY(-18px) scale(.85);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================================
   FALLING TILE ANIMATION
   ============================================================ */

.lg-gameover-popup.lg-gameover-falling
.lg-gameover-tile {
    animation: lgGameOverFall .85s cubic-bezier(.55,.05,.8,.4) forwards;
    animation-delay: var(--fall-delay, 0s);
}

@keyframes lgGameOverFall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: translateY(280px) rotate(var(--fall-rotation, 25deg));
    }
}

/* ============================================================
   RESULTS — SPACE RESERVED FROM THE BEGINNING
   Prevents popup resizing between stages
   ============================================================ */

.lg-gameover-results {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease, visibility .5s ease;
}

.lg-gameover-popup.lg-gameover-show-results
.lg-gameover-results {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/*.lg-gameover-results h3 {
    margin: 8px 0 16px;
    color: #08284E;
    font-size: 1.5rem;
    font-weight: 900;
}

.lg-gameover-result-details {
    padding: 16px 10px;
    border-radius: 12px;
    background: #08284E;
    color: #FFFFFF;
    font-size: .95rem;
    line-height: 1.9;
}*/

.lg-gameover-results h3 {
    margin: 8px 0 20px;
    color: #08284E;
    font-size: 1.9rem;
    font-weight: 900;
}

.lg-gameover-result-details {
    padding: 20px 14px;
    border-radius: 12px;
    background: #08284E;
    color: #FFFFFF;
    font-size: 1.15rem;
    line-height: 2;
}

/* ============================================================
   CLOSE BUTTON
   ============================================================ */

.lg-gameover-popup .swal2-actions {
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
}

.lg-gameover-popup .swal2-confirm {
    min-width: 135px;
    margin: 0 !important;
    padding: 10px 28px !important;
    border-radius: 9px !important;
    background: #D01C31 !important;
    color: #FFFFFF !important;
    font-size: 1rem !important;
    box-shadow: none !important;
    visibility: hidden;
}

.lg-gameover-popup.lg-gameover-show-results
.swal2-confirm {
    visibility: visible;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .swal2-popup.lg-gameover-popup {
        width: 92vw !important;
        padding: 16px !important;
    }

    .lg-gameover-tile {
        width: 54px;
        height: 60px;
        flex-basis: 54px;
        font-size: 1.7rem;
    }

    .lg-gameover-row {
        gap: 6px;
    }
}
/*-----------------------------------------------------------------------------------------------------------------------------------------------------*/

/* ============================================================
   LETTER GETTERS — YOU WON ALERT
   Continuous dancing tiles and stationary winner message
   ============================================================ */

.lg-winner-popup .swal2-confirm {
    visibility: visible !important;
}

.lg-winner-content {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TROPHY */
.lg-winner-trophy {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    margin: 0 auto 1px;
    filter: drop-shadow(0 4px 4px rgba(8,40,78,.25));
    animation: lgTrophyFloat 2s ease-in-out infinite;
}

@keyframes lgTrophyFloat {
    0%, 100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-7px) rotate(4deg);
    }
}

/* WINNING TILES */

.lg-winner-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 2px auto;
}

.lg-winner-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 68px;
    flex: 0 0 62px;
    box-sizing: border-box;
    border: 2px solid #B7BBC4;
    border-radius: 10px;
    background: linear-gradient( 145deg, #FFFFFF 0%, #F4F5F7 55%, #DDE1E7 100% );
    color: #08284E;
    font-size: 2.2rem;
    font-weight: 900;
    box-shadow: inset 0 2px 3px rgba(255,255,255,.95), inset 0 -3px 5px rgba(8,40,78,.08), 0 3px 6px rgba(8,40,78,.18);
    animation: lgWinnerDance 1.35s ease-in-out infinite;
    animation-delay: var(--dance-delay);
}

@keyframes lgWinnerDance {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }

    25% {
        transform: translateY(-10px) rotate(4deg);
    }

    50% {
        transform: translateY(0) rotate(-2deg);
    }

    75% {
        transform: translateY(-6px) rotate(3deg);
    }
}

/* STATIONARY WINNER MESSAGE */

.lg-winner-message {
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
    padding: 9px 10px;
    border-radius: 12px;
    background: #08284E;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

    .lg-winner-message strong {
        color: #FFFFFF;
        font-weight: 900;
    }

/* MOBILE */

@media (max-width: 480px) {
    .lg-winner-tile {
        width: 54px;
        height: 60px;
        flex-basis: 54px;
        font-size: 1.8rem;
    }

    .lg-winner-row {
        gap: 6px;
    }

    .lg-winner-message {
        font-size: .95rem;
    }
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------------------*/


/* ============================================================
   LETTER GETTERS — GUEST VOTE INVITATION (3RD VOTE)
   ============================================================ */

/* POPUP */

.lg-guest-vote-popup {
    width: min(92vw, 680px) !important;
    max-width: 680px !important;
    padding: 0 !important;
    border: 3px solid #08284E !important;
    border-radius: 20px !important;
    background: #EAEAEA !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

    .lg-guest-vote-popup .swal2-html-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

/* UPPER BRANDING SECTION — FULL WIDTH GRAY */

/* UPPER BRANDING SECTION — FULL WIDTH GRAY */

.lg-guest-vote-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    margin: 0;
    background: #EAEAEA;
    box-shadow: 0 5px 9px -2px rgba(8, 40, 78, 0.28);
}

    .lg-guest-vote-brand .letter-getters-medallion {
        width: 76px;
        height: 76px;
    }

    .lg-guest-vote-brand .letter-getters-label {
        transform: none !important;
        margin-left: 4px;
        align-items: flex-start;
    }

        .lg-guest-vote-brand .letter-getters-label > span {
            color: #08284E;
            font-size: 21px;
            font-weight: 800;
        }

        .lg-guest-vote-brand .letter-getters-label > small {
            color: #555;
            font-size: 12px;
        }

/* LOWER PROMOTIONAL SECTION */

.lg-guest-vote-lower {
    padding: 17px 25px 12px;
    background-image: url('/img/alerts/vote_background_horizontal.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* INVITATION MESSAGE */

.lg-guest-vote-message {
    max-width: 540px;
    margin: 0 auto 12px;
    color: #08284E;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

/* CASH PROMOTIONAL IMAGE */

.lg-guest-vote-cash {
    display: block;
    width: 70%;
    max-width: 310px;
    max-height: 105px;
    object-fit: contain;
    margin: 8px auto 5px;
}

/* BUTTON AREA — CONTINUE BLUE BACKGROUND */

.lg-guest-vote-popup .swal2-actions {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 10px 15px 20px !important;
    gap: 12px;
    background-image: url('/img/alerts/vote_background_horizontal.png');
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.lg-guest-vote-popup .swal2-confirm,
.lg-guest-vote-popup .swal2-cancel {
    min-width: 145px;
    padding: 11px 20px !important;
    border-radius: 9px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* MOBILE */

@media (max-width: 520px) {

    .lg-guest-vote-popup {
        width: 94vw !important;
        padding: 0 !important;
    }

    .lg-guest-vote-brand .letter-getters-medallion {
        width: 62px;
        height: 62px;
    }

    .lg-guest-vote-brand .letter-getters-label > span {
        font-size: 18px;
    }

    .lg-guest-vote-message {
        font-size: 16px;
    }

    .lg-guest-vote-cash {
        width: 85%;
        max-height: 85px;
    }

    .lg-guest-vote-popup .swal2-actions {
        flex-wrap: wrap;
    }

    .lg-guest-vote-popup .swal2-confirm,
    .lg-guest-vote-popup .swal2-cancel {
        min-width: 125px;
    }
}

/* ============================================================
   SIXTH-VOTE ALERT — UNLOCK ALL FEATURES
   ============================================================ */

/* POPUP — BACKGROUND COVERS THE ENTIRE ALERT */
.lg-sixth-vote-popup {
    width: min(92vw, 680px) !important;
    max-width: 680px !important;
    padding: 0 !important;
    border: 3px solid #08284E !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background-image: url('/img/alerts/vote_background_horizontal.png') !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

    /* REMOVE DEFAULT CONTENT BACKGROUND AND SPACING */
    .lg-sixth-vote-popup .swal2-html-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

/* MAIN CONTENT */
.lg-sixth-vote-content {
    width: 100%;
    box-sizing: border-box;
    padding: 28px 30px 15px;
    color: #08284E;
    text-align: center;
}

/* HEADING */
.lg-sixth-vote-heading {
    max-width: 550px;
    margin: 0 auto 22px;
    color: #08284E;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

/* FEATURE LIST */
.lg-sixth-vote-features {
    display: inline-block;
    margin: 0 auto 22px;
    padding: 0;
    list-style: none;
    text-align: left;
}

    .lg-sixth-vote-features li {
        position: relative;
        margin: 12px 0;
        padding-left: 30px;
        color: #08284E;
        font-size: 19px;
        font-weight: 700;
        line-height: 1.4;
    }

        .lg-sixth-vote-features li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: #08284E;
            font-size: 21px;
            font-weight: 900;
        }

/* FREE ACCOUNT MESSAGE */
.lg-sixth-vote-free {
    margin: 8px auto 0;
    color: #08284E;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
}

/* BUTTON AREA — SAME BACKGROUND CONTINUES */
.lg-sixth-vote-popup .swal2-actions {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 12px 15px 22px !important;
    gap: 12px;
    background: transparent !important;
}

.lg-sixth-vote-popup .swal2-confirm,
.lg-sixth-vote-popup .swal2-cancel {
    min-width: 145px;
    padding: 11px 20px !important;
    border-radius: 9px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* MOBILE */
@media (max-width: 520px) {

    .lg-sixth-vote-popup {
        width: 94vw !important;
    }

    .lg-sixth-vote-content {
        padding: 23px 18px 12px;
    }

    .lg-sixth-vote-heading {
        font-size: 21px;
    }

    .lg-sixth-vote-features li {
        font-size: 16px;
        margin: 11px 0;
    }

    .lg-sixth-vote-free {
        font-size: 16px;
    }

    .lg-sixth-vote-popup .swal2-actions {
        flex-wrap: wrap;
    }

    .lg-sixth-vote-popup .swal2-confirm,
    .lg-sixth-vote-popup .swal2-cancel {
        min-width: 125px;
    }
}

/* ============================================================
   NINTH-VOTE ALERT — CREATE AN ACCOUNT REMINDER
   ============================================================ */

.lg-ninth-vote-popup {
    width: min(92vw, 680px) !important;
    max-width: 680px !important;
    padding: 0 !important;
    border: 3px solid #08284E !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background-image: url('/img/alerts/vote_background_horizontal.png') !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

    .lg-ninth-vote-popup .swal2-html-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

.lg-ninth-vote-content {
    width: 100%;
    box-sizing: border-box;
    padding: 25px 30px 20px;
    text-align: center;
}

/* SURVEOURS LOGO */
.lg-ninth-vote-logo {
    display: block;
    width: 200px;
    max-width: 65%;
    height: auto;
    margin: 0 auto 22px;
}

/* PULSATING ACCOUNT MESSAGE */
.lg-ninth-vote-pulse {
    margin: 0 auto 20px;
    color: #08284E;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
    animation: lg-ninth-vote-pulse 1.5s ease-in-out infinite;
}

@keyframes lg-ninth-vote-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(1.035);
    }
}

/* MEMBERSHIP NOTICE */
.lg-ninth-vote-message {
    max-width: 530px;
    margin: 0 auto;
    color: #08284E;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

/* BUTTON AREA */
.lg-ninth-vote-popup .swal2-actions {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 12px 15px 22px !important;
    gap: 12px;
    background: transparent !important;
}

.lg-ninth-vote-popup .swal2-confirm,
.lg-ninth-vote-popup .swal2-cancel {
    min-width: 145px;
    padding: 11px 20px !important;
    border-radius: 9px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* MOBILE */
@media (max-width: 520px) {

    .lg-ninth-vote-popup {
        width: 94vw !important;
    }

    .lg-ninth-vote-content {
        padding: 22px 18px 15px;
    }

    .lg-ninth-vote-logo {
        width: 150px;
    }

    .lg-ninth-vote-pulse {
        font-size: 20px;
    }

    .lg-ninth-vote-message {
        font-size: 16px;
    }

    .lg-ninth-vote-popup .swal2-actions {
        flex-wrap: wrap;
    }

    .lg-ninth-vote-popup .swal2-confirm,
    .lg-ninth-vote-popup .swal2-cancel {
        min-width: 125px;
    }
}


/* ============================================================
   TENTH-VOTE ALERT — FINAL TRIAL VOTE / ACCOUNT REQUIRED
   ============================================================ */

/* POPUP */
.lg-tenth-vote-popup {
    width: min(92vw, 680px) !important;
    max-width: 680px !important;
    padding: 0 !important;
    border: 3px solid #08284E !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background-image: url('/img/alerts/vote_background_horizontal.png') !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

    /* REMOVE DEFAULT CONTENT BACKGROUND AND SPACING */
    .lg-tenth-vote-popup .swal2-html-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

/* MAIN CONTENT */
.lg-tenth-vote-content {
    width: 100%;
    box-sizing: border-box;
    padding: 25px 30px 20px;
    text-align: center;
}

/* SURVEOURS LOGO */
.lg-tenth-vote-logo {
    display: block;
    width: 200px;
    max-width: 65%;
    height: auto;
    margin: 0 auto 22px;
}

/* FINAL TRIAL VOTE HEADING */
.lg-tenth-vote-heading {
    max-width: 550px;
    margin: 0 auto 18px;
    color: #08284E;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

/* ACCOUNT MESSAGE */
.lg-tenth-vote-message {
    margin: 0 auto;
    color: #08284E;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

/* COMMUNITY MESSAGE */
.lg-tenth-vote-community {
    margin: 14px auto 0;
    color: #08284E;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

/* BUTTON AREA */
.lg-tenth-vote-popup .swal2-actions {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 12px 15px 22px !important;
    gap: 12px;
    background: transparent !important;
}

/* SIGN UP BUTTON */
.lg-tenth-vote-popup .swal2-confirm {
    min-width: 165px;
    padding: 12px 24px !important;
    border-radius: 9px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* MOBILE */
@media (max-width: 520px) {

    .lg-tenth-vote-popup {
        width: 94vw !important;
    }

    .lg-tenth-vote-content {
        padding: 22px 18px 15px;
    }

    .lg-tenth-vote-logo {
        width: 165px;
    }

    .lg-tenth-vote-heading {
        font-size: 20px;
    }

    .lg-tenth-vote-message {
        font-size: 16px;
    }

    .lg-tenth-vote-community {
        font-size: 17px;
    }

    .lg-tenth-vote-popup .swal2-confirm {
        min-width: 145px;
    }
}


/* ============================================================
   SURVEYOURS — HOMEPAGE VOTING ALERTS
   CSS ONLY — ORIGINAL JAVASCRIPT COMPATIBLE

   1. Vote Recorded
   2. Already Voted
   3. Vote Submission Error

   Background: /img/alerts/vote_alert_background.png
   Logo:       /img/Logo.png
   ============================================================ */


/* ------------------------------------------------------------
   SWEETALERT2 POPUP
   ------------------------------------------------------------ */

.surveyours-vote-alert-popup {
    position: relative !important;
    width: 450px !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 92vw !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border: none !important;
    border-radius: 24px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}


    /* ------------------------------------------------------------
   SWEETALERT2 HTML CONTAINER
   ------------------------------------------------------------ */

    .surveyours-vote-alert-popup .surveyours-vote-alert-html {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------------
   ALERT CARD
   ------------------------------------------------------------ */

    .surveyours-vote-alert-popup .surveyours-vote-alert {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 507 / 412 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 24px !important;
        background-color: #FFFFFF !important;
        background-image: url('/img/alerts/vote_alert_background.png') !important;
        background-size: 100% 100% !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        box-shadow: 0 12px 35px rgba(8, 40, 78, 0.30) !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------------
   LOGO
   ------------------------------------------------------------ */

    .surveyours-vote-alert-popup .surveyours-vote-logo {
        position: absolute !important;
        top: 7% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: block !important;
        width: 220px !important;
        max-width: 48% !important;
        max-height: 58px !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        z-index: 2 !important;
    }


    /* ------------------------------------------------------------
   ICON CONTAINER
   ------------------------------------------------------------ */

    .surveyours-vote-alert-popup .surveyours-vote-icon {
        position: absolute !important;
        top: 27% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 82px !important;
        height: 82px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }


    /* ------------------------------------------------------------
   SUCCESS — ANIMATED CHECKMARK
   ------------------------------------------------------------ */

    .surveyours-vote-alert-popup .surveyours-vote-success svg {
        display: block !important;
        width: 82px !important;
        height: 82px !important;
        overflow: visible !important;
    }

    .surveyours-vote-alert-popup .vote-success-circle {
        fill: #EAF7E5;
        stroke: #58A927;
        stroke-width: 3;
        stroke-dasharray: 271;
        stroke-dashoffset: 271;
        animation: voteCircleDraw 0.65s ease-out forwards;
    }

    .surveyours-vote-alert-popup .vote-success-check {
        fill: none;
        stroke: #278A18;
        stroke-width: 7;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 75;
        stroke-dashoffset: 75;
        animation: voteCheckDraw 0.55s ease-out 0.65s forwards;
    }

@keyframes voteCircleDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes voteCheckDraw {
    to {
        stroke-dashoffset: 0;
    }
}


/* ------------------------------------------------------------
   WARNING — ALREADY VOTED
   ------------------------------------------------------------ */

.surveyours-vote-alert-popup .surveyours-vote-warning svg {
    display: block !important;
    width: 82px !important;
    height: 82px !important;
    overflow: visible !important;
    animation: voteWarningVibrate 0.65s ease-in-out 0.15s 2;
}

.surveyours-vote-alert-popup .vote-warning-circle {
    fill: #FFF2E5;
    stroke: #F28A36;
    stroke-width: 3;
}

.surveyours-vote-alert-popup .vote-warning-mark {
    fill: none;
    stroke: #E87525;
    stroke-width: 7;
    stroke-linecap: round;
    animation: voteMarkPulse 0.65s ease-in-out 0.15s 2;
}


/* ------------------------------------------------------------
   ERROR — VOTE SUBMISSION FAILED
   ------------------------------------------------------------ */

.surveyours-vote-alert-popup .surveyours-vote-error svg {
    display: block !important;
    width: 86px !important;
    height: 82px !important;
    overflow: visible !important;
    transform-origin: center;
    animation: voteWarningVibrate 0.65s ease-in-out 0.15s 2;
}

.surveyours-vote-alert-popup .vote-error-triangle {
    fill: #FFF0E9;
    stroke: #D94A32;
    stroke-width: 3;
    stroke-linejoin: round;
}

.surveyours-vote-alert-popup .vote-error-mark {
    fill: none;
    stroke: #D01C03;
    stroke-width: 7;
    stroke-linecap: round;
}


/* ------------------------------------------------------------
   WARNING ANIMATIONS
   ------------------------------------------------------------ */

@keyframes voteWarningVibrate {
    0%, 100% {
        transform: translateX(0) rotate(0);
    }

    15% {
        transform: translateX(-4px) rotate(-4deg);
    }

    30% {
        transform: translateX(4px) rotate(4deg);
    }

    45% {
        transform: translateX(-3px) rotate(-3deg);
    }

    60% {
        transform: translateX(3px) rotate(3deg);
    }

    75% {
        transform: translateX(-1px) rotate(-1deg);
    }
}

@keyframes voteMarkPulse {
    50% {
        opacity: 0.55;
    }
}


/* ------------------------------------------------------------
   ALERT TITLE
   ------------------------------------------------------------ */

.surveyours-vote-alert-popup .surveyours-vote-title {
    position: absolute !important;
    top: 52% !important;
    left: 5% !important;
    right: 5% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #08284E !important;
    font-size: clamp(19px, 3vw, 27px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center !important;
}


/* ------------------------------------------------------------
   ALERT MESSAGE
   ------------------------------------------------------------ */

.surveyours-vote-alert-popup .surveyours-vote-message {
    position: absolute !important;
    top: 65% !important;
    left: 8% !important;
    right: 8% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #414650 !important;
    font-size: clamp(13px, 1.9vw, 17px) !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    text-align: center !important;
}


/* ------------------------------------------------------------
   SWEETALERT2 ACTIONS
   ------------------------------------------------------------ */

.surveyours-vote-alert-popup .swal2-actions {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 8% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 5 !important;
}


/* ------------------------------------------------------------
   OK BUTTON
   ------------------------------------------------------------ */

.surveyours-vote-alert-popup .surveyours-vote-alert-button {
    min-width: 110px !important;
    min-height: 43px !important;
    padding: 9px 28px !important;
    border: none !important;
    border-radius: 11px !important;
    background: #08284E !important;
    color: #FFFFFF !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 7px rgba(8, 40, 78, 0.25) !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

    .surveyours-vote-alert-popup .surveyours-vote-alert-button:hover {
        background: #104477 !important;
        transform: translateY(-2px);
    }

    .surveyours-vote-alert-popup .surveyours-vote-alert-button:focus {
        box-shadow: 0 0 0 3px rgba(8, 40, 78, 0.2) !important;
    }


/* ------------------------------------------------------------
   MOBILE LAYOUT
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    .surveyours-vote-alert-popup {
        width: 94vw !important;
        max-width: 94vw !important;
    }

        .surveyours-vote-alert-popup .surveyours-vote-alert {
            border-radius: 17px !important;
        }

        .surveyours-vote-alert-popup .surveyours-vote-logo {
            top: 7% !important;
            width: 175px !important;
            max-width: 49% !important;
            max-height: 43px !important;
        }

        .surveyours-vote-alert-popup .surveyours-vote-icon {
            top: 27% !important;
            width: 68px !important;
            height: 68px !important;
        }

            .surveyours-vote-alert-popup .surveyours-vote-icon svg {
                width: 68px !important;
                height: 68px !important;
            }

        .surveyours-vote-alert-popup .surveyours-vote-title {
            top: 53% !important;
            font-size: clamp(17px, 5vw, 22px) !important;
        }

        .surveyours-vote-alert-popup .surveyours-vote-message {
            top: 65% !important;
            left: 7% !important;
            right: 7% !important;
            font-size: clamp(12px, 3.5vw, 15px) !important;
        }

        .surveyours-vote-alert-popup .swal2-actions {
            bottom: 8% !important;
        }

        .surveyours-vote-alert-popup .surveyours-vote-alert-button {
            min-width: 96px !important;
            min-height: 39px !important;
            font-size: 15px !important;
        }
}


/* ------------------------------------------------------------
   ACCESSIBILITY — REDUCED MOTION
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    .surveyours-vote-alert-popup .surveyours-vote-success .vote-success-circle,
    .surveyours-vote-alert-popup .surveyours-vote-success .vote-success-check,
    .surveyours-vote-alert-popup .surveyours-vote-warning svg,
    .surveyours-vote-alert-popup .surveyours-vote-warning .vote-warning-mark,
    .surveyours-vote-alert-popup .surveyours-vote-error svg {
        animation: none !important;
    }

    .surveyours-vote-alert-popup .vote-success-circle,
    .surveyours-vote-alert-popup .vote-success-check {
        stroke-dashoffset: 0;
    }
}

