/* Payment details must remain readable inside both light and dark storefront themes. */
#reviv-payment-card {
    background: #ffffff !important;
    color: #202722 !important;
    text-align: left;
    box-sizing: border-box;
    max-width: 100%;
    color-scheme: light;
}

#reviv-payment-card h2,
#reviv-payment-card p,
#reviv-payment-card strong,
#reviv-payment-card .reviv-copy-payment-status {
    color: #202722 !important;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
    opacity: 1;
}

#reviv-payment-card h2 {
    margin-top: 0;
    line-height: 1.4;
}

#reviv-payment-card .reviv-payment-details {
    background: #f3f6f4 !important;
    color: #202722 !important;
    box-sizing: border-box;
    max-width: 100%;
    font-variant-numeric: tabular-nums;
}

#reviv-payment-card p {
    overflow-wrap: anywhere;
    line-height: 1.65;
}

#reviv-payment-card a {
    color: #155e48 !important;
    -webkit-text-fill-color: currentColor;
    text-decoration: underline;
}

#reviv-payment-card a:hover {
    color: #0c402f !important;
}

#reviv-payment-card .button {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 12px 20px;
    background: #155e48 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: currentColor;
    border: 2px solid #155e48 !important;
    border-radius: 6px;
    font-weight: 700;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
    text-shadow: none;
    opacity: 1;
}

#reviv-payment-card .button:hover,
#reviv-payment-card .button:active {
    background: #0c402f !important;
    border-color: #0c402f !important;
    color: #ffffff !important;
}

#reviv-payment-card a:focus-visible,
#reviv-payment-card button:focus-visible {
    outline: 3px solid #155e48;
    outline-offset: 3px;
}

#reviv-payment-card .reviv-copy-payment-status {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    line-height: 1.5;
}

#reviv-payment-card .reviv-copy-payment-status:empty {
    display: none;
}
