/**
 * Frontend Payment Methods Styles
 *
 * Styles for the payment methods display in the frontend form.
 *
 * @package Wpayme\WordPress\Pay\Forms
 */

.wpayme-pay-payment-methods-container {
    margin: 10px 0;
}

.wpayme-pay-payment-methods-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wpayme-pay-payment-method-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.wpayme-pay-payment-method-item:hover {
    border-color: #aaa;
    background-color: #f9f9f9;
}

.wpayme-pay-payment-method-item input[type="radio"] {
    margin-right: 10px;
}

.wpayme-pay-payment-method-item label {
    display: flex;
    align-items: center;
    flex: 1;
    cursor: pointer;
}

.wpayme-pay-method-name {
    font-weight: 500;
    flex: 1;
}

.wpayme-pay-method-recurring {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 6px;
    background-color: #d9edf7;
    color: #31708f;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.wpayme-pay-loading {
    text-align: center;
    padding: 10px;
    color: #666;
}

.wpayme-pay-no-methods,
.wpayme-pay-error {
    text-align: center;
    padding: 10px;
    color: #a94442;
    background-color: #f2dede;
    border-radius: 4px;
}

/* Selected payment method styling */
.wpayme-pay-payment-method-item input[type="radio"]:checked + label {
    font-weight: bold;
}

.wpayme-pay-payment-method-item input[type="radio"]:checked + label .wpayme-pay-method-name {
    color: #0073aa;
}

.wpayme-pay-payment-method-item input[type="radio"]:checked {
    border-color: #0073aa;
}

/* Make the payment method items more touch-friendly on mobile */
@media (max-width: 768px) {
    .wpayme-pay-payment-method-item {
        padding: 12px;
    }
    
    .wpayme-pay-payment-method-item input[type="radio"] {
        transform: scale(1.2);
    }
} 