/**
 * Fivered Payment Gateway Blocks Styles
 */

/* Payment Method Container */
.fivered-payment-container {
    margin: 16px 0;
}

.fivered-payment-methods h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c;
}

.fivered-method-options {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.fivered-method-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.fivered-method-option:hover {
    border-color: #0073aa;
    background: #f8f9f9;
}

.fivered-method-option.selected {
    border-color: #0073aa;
    background: #f0f6fc;
}

.fivered-method-option input[type="radio"] {
    margin: 0 8px 0 0;
}

.fivered-method-icon {
    height: 24px;
    margin: 0 8px;
}

.fivered-method-option span {
    font-weight: 500;
    color: #2c2c2c;
}

/* PayPal Button */
.fivered-paypal-button-container {
    margin-top: 16px;
}

.fivered-paypal-button {
    width: 100%;
    padding: 14px 20px;
    background: #ffc439;
    color: #003087;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.fivered-paypal-button:hover:not(:disabled) {
    background: #ffad14;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fivered-paypal-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fivered-paypal-button .components-spinner {
    margin: 0 8px 0 0;
}

/* Cart Block Styles */
.fivered-cart-payment-container {
    padding: 12px 0;
}

.fivered-cart-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fivered-method-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .fivered-method-option {
        padding: 10px 12px;
    }
    
    .fivered-paypal-button {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* WooCommerce Blocks Integration */
.wc-block-components-payment-method .fivered-payment-container {
    border: none;
    padding: 0;
}

.wc-block-components-payment-method .fivered-payment-container .wc-block-components-payment-method-label {
    display: none;
}
