/* Billing plan picker — register & subscribe */

.billing-plan-picker {
    border: 0;
    margin: 0;
    padding: 0;
}

.billing-plan-picker__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.billing-plan-option--lifetime {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .billing-plan-picker__options {
        grid-template-columns: repeat(3, 1fr);
    }

    .billing-plan-option--lifetime {
        grid-column: auto;
    }
}

.billing-plan-option {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 0.85rem;
    border: 2px solid #dee2e6;
    border-radius: 0.65rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.billing-plan-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.billing-plan-option:has(input:checked) {
    border-color: #28535d;
    box-shadow: 0 0 0 0.15rem rgba(40, 83, 93, 0.12);
}

.billing-plan-option__title {
    font-weight: 700;
    color: #28535d;
}

.billing-plan-option__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #212529;
}

.billing-plan-option__note {
    font-size: 0.78rem;
    color: #6c757d;
}

/* Signup path — register page */

.signup-path-picker {
    border: 0;
    margin: 0;
    padding: 0;
}

.signup-path-picker__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.signup-path-option {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 0.65rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.signup-path-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.signup-path-option--selected,
.signup-path-option:has(input:checked) {
    border-color: #28535d;
    background: #f4f9fa;
    box-shadow: 0 0 0 0.15rem rgba(40, 83, 93, 0.12);
}

.signup-path-option--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.signup-path-option__title {
    font-weight: 700;
    color: #28535d;
    font-size: 0.95rem;
}

.signup-path-option__detail {
    font-size: 0.85rem;
    color: #212529;
}

.signup-path-option__note {
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.35;
}

.register-lifetime-note {
    padding: 0.85rem 1rem;
    border: 2px solid rgba(40, 83, 93, 0.2);
    border-radius: 0.65rem;
    background: rgba(40, 83, 93, 0.05);
}

.register-lifetime-note__text {
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.4;
}
