/* =============================================
   Vote Home — WolfK
   ============================================= */

/* Hero / Pricing section background */
#vote-hero {
    background-image: linear-gradient(rgba(10, 28, 16, 0.80), rgba(10, 28, 16, 0.80)),
        url("/Webmain/assets/img/cta-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 130px 0 60px;
}

.vote-section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.vote-section-title p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Search bar */
.vote-search-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(47, 179, 98, 0.5);
    border-radius: 50px;
    padding: 6px 8px 6px 20px;
    min-width: 420px;
    backdrop-filter: blur(6px);
    transition: border-color .2s, box-shadow .2s;
}

.vote-search-wrap:focus-within {
    border-color: #2fb362;
    box-shadow: 0 0 0 3px rgba(47, 179, 98, 0.2);
}

.vote-search-icon {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    margin-right: 10px;
}

.vote-search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: .95rem;
    font-family: inherit;
    padding: 0;
}

.vote-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

.vote-search-btn {
    background: #2fb362;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 22px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}

.vote-search-btn:hover {
    background: #1c6d3a;
}

@media (max-width: 576px) {
    .vote-search-wrap {
        min-width: unset;
        width: 100%;
    }
}

/* Vote card */
.vote-card {
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(47, 179, 98, 0.2);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    color: rgba(255, 255, 255, 0.85);
}

.vote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(47, 179, 98, 0.2);
    border-color: rgba(47, 179, 98, 0.5);
}

.vote-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.vote-card-desc {
    font-size: .9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
}

.vote-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.vote-org-badge {
    font-size: .78rem;
    color: rgba(255, 255, 255, 0.55);
}

.vote-action-btn {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(47, 179, 98, 0.15);
    border: 1px solid rgba(47, 179, 98, 0.4);
    color: #47e475;
    font-size: .9rem;
    font-weight: 600;
    transition: background .2s, border-color .2s;
}

.vote-card:hover .vote-action-btn {
    background: #2fb362;
    border-color: #2fb362;
    color: #fff;
}

/* Empty state */
.vote-empty {
    padding: 60px 0;
    color: rgba(255, 255, 255, 0.5);
}

.vote-empty-title {
    color: #fff;
}

.vote-empty i {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
}

/* How it works section */
#vote-how {
    background: linear-gradient(135deg, #0e3d1e 0%, #1c6d3a 100%);
    padding: 64px 0 72px;
    position: relative;
    overflow: hidden;
}

#vote-how::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.vote-how-header {
    margin-bottom: 48px;
}

.vote-how-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.vote-how-header p {
    color: rgba(255,255,255,0.65);
    font-size: .95rem;
    margin: 0;
}

/* Steps row */
.vote-steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.vote-step-item {
    flex: 1;
    max-width: 280px;
    min-width: 200px;
    text-align: center;
    padding: 0 16px;
}

.vote-step-connector {
    display: flex;
    align-items: center;
    padding-top: 36px;
    color: rgba(255,255,255,0.3);
    font-size: 2rem;
    flex-shrink: 0;
}

.vote-step-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.vote-step-num {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 24px;
    height: 24px;
    background: #2fb362;
    color: #fff;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(47,179,98,0.5);
}

.vote-step-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(47,179,98,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s, transform .2s;
}

.vote-step-icon i {
    font-size: 2rem;
    color: #47e475;
}

.vote-step-item:hover .vote-step-icon {
    background: rgba(47,179,98,0.25);
    border-color: #2fb362;
    transform: translateY(-4px);
}

.vote-step-body h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.vote-step-body p {
    font-size: .85rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .vote-step-connector { display: none; }
    .vote-steps-row { gap: 24px; }
    .vote-step-item { max-width: 100%; min-width: unset; }
}

/* =============================================
   Light mode overrides
   ============================================= */
html:not(.dark-mode) #vote-hero {
    background-image: linear-gradient(rgba(240, 250, 244, 0.97), rgba(240, 250, 244, 0.97)),
        url("/Webmain/assets/img/cta-bg.jpg");
}

html:not(.dark-mode) #vote-how {
    background: linear-gradient(135deg, #1c6d3a 0%, #2fb362 100%);
}

html:not(.dark-mode) .vote-section-title h2,
html:not(.dark-mode) .vote-how-title h2 {
    color: var(--text-heading, #1a1a2e);
}

html:not(.dark-mode) .vote-section-title p {
    color: var(--text-muted, #6c757d);
}

html:not(.dark-mode) .vote-search-wrap {
    background: #fff;
    border-color: rgba(47, 179, 98, 0.4);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

html:not(.dark-mode) .vote-search-icon {
    color: var(--text-muted, #6c757d);
}

html:not(.dark-mode) .vote-search-input {
    color: var(--text-body, #444);
}

html:not(.dark-mode) .vote-search-input::placeholder {
    color: #aaa;
}

html:not(.dark-mode) .vote-card {
    background: #fff;
    border-color: rgba(47, 179, 98, 0.25);
    color: var(--text-body, #444);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

html:not(.dark-mode) .vote-card h3 {
    color: var(--text-heading, #1a1a2e);
}

html:not(.dark-mode) .vote-card-desc {
    color: var(--text-muted, #6c757d);
}

html:not(.dark-mode) .vote-org-badge {
    color: var(--text-muted, #6c757d);
}

html:not(.dark-mode) .vote-action-btn {
    color: var(--primary-600-color, #1c6d3a);
    background: rgba(47, 179, 98, 0.1);
}

html:not(.dark-mode) .vote-empty {
    color: var(--text-muted, #6c757d);
}

html:not(.dark-mode) .vote-empty-title {
    color: var(--text-heading, #1a1a2e);
}

