/*
 * FamePadi Vote Modal Contrast Fix v2.8.8
 * IMPORTANT: everything is scoped under #vote_modal only.
 */

/* White/light modal surfaces */
#vote_modal .modal-content,
#vote_modal .vx-vote-modal-card,
#vote_modal .vx-vote-panel,
#vote_modal .vx-vote-step,
#vote_modal .vx-review-panel{
    color:#111827!important;
}

/* Headings and section titles on white */
#vote_modal h1,
#vote_modal h2,
#vote_modal h3,
#vote_modal h4,
#vote_modal h5,
#vote_modal h6,
#vote_modal .vx-section-title,
#vote_modal .vx-review-title{
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
}

/* Field labels on white */
#vote_modal label,
#vote_modal .form-label,
#vote_modal .vx-field-label{
    color:#475467!important;
    -webkit-text-fill-color:#475467!important;
}

/* Supporting text */
#vote_modal p,
#vote_modal small,
#vote_modal .text-muted,
#vote_modal .small,
#vote_modal .vx-help,
#vote_modal .vx-note{
    color:#667085!important;
    -webkit-text-fill-color:#667085!important;
}

/* Candidate summary card */
#vote_modal .vx-candidate-mini{
    color:#111827!important;
}
#vote_modal .vx-candidate-mini strong{
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
}
#vote_modal .vx-candidate-mini small{
    color:#667085!important;
    -webkit-text-fill-color:#667085!important;
}

/* Vote type selector cards */
#vote_modal .vx-vote-mode,
#vote_modal .vx-vote-type,
#vote_modal .vx-vote-choice,
#vote_modal .vx-vote-choice-card{
    color:#111827!important;
}
#vote_modal .vx-vote-mode strong,
#vote_modal .vx-vote-type strong,
#vote_modal .vx-vote-choice strong,
#vote_modal .vx-vote-choice-card strong{
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
}
#vote_modal .vx-vote-mode small,
#vote_modal .vx-vote-type small,
#vote_modal .vx-vote-choice small,
#vote_modal .vx-vote-choice-card small{
    color:#667085!important;
    -webkit-text-fill-color:#667085!important;
}

/* Payment channel cards */
#vote_modal .vx-payment-option{
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
}
#vote_modal .vx-payment-option strong,
#vote_modal .vx-payment-option b,
#vote_modal .vx-payment-option span:not(.badge):not(.radio):not(.checkmark){
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
}
#vote_modal .vx-payment-option small,
#vote_modal .vx-payment-option .text-muted{
    color:#667085!important;
    -webkit-text-fill-color:#667085!important;
}

/* Payment method heading */
#vote_modal .vx-payment-title,
#vote_modal .vx-payment-heading{
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
}

/* Reminder box on light background */
#vote_modal .vx-reminder-box,
#vote_modal .vx-abandoned-reminder{
    color:#475467!important;
}
#vote_modal .vx-reminder-box label,
#vote_modal .vx-abandoned-reminder label{
    color:#475467!important;
    -webkit-text-fill-color:#475467!important;
}
#vote_modal .vx-reminder-box small,
#vote_modal .vx-abandoned-reminder small{
    color:#667085!important;
    -webkit-text-fill-color:#667085!important;
}

/* Review step rows */
#vote_modal .vx-review-row,
#vote_modal .vx-review-line{
    color:#344054!important;
}
#vote_modal .vx-review-row strong,
#vote_modal .vx-review-line strong{
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
}

/* Keep dark input fields readable */
#vote_modal input,
#vote_modal textarea,
#vote_modal select{
    -webkit-text-fill-color:currentColor!important;
}
#vote_modal input[style*="background"],
#vote_modal textarea[style*="background"],
#vote_modal select[style*="background"]{
    color:inherit!important;
}

/* Keep intentionally dark/colored areas as designed */
#vote_modal .vx-free-banner strong,
#vote_modal .vx-total-box strong{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}
#vote_modal .vx-free-banner small{
    color:#b8d6ca!important;
    -webkit-text-fill-color:#b8d6ca!important;
}
#vote_modal .vx-total-line strong{
    color:#f6c547!important;
    -webkit-text-fill-color:#f6c547!important;
}

/* Main submit/pay button */
#vote_modal .btn-primary,
#vote_modal .vx-pay-btn,
#vote_modal button[type="submit"]{
    -webkit-text-fill-color:currentColor!important;
}