.vote-page-wrapper {
    max-width: 1220px;
    margin: 0 auto;
    padding: 42px 18px 72px;
}

.vote-card-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 34px;
    background: rgba(10, 12, 16, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.vote-hero {
    margin-bottom: 28px;
}

.voteHeader {
    text-align: center;
    margin: 0 auto 12px;
    text-shadow: black 2px 2px 2px;
}

.vote-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: #d7d7d7;
    font-size: 1.08rem;
}

.vote-shell {
    display: grid;
    gap: 18px;
}

.vote-panel {
    background: rgba(24, 27, 33, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    padding: 28px;
}

.vote-panel-primary {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}

.vote-panel-hidden {
    display: none;
}

.vote-panel-header h2 {
    margin-bottom: 8px;
}

.vote-panel-header p {
    color: #d6d6d6;
    margin-bottom: 0;
}

.vote-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.vote-form-row-stacked {
    align-items: center;
    justify-content: center;
}

.usernameInputField,
.form-control:focus {
    flex: 1 1 320px;
    min-height: 54px;
    border-radius: 0;
    background-color: rgba(232, 232, 232, 0.05);
    color: #f0e8e8;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0 18px;
}

.usernameInputField::placeholder {
    color: #cfcfcf;
}

.form-control:focus {
    border-color: rgba(250, 0, 25, 1);
    box-shadow: 0 0 30px -10px rgba(255,0,0,1);
}

.voteActionButton,
.voteSiteButton {
    background: linear-gradient(180deg, rgba(255,0,0,1) 0%, rgba(121,9,9,1) 100%);
    border: none;
    color: white;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.voteActionButton:hover,
.voteSiteButton:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.voteActionButton {
    min-width: 220px;
    min-height: 54px;
    padding: 0 22px;
}

.vote-warning {
    display: none;
    background-color: #8a1f1f;
    color: white;
    padding: 12px;
    margin-top: 12px;
}

.vote-site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.vote-site-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vote-site-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.vote-site-card p {
    margin: 0;
    color: #d4d4d4;
    min-height: 48px;
}

.voteSiteButton {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
}

.vote-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.vote-stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 18px;
}

.vote-stat-label {
    display: block;
    color: #bfbfbf;
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.vote-stat-value {
    font-size: 1.45rem;
    font-weight: 700;
}

.vote-stat-small {
    font-size: 1rem;
    font-weight: 600;
}

.vote-help-box {
    margin-top: 22px;
    background: rgba(255,255,255,0.03);
    border-left: 4px solid #d10000;
    padding: 18px 18px 6px;
}

.vote-help-box h3 {
    margin-bottom: 12px;
}

.vote-help-box ol {
    padding-left: 20px;
}

.voteframe {
    width: 100vw;
    height: 85vh;
}

@media (max-width: 767px) {
    .vote-page-wrapper {
        padding-top: 24px;
    }

    .vote-card-shell,
    .vote-panel {
        padding: 20px;
    }

    .voteActionButton {
        width: 100%;
    }
}


.vote-site-meta {
    color: #b7b7b7;
    font-size: 0.9rem;
}

.vote-empty-state {
    grid-column: 1 / -1;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.12);
    padding: 20px;
    color: #d8d8d8;
    text-align: center;
}
