/**
 * Flutterwave Checkout Styles
 *
 * @package FlutterwaveFluentCart
 * @since 1.0.0
 */

/* Button Wrapper */
.fct-flutterwave-button-wrapper {
    margin-top: 16px;
    text-align: center;
}

/* Pay Button Styles */
.fct-flutterwave-pay-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #F5A623 0%, #FF8C00 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 50px;
}

.fct-flutterwave-pay-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #FF8C00 0%, #F5A623 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

.fct-flutterwave-pay-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fct-flutterwave-pay-button:active:not(:disabled) {
    transform: translateY(0);
}

.fct-flw-btn-loader svg {
    display: block;
}

.fct-flutterwave-extra-text {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

/* Spinner Animation */
.spinner {
    transform-origin: center;
    animation: spinner .75s linear infinite;
}

@keyframes spinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Payment Info Section */
.fct-flutterwave-info {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
    margin-bottom: 20px;
}

.fct-flutterwave-header {
    text-align: center;
    margin-bottom: 16px;
}

.fct-flutterwave-subheading {
    margin: 0;
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.fct-flutterwave-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.fct-flutterwave-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 70px;
}

.fct-flutterwave-method:hover {
    border-color: #F5A623;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.15);
}

.fct-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5A623;
    margin-bottom: 6px;
}

.fct-method-icon svg {
    width: 28px;
    height: 28px;
}

.fct-method-name {
    font-size: 11px;
    font-weight: 500;
    color: #555;
    text-align: center;
}

/* Error Styles */
.fct-flutterwave-error {
    color: #dc3545;
    font-size: 14px;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
    background: #fff5f5;
    border-radius: 4px;
    border: 1px solid #ffebee;
}

/* Generic Error Message */
.fct-error-message {
    color: red;
    padding: 10px;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .fct-flutterwave-info {
        padding: 16px;
    }

    .fct-flutterwave-methods {
        gap: 8px;
    }

    .fct-flutterwave-method {
        padding: 10px 12px;
        min-width: 60px;
    }

    .fct-method-icon svg {
        width: 24px;
        height: 24px;
    }

    .fct-method-name {
        font-size: 10px;
    }
}
