/**
 * Whalet Payment Gateway Styles
 */

.whalet-payment-form {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 20px;
}

.whalet-payment-field {
    margin-bottom: 15px;
}

.whalet-payment-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.whalet-payment-field select,
.whalet-payment-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.whalet-payment-field select:focus,
.whalet-payment-field input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

.whalet-payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.whalet-payment-method {
    padding: 12px 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.whalet-payment-method:hover {
    border-color: #0073aa;
    background: #f0f6fc;
}

.whalet-payment-method.active {
    border-color: #0073aa;
    background: #e5f1fb;
    box-shadow: 0 0 0 2px #0073aa;
}

.whalet-payment-method.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.whalet-payment-method img {
    max-width: 100%;
    height: auto;
    max-height: 36px;
}

.whalet-payment-method .method-icon-placeholder {
    font-size: 24px;
    line-height: 36px;
}

.whalet-payment-method .method-name {
    margin-top: 6px;
    font-weight: 500;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.whalet-currency-selector {
    margin-top: 15px;
}

.whalet-amount-info {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 13px;
    color: #856404;
}

.whalet-amount-info.error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.whalet-amount-info.success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

@media (max-width: 768px) {
    .whalet-payment-methods {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .whalet-payment-form {
        padding: 15px;
    }
}
