/* Wrapper کل صفحه */
#vote-app-wrapper {
    direction: rtl;
    font-family: Vazirmatn, system-ui, sans-serif;
    background: #ffffff;
    color: #1f2937;
    padding: 60px 40px;
    min-height: 100vh;
    box-sizing: border-box;
}

/* پنل کنترل */
#vote-app-wrapper .control-panel {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

/* اطلاعات رأی */
#vote-app-wrapper .vote-info {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

/* کارت رأی */
#vote-app-wrapper .vote-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid #d1d5db;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* تصویر داخل کارت */
#vote-app-wrapper .vote-card img {
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #3b82f6;
}

/* عنوان گزینه */
#vote-app-wrapper .vote-card h6 {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: #111827;
}

/* شمارش رأی */
#vote-app-wrapper .vote-count {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 12px;
}

/* دکمه رأی */
#vote-app-wrapper .btn-vote {
    width: 100%;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    background: transparent;
    margin-top: auto;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* دکمه غیر فعال */
#vote-app-wrapper .btn-vote:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* فرم‌ها */
#vote-app-wrapper .form-control {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    color: #111827;
    border-radius: 12px;
    font-size: 16px;
    padding: 10px 14px;
}
#vote-app-wrapper .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59,130,246,0.15);
}

/* پیام خطا */
#vote-app-wrapper .error-text {
    color: #ef4444;
    text-align: center;
    margin-top: 12px;
    font-weight: 600;
    font-size: 16px;
}

/* نتایج نهایی */
#vote-app-wrapper #winnerList {
    margin-top: 35px;
    padding: 22px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}
#vote-app-wrapper #winnerList h5 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    color: #3b82f6;
    font-weight: 700;
}
#vote-app-wrapper #winnerList li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
}
#vote-app-wrapper #winnerList img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #3b82f6;
}
