/* ============================================================
   Central register — extends auth.css (products / categories N/A)
   Subdomain preview, plan cycle cards, two-col passwords.
   ============================================================ */

body.auth-shell--register .login-panel {
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    max-width: 600px;
}

@media (min-width: 1024px) {
    body.auth-shell--register .login-panel {
        min-width: 480px;
        max-width: 560px;
    }
}

body.auth-shell--register .login-form-wrapper {
    max-width: 420px;
}

body.auth-shell--register .brand-logo {
    margin-bottom: 1.5rem;
}

/* Hero: brand → title → lead → checklist 2×2 → dots → cat */
body.auth-shell--register .login-hero .hero-content {
    align-items: flex-start;
    max-width: 420px;
    padding: 2.5rem 2.75rem;
}

body.auth-shell--register .login-hero .hero-lead {
    margin-bottom: 0;
    max-width: 34ch;
    opacity: 0.84;
}

body.auth-shell--register .hero-feature-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 1.25rem 0 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.15rem;
}

body.auth-shell--register .hero-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.84rem;
    font-weight: 550;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
}

body.auth-shell--register .hero-feature-check {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(46, 196, 166, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

body.auth-shell--register .hero-feature-check svg {
    width: 11px;
    height: 11px;
    stroke: #fff;
}

body.auth-shell--register .login-hero .hero-dots {
    margin: 1.35rem 0 0.35rem;
}

body.auth-shell--register .login-hero .auth-cat {
    width: min(100%, 200px);
    margin: 0.85rem 0 0;
    opacity: 0.92;
}

@media (max-width: 1023px) {
    body.auth-shell--register .hero-feature-list {
        grid-template-columns: 1fr;
    }
}

.steps-bar {
    display: flex;
    gap: 0.4rem;
    margin: 0 0 1.35rem;
}

.step-dot {
    height: 4px;
    flex: 1;
    border-radius: 99px;
    background: var(--auth-line);
}

.step-dot.active {
    background: var(--auth-mint);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}

.field-hint {
    font-size: 0.78rem;
    color: var(--auth-muted);
    margin-top: 0.35rem;
    line-height: 1.4;
}

.subdomain-preview {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1.5px solid var(--auth-line);
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.subdomain-preview:focus-within {
    border-bottom-color: var(--auth-mint);
    box-shadow: 0 1px 0 0 var(--auth-mint);
}

.subdomain-preview.is-invalid {
    border-bottom-color: #f87171;
    box-shadow: 0 1px 0 0 #f87171;
}

.subdomain-preview .input-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--auth-muted);
    pointer-events: none;
}

.subdomain-preview input {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.4rem 0.7rem 1.7rem;
    border: 0;
    border-radius: 0;
    font-size: 0.98rem;
    font-family: inherit;
    color: var(--auth-ink);
    background: transparent;
    outline: none;
}

.subdomain-suffix {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--auth-muted);
    padding: 0.55rem 0 0.7rem 0;
    white-space: nowrap;
}

.input-wrapper select {
    width: 100%;
    padding: 0.55rem 2.4rem 0.7rem 1.7rem;
    border: 0;
    border-bottom: 1.5px solid var(--auth-line);
    border-radius: 0;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--auth-ink);
    background: transparent;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrapper select:focus {
    border-bottom-color: var(--auth-mint);
    box-shadow: 0 1px 0 0 var(--auth-mint);
}

.input-wrapper select.is-invalid {
    border-bottom-color: #f87171;
}

.cycle-group {
    display: none;
}

.cycle-group.visible {
    display: block;
}

.cycle-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.cycle-option {
    cursor: pointer;
}

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

.cycle-card {
    border: 1.5px solid var(--auth-line);
    border-radius: var(--auth-radius-sm);
    padding: 0.85rem 0.9rem;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cycle-option input:checked + .cycle-card {
    border-color: var(--auth-mint);
    background: var(--auth-mint-soft);
    box-shadow: 0 0 0 1px var(--auth-mint);
}

.cycle-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--auth-ink);
}

.cycle-price {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--auth-muted);
}

.btn-register {
    width: 100%;
    padding: 0.9rem 1.5rem;
    margin-top: 0.35rem;
    background: var(--auth-mint);
    background-image: linear-gradient(
        110deg,
        var(--auth-mint) 0%,
        #5fe0c4 42%,
        var(--auth-mint) 85%
    );
    background-size: 200% 100%;
    border: none;
    border-radius: 999px;
    color: #05332b;
    font-size: 0.95rem;
    font-weight: 750;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    box-shadow: 0 10px 28px rgba(46, 196, 166, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    position: relative;
}

.btn-register:hover {
    background: var(--auth-mint-deep);
    background-image: none;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(31, 168, 142, 0.4);
}

.btn-register svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.btn-register:disabled {
    cursor: not-allowed;
    opacity: 0.75;
    transform: none;
}

.btn-register .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(5, 51, 43, 0.25);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-register.is-loading .btn-text,
.btn-register.is-loading .btn-arrow { display: none; }
.btn-register.is-loading .spinner { display: block; }

.auth-switch {
    text-align: center;
    margin: 1.25rem 0 0.5rem;
    font-size: 0.88rem;
    color: var(--auth-muted);
}

.auth-switch a {
    color: var(--auth-mint-deep);
    font-weight: 700;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-footer.reg-footer {
    margin-top: 1.25rem;
}
