/**
 * Stripe Express Checkout Button Styles
 *
 * @version 1.0.0
 * @created 2025-11-06
 */

/* ========== CONTAINER ========== */
.express-checkout-wrapper {
    margin: 20px 0;
    padding: 20px 0;
}

/* ========== DIVIDER ========== */
.express-checkout-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
}

.express-checkout-divider::before,
.express-checkout-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.express-checkout-divider span {
    padding: 0 10px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* ========== DUMMY BUTTON ========== */
.stripe-express-dummy,
#dummy-express-button {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(to bottom, #0070ba 0%, #005ea6 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 12px;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stripe-express-dummy:hover,
#dummy-express-button:hover {
    background: linear-gradient(to bottom, #005ea6 0%, #004a8a 100%);
}

.stripe-express-dummy:active,
#dummy-express-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ========== ICONS ========== */
.express-icon-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.express-icon,
.express-paypal-icon {
    height: 24px;
    width: auto;
    fill: #fff;
    color: #fff;
    vertical-align: middle;
}

.express-paypal-icon {
    margin-right: 10px;
}

.express-text {
    font-size: 18px;
    font-weight: 600;
}

/* ========== LOADING SPINNER ========== */
.express-loading,
#express-loading {
    display: none;
    text-align: center;
    padding: 16px;
    color: #666;
    font-size: 14px;
}

.express-loading.active,
#express-loading.active {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.express-loading .spinner,
#express-loading .spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0070ba;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.express-loading span,
#express-loading span {
    color: #666;
    font-size: 14px;
}

/* ========== DIVIDERS ========== */
.express-divider-top,
.express-divider-bottom {
    margin: 16px 0;
}

.express-divider-top .clearfix,
.express-divider-bottom .clearfix {
    display: flex;
    align-items: center;
    justify-content: center;
}

.express-divider-top hr,
.express-divider-bottom hr {
    flex: 1;
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 10px;
}

.express-divider-top span,
.express-divider-bottom span {
    color: #666;
    font-size: 14px;
}

.express-divider-bottom span {
    font-size: 12px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .express-checkout-wrapper {
        margin: 15px 0;
        padding: 15px 0;
    }

    .stripe-express-dummy,
    #dummy-express-button {
        padding: 12px 20px;
        font-size: 16px;
    }
}
