/* Styles for the [accb_stripe_pay_button] shortcode's link.
 * Kept deliberately independent of the current theme, so the button always
 * looks the same regardless of which theme/page builder blocks surround it.
 * Adjust colors below to match the site's brand if desired.
 */

.accb-spl-button {
    display: inline-block;
    padding: 0.6em 1.8em;
    background-color: #3f5973;   /* ACCBサイトのメインカラーに合わせています */
    color: #ffffff !important;   /* テーマのリンク色を上書きするため !important */
    text-decoration: none !important;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1;
    border: 2px solid #3f5973;
    transition: all 0.3s ease;
    cursor: pointer;
}

.accb-spl-button:hover {
    background-color: #8ba0b6;
    border-color: #8ba0b6;
    color: #ffffff !important;
}

.accb-spl-button:visited {
    color: #ffffff !important;
}

/* [accb_stripe_invoice_pay_button] renders a <button> (not <a>), which needs its own
 * disabled state while the Checkout Session is being created. */
.accb-spl-button:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Error / info messages shown instead of the button (e.g. "ログインが必要です") */
.accb-spl-error {
    padding: 10px 16px;
    background: #fdecea;
    color: #611a15;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    display: inline-block;
}
