.register-hero {
    background: linear-gradient(135deg, #090A0F 0%, #171A26 50%, #222638 100%);
    padding: 4rem 0 2.5rem;
    text-align: center;
    color: #F5F6F9;
}

.register-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.register-hero p {
    font-size: 1.05rem;
    color: #7E8494;
    max-width: 500px;
    margin: 0 auto;
}

.register-section {
    padding: 3rem 0 4rem;
    background: #F5F6F9;
}

.register-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

/* --- Form Card --- */
.register-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.register-form-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #090A0F;
    margin-bottom: 0.3rem;
}

.register-form-card .subtitle {
    font-size: 0.88rem;
    color: #7E8494;
    margin-bottom: 1.8rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.35rem;
}

.form-control {
    border-radius: 10px;
    border: 1.5px solid #dee2e6;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
}

.form-text {
    font-size: 0.78rem;
    color: #adb5bd;
}

.register-btn {
    width: 100%;
    padding: 0.85rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #D4AF37, #b8941f);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.register-btn:hover {
    background: linear-gradient(135deg, #b8941f, #9a7c18);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
    color: #fff;
}

.register-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #7E8494;
}

.register-footer a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 500;
}

.register-footer a:hover {
    text-decoration: underline;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
    color: #adb5bd;
    font-size: 0.8rem;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

/* --- Plan Selector (no selectedPlan) --- */
.plan-selector {
    margin-bottom: 2rem;
}

.plan-selector-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.8rem;
    display: block;
}

.plan-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.6rem;
}

.plan-option:hover {
    border-color: #D4AF37;
    background: #fefbf3;
}

.plan-option.selected {
    border-color: #D4AF37;
    background: #fefbf3;
    box-shadow: 0 0 0 0.15rem rgba(212, 175, 55, 0.15);
}

.plan-option input[type="radio"] {
    display: none;
}

.plan-option .plan-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s;
}

.plan-option.selected .plan-radio {
    border-color: #D4AF37;
}

.plan-option.selected .plan-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D4AF37;
}

.plan-option-info {
    flex: 1;
}

.plan-option-name {
    font-weight: 600;
    color: #090A0F;
    font-size: 0.92rem;
}

.plan-option-desc {
    font-size: 0.8rem;
    color: #7E8494;
    margin-top: 0.1rem;
}

.plan-option-price {
    font-weight: 700;
    color: #090A0F;
    font-size: 0.95rem;
    white-space: nowrap;
}

.plan-option-price span {
    font-size: 0.78rem;
    font-weight: 400;
    color: #7E8494;
}

/* --- Plan Summary Card (right column) --- */
.plan-summary-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 1.5rem;
}

.plan-summary-accent {
    height: 5px;
    width: 100%;
}

.plan-summary-header {
    padding: 1.8rem 1.8rem 1rem;
    text-align: center;
}

.plan-summary-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #090A0F;
    margin-bottom: 0.2rem;
}

.plan-summary-desc {
    font-size: 0.82rem;
    color: #7E8494;
    margin-bottom: 1rem;
}

.plan-summary-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.plan-summary-price .currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #090A0F;
}

.plan-summary-price .amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: #090A0F;
    line-height: 1;
}

.plan-summary-price .period {
    font-size: 0.85rem;
    color: #7E8494;
}

.plan-summary-trial {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 0.6rem;
}

.plan-summary-trial i {
    font-size: 0.7rem;
}

.plan-summary-limits {
    padding: 0.8rem 1.8rem 1.2rem;
}

.plan-summary-limits-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #adb5bd;
    margin-bottom: 0.5rem;
}

.plan-summary-limit-row {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    font-size: 0.82rem;
}

.plan-summary-limit-row .label {
    color: #7E8494;
}

.plan-summary-limit-row .value {
    font-weight: 600;
    color: #090A0F;
}

.plan-summary-modules {
    padding: 0 1.8rem 1.5rem;
}

.plan-summary-modules-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #adb5bd;
    margin-bottom: 0.5rem;
}

.plan-summary-module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.plan-summary-module-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: #f0f2f5;
    color: #495057;
    font-weight: 500;
}

/* --- Flash / Error Alerts --- */
.register-alert {
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .register-layout {
        grid-template-columns: 1fr;
    }

    .plan-summary-card {
        order: -1;
        position: static;
    }

    .register-hero h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 575px) {
    .register-hero {
        padding: 2.5rem 1rem 1.5rem;
    }

    .register-hero h1 {
        font-size: 1.5rem;
    }

    .register-form-card {
        padding: 1.5rem;
    }

    .plan-option {
        padding: 0.8rem 1rem;
    }
}
