/* --- General Body and Container Styles --- */
.lp-checkout .lp-checkout-form {
    font-family: 'Inter', sans-serif;
}

/* --- Hide the original LearnPress Offline Payment method container entirely --- */
.lp-checkout-form .lp-payment-method.lp-payment-method-offline-payment {
    display: none !important;
}

/* --- Hide the original description for the offline payment method --- */
.payment-method-form.payment_method_offline-payment {
    display: none !important;
}

/* --- Main Payment Card Container --- */
.payment-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

/* --- Card Title and Sections --- */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

/* --- Payment Options Container --- */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* --- Individual Payment Option --- */
.payment-option {
    display: block; /* Make the whole label clickable */
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Add a subtle shadow on hover */
.payment-option:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Style for the selected option */
.payment-option.selected {
    border-color: #2a64c0;
    background-color: #f6f9fc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- Inner Content of the Option --- */
.option-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

/* --- Hidden radio button --- */
.payment-option input[type="radio"] {
    display: none;
}

/* --- Custom Radio Circle --- */
.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #a0a0a0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.2s ease;
}

.payment-option.selected .radio-circle {
    border-color: #2a64c0;
    background-color: #2a64c0;
}

.payment-option.selected .radio-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
}

/* --- Payment Icons and Names --- */
.payment-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 4px; /* Optional: adds a slight curve to the icon */
}

.payment-name {
    font-size: 1rem;
    font-weight: 500;
    color: #333333;
}

/* --- Input Fields and Labels --- */
.form-row.form-row-wide {
    margin-bottom: 15px;
}

.input-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555555;
    margin-bottom: 5px;
    display: block;
}

.input-text {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-text:focus {
    outline: none;
    border-color: #2a64c0;
    box-shadow: 0 0 0 3px rgba(42, 100, 192, 0.2);
}

/* --- Important Note Section --- */
.payment-instructions {
    background-color: #fffde7;
    border: 1px solid #ffe57f;
    border-radius: 8px;
    padding: 15px;
    font-size: 0.9rem;
    color: #616161;
}

.payment-instructions strong {
    color: #212121;
}

/* --- Adjustments for the Notes field --- */
.learn-press-checkout-comment {
    margin-bottom: 24px;
    padding: 24px;
    background-color: #f7f7f7;
    border-radius: 12px;
}

.learn-press-checkout-comment textarea.order-comments {
    min-height: 100px;
    height: 100px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 10px;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.learn-press-checkout-comment textarea.order-comments:focus {
    outline: none;
    border-color: #2a64c0;
    box-shadow: 0 0 0 3px rgba(42, 100, 192, 0.2);
}
