form .required:after{color:#f35958;content:"*";font-size:15px;left:3px;position:relative}.form-switch-md .form-check-input{width:4rem!important}.form-switch-lg .form-check-input{width:6rem!important}.form-switch-xl .form-check-input{width:8rem!important}.feather-16{height:16px;width:16px}.feather-20{height:20px;width:20px}.feather-24{height:24px;width:24px}.feather-32{height:32px;width:32px}

/* ── Payment method cards ── */
.payment-methods {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.payment-methods .col-md-4 {
    flex: 1;
    min-width: 140px;
    padding: 0;
}

/* Hide the native radio */
.btn-check {
    display: none;
}

.payment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 16px;
    border: 1.5px solid #dee2e6;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    background: #ffffff;
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
    margin: 0;
}

.payment-card:hover {
    border-color: #adb5bd;
    background: #f8f9fa;
    color: #495057;
}

/* Selected state — driven by the hidden radio being :checked */
.btn-check:checked + .payment-card {
    border: 2px solid #1D9E75;
    background: #E1F5EE;
    color: #0F6E56;
}

/* Logo pill inside each card */
.payment-card .brand-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 38px;
    border-radius: 6px;
    overflow: hidden;
}

.payment-card .brand-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Fallback icon for cards without an image */
.payment-card .payment-icon {
    font-size: 36px;
    color: inherit;
}

.payment-card span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.payment-methods {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: stretch; 
}

.payment-methods .col-md-4 {
    flex: 1;
    min-width: 140px;
    padding: 0;
    display: flex;
}

.payment-card {
    height: 100%;
}