.vote .per-nominee .loader-container {
    height: auto;
    min-height: 30px;
}

.vote .per-nominee .loader-content {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    gap: 10px;
}

.vote .per-nominee .loader-content .loader {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
}

.vote .per-nominee .loader-content h6 {
    flex: 1;
    min-width: 0;
    margin: 0;
    line-height: 1.6;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.vote-payment-status {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    width: calc(100% - 2rem);
    max-width: 640px;
    margin: 1rem auto;
    padding: 26px;
    color: #f9f2ec;
    background: linear-gradient(135deg, #302023, #21191c);
    border: 1px solid #675043;
    border-left: 3px solid #e8bd72;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
}

.vote-payment-status[hidden],
.vote-payment-status button[hidden],
.vote-results[hidden] {
    display: none !important;
}

.vote-results {
    scroll-margin-top: 100px;
    width: calc(100% - 2rem);
    max-width: 720px;
    margin: 1.5rem auto 3rem;
    padding: 28px;
    color: #f9f2ec;
    background: linear-gradient(135deg, #302023, #21191c);
    border: 1px solid #675043;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
}

.vote-results .vote-results__eyebrow {
    margin: 0 0 8px;
    color: #efc985;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.vote-results h2 {
    margin: 0 0 8px;
    color: #fff8f1;
    font-size: 24px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.vote-results .vote-results__caption {
    margin: 0 0 22px;
    color: #d4c3b8;
    font-size: 13px;
}

.vote-results__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vote-results__nominee {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid #514044;
    border-radius: 12px;
    background: rgb(0 0 0 / 10%);
}

.vote-results__nominee.is-voted {
    border-color: #c49c5d;
    background: rgb(232 189 114 / 6%);
}

.vote-results__nominee img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
}

.vote-results__details { min-width: 0; }
.vote-results__summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.vote-results .vote-results__summary h3 { margin: 0; color: #f9f2ec; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.vote-results__percentage { flex-shrink: 0; color: #efc985; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vote-results__track { height: 9px; overflow: hidden; background: #4c393e; border-radius: 8px; }
.vote-results__bar { height: 100%; background: linear-gradient(90deg, #b98643, #efc985); border-radius: inherit; }
.vote-results__choice { display: inline-block; margin-top: 8px; color: #efc985; font-size: 11px; }
.vote-results .vote-results__note { margin: 20px 0 0; color: #c4b5ac; font-size: 11px; line-height: 1.6; }

@media (max-width: 480px) {
    .vote-results { padding: 20px 16px; }
    .vote-results h2 { font-size: 20px; }
    .vote-results__nominee { grid-template-columns: 40px minmax(0, 1fr); padding: 12px; gap: 10px; }
    .vote-results__nominee img { width: 40px; height: 40px; }
}

.vote-payment-status__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #efc985;
    background: rgb(232 189 114 / 10%);
    border: 1px solid rgb(232 189 114 / 24%);
    border-radius: 14px;
    font-size: 23px;
}

.vote-payment-status__body {
    min-width: 0;
}

.vote-payment-status .vote-payment-status__eyebrow {
    margin: 0 0 6px;
    color: #efc985;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.vote-payment-status h2 {
    margin: 0 0 10px;
    color: #fff8f1;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.vote-payment-status .vote-payment-status__message {
    margin: 0 0 16px;
    color: #e2d4cc;
    font-size: 13px;
    line-height: 1.75;
}

.vote-payment-status .payment-reference {
    margin: 0 0 18px;
    padding: 10px 12px;
    color: #d4c3b8;
    background: rgb(0 0 0 / 15%);
    border: 1px dashed #665047;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 11px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.vote-payment-status .payment-reference:empty {
    display: none;
}

.vote-payment-status__retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 17px;
    color: #f3cf90;
    background: transparent;
    border: 1px solid #bc9559;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.vote-payment-status__retry:hover:not(:disabled) {
    color: #ffe0a8;
    background: rgb(232 189 114 / 12%);
    border-color: #efc985;
}

.vote-payment-status__retry:focus-visible {
    outline: 2px solid #f3cf90;
    outline-offset: 4px;
}

.vote-payment-status__retry:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 480px) {
    .vote-payment-status {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
        padding: 20px 16px;
        border-radius: 14px;
    }

    .vote-payment-status__icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 18px;
    }

    .vote-payment-status h2 {
        font-size: 18px;
    }

    .vote-payment-status__retry {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vote-payment-status__retry {
        transition: none;
    }
}
