/* Register page — 3-step form, Rezble palette (cream/terracotta/ink). */

/* Razširimo register kartico ker ima več korakov */
.rz-auth--register .rz-auth-card { max-width: 560px; }
.rz-auth--register .rz-auth-right { padding: 32px 24px; }
@media (max-width: 900px) {
    .rz-auth--register .rz-auth-right { padding: 24px 14px; }
    .rz-auth--register .rz-auth-card { max-width: 100%; }
}

/* ── Stepper ─────────────────────────────────────────────────────── */
.reg-stepper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin: 18px 0 22px;
}
.reg-step-pill {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--bg-sunken, #f5ebe0);
    border: 1px solid var(--line, #e8dcc9);
    color: var(--ink-mute, #5a655e);
    font-size: 12px;
    font-weight: 600;
    cursor: default;
    transition: all .2s;
}
.reg-step-pill.is-active {
    background: var(--accent, #c8542b);
    border-color: var(--accent, #c8542b);
    color: #fff;
}
.reg-step-pill.is-done {
    background: var(--bg-elev, #fff);
    border-color: var(--accent, #c8542b);
    color: var(--accent, #c8542b);
    cursor: pointer;
}
.reg-step-pill.is-done:hover { background: var(--accent-soft, rgba(200,84,43,.08)); }
.reg-step-pill .reg-step-num {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.25);
    flex: none;
    font-family: var(--font-mono, monospace);
    font-size: 11px; font-weight: 700;
}
.reg-step-pill.is-done .reg-step-num,
.reg-step-pill:not(.is-active):not(.is-done) .reg-step-num {
    background: var(--bg-sunken, #f5ebe0);
    color: var(--ink-mute, #5a655e);
}
.reg-step-pill.is-active .reg-step-num { background: rgba(255,255,255,.25); color: #fff; }
.reg-step-pill .reg-step-lbl {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 540px) {
    .reg-step-pill .reg-step-lbl { display: none; }
    .reg-step-pill { justify-content: center; padding: 10px 8px; }
}

/* ── Steps ───────────────────────────────────────────────────────── */
.reg-step { display: none; }
.reg-step.is-active { display: block; animation: reg-fade .2s ease both; }
@keyframes reg-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.reg-step-actions {
    display: flex; gap: 8px;
    margin-top: 22px;
    align-items: center;
}
.reg-step-actions .reg-back { flex: 0 0 auto; }
.reg-step-actions .reg-next,
.reg-step-actions [type="submit"] {
    flex: 1; justify-content: center; padding: 12px 18px; font-size: 14px;
}

.reg-section-divider {
    display: block;
    border-top: 1px solid var(--line, #e8dcc9);
    margin: 22px 0 16px;
    padding-top: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-mute, #5a655e);
}
.reg-section-divider:empty {
    margin: 18px 0;
    padding-top: 0;
    text-transform: none;
}

/* ── Plan kartice (step 1) ───────────────────────────────────────── */
.reg-plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 16px 0;
}
.reg-plan-card {
    position: relative;
    display: block;
    padding: 14px 16px;
    border: 2px solid var(--line, #e8dcc9);
    border-radius: 12px;
    background: var(--bg-elev, #fff);
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .12s;
}
.reg-plan-card:hover { border-color: var(--line-strong, #d4c5ad); }
.reg-plan-card.is-sel {
    border-color: var(--accent, #c8542b);
    background: var(--accent-soft, rgba(200,84,43,.06));
}
.reg-plan-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
}
.reg-plan-name {
    font-size: 16px; font-weight: 700;
    color: var(--ink, #1c2620);
    letter-spacing: -0.01em;
}
.reg-plan-info {
    width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--bg-sunken, #f5ebe0);
    border: 0;
    color: var(--ink-mute, #5a655e);
    cursor: pointer;
    transition: background .15s, color .15s;
    padding: 0;
}
.reg-plan-info:hover { background: var(--accent, #c8542b); color: #fff; }
.reg-plan-prices {
    display: flex; align-items: baseline; gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.reg-plan-final {
    font-size: 26px;
    font-weight: 800;
    color: var(--success, #2f7d52);
    letter-spacing: -0.03em;
    line-height: 1;
}
.reg-plan-suffix {
    font-size: 12px;
    color: var(--ink-mute, #5a655e);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
/* Sekundarna cena (po prvem mesecu) */
.reg-plan-after {
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--ink-mute, #5a655e);
    line-height: 1.4;
}
.reg-plan-after .reg-after-orig {
    color: var(--ink-mute, #5a655e);
    text-decoration: line-through;
    margin-right: 4px;
}
.reg-plan-after .reg-after-final {
    color: var(--ink, #1c2620);
    font-weight: 700;
}
.reg-plan-badge {
    position: absolute;
    top: 14px; right: 50px;
    background: var(--accent, #c8542b);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Tooltip — open on .is-tooltip-open */
.reg-plan-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: var(--ink, #1c2620);
    color: #fff;
    padding: 14px 16px;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    z-index: 10;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity .18s, transform .18s;
}
.reg-plan-tooltip::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 30px;
    width: 12px; height: 12px;
    background: var(--ink, #1c2620);
    transform: rotate(45deg);
}
.reg-plan-card.is-tooltip-open .reg-plan-tooltip {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.reg-plan-tooltip-head {
    font-size: 10px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 8px;
}
.reg-plan-tooltip ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-direction: column;
    gap: 6px;
}
.reg-plan-tooltip li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,.95);
}
.reg-plan-tooltip li svg { color: var(--accent, #c8542b); flex: none; margin-top: 3px; }

.reg-trial-info {
    font-size: 12px;
    color: var(--ink-mute, #5a655e);
    text-align: center;
    margin: 12px 0 0;
    padding: 8px 12px;
    background: var(--bg-sunken, #f5ebe0);
    border-radius: 8px;
    line-height: 1.45;
}

/* ── Trust badges ───────────────────────────────────────────────── */
.reg-trust {
    display: flex; flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    margin-top: 18px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-mute, #5a655e);
}
.reg-trust span {
    display: inline-flex; align-items: center; gap: 5px;
}
.reg-trust svg { color: var(--success, #2f7d52); }
