/* Custom SweetAlert2 Center Styling */
.centered-success-popup {
    margin: 0 auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.swal2-popup {
    width: 380px !important;
    padding: 25px !important;
}
/* ====================== VOTE CONTAINER - 2 COLUMN ====================== */
.vote-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0;
    padding: 20px;
}

@media (max-width: 900px) {
    .vote-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ====================== VOTE CARD ====================== */
.vote-card {
    /*background: linear-gradient(145deg, #020617, #0f172a);*/
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
}

.vote-card p {
    text-align: center;
    color: #00f0ff;
    font-size: 18px;
    margin-bottom: 15px;
}

/* Vote Link Button */
.vote-link {
    display: block;
    text-align: center;
    padding: 16px 20px;
    background: linear-gradient(90deg, #00f0ff, #22c55e);
    color: #000;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    margin: 15px 0 25px 0;
    transition: all 0.3s ease;
    font-size: 16px;
}

.vote-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

/* Form Styling */
.vote-form .prot-input-group {
    margin-bottom: 18px;
}

.vote-form .prot-label {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 6px;
    display: block;
}

.vote-form .prot-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #1e293b;
    background: #020617;
    color: #e2e8f0;
    font-size: 14px;
}

.vote-form .prot-input:focus {
    border-color: #00f0ff;
    box-shadow: 0 0 0 3px rgba(0,240,255,0.1);
}

/* Screenshot Upload */
.screenshot-upload {
    border: 2px dashed #00f0ff40;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 240, 255, 0.03);
}

.screenshot-upload:hover {
    border-color: #00f0ff;
    background: rgba(0, 240, 255, 0.08);
}

.screenshot-preview {
    max-width: 100%;
    max-height: 260px;
    border-radius: 10px;
    margin-top: 12px;
    border: 1px solid #00f0ff30;
}

/* Submit Button */
.submit-vote-btn {
    width: 100%;
    padding: 16px;
    margin-top: 15px;
    background: linear-gradient(135deg, #00f0ff, #22c55e);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.submit-vote-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ====================== COUNTDOWN CARD ====================== */
.countdown-card {
    /*background: linear-gradient(145deg, #020617, #0f172a);*/
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    height: 100%;
}

/* Prize Pool */
.prize-pool-container {
    margin-bottom: 25px;
    text-align: left;
}

.prize-pool-label {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 6px;
}

.prize-pool-amount {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    background: #22c55e45;
    margin-bottom: 5px;
    border-radius: 10px;
    padding: 5px;
}

/* Time Left */
.time-left-box {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 12px;
    padding: 12px 20px;
    margin: 20px 0;
    display: inline-block;
}

.time-left {
    font-size: 15px;
    font-weight: 600;
    color: #22c55e;
}

/* Timeline */
.timeline {
    margin-top: 20px;
    text-align: left;
}

.timeline h4 {
    color: #00f0ff;
    margin-bottom: 15px;
    font-size: 15px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-label {
    color: #94a3b8;
    font-size: 14px;
}

.timeline-value {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 14px;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
    font-size: 26px;
    font-weight: 700;
    color: #00f0ff;
}

.countdown-timer span {
    background: rgba(0, 240, 255, 0.1);
    padding: 10px 16px;
    border-radius: 10px;
    min-width: 68px;
    border: 1px solid rgba(0, 240, 255, 0.25);
}

/* ====================== VOTING LIST ====================== */
.vote-list-section {
    margin-top: 40px;
    padding: 0px 100px;
    /*background: linear-gradient(145deg, #020617, #0f172a);*/
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 16px;
    margin-bottom: 50px;
}

.vote-list-section h3 {
    color: #00f0ff;
    margin-bottom: 15px;
}

.search-box {
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 12px 16px;
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 10px;
    color: #e2e8f0;
}

.vote-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    overflow: hidden;
}

.vote-table th {
    background: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
    padding: 12px 15px;
    text-align: left;
    font-size: 13px;
}

.vote-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}

.vote-table tr:hover {
    background: rgba(0, 240, 255, 0.08);
}

.short-address {
    font-family: monospace;
    font-size: 13px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
    .vote-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .vote-list-section {
    margin-top: 40px;
    padding: 0px 20px;
    /*background: linear-gradient(145deg, #020617, #0f172a);*/
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 16px;
}
}