:root {
    --rnzlr-bg: #f4f7fb;
    --rnzlr-panel: #ffffff;
    --rnzlr-text: #111827;
    --rnzlr-muted: #667085;
    --rnzlr-line: #e5e9f0;
    --rnzlr-input: #f8fafc;
    --rnzlr-primary: #2563eb;
    --rnzlr-primary-dark: #1d4ed8;
    --rnzlr-danger: #b42318;
    --rnzlr-danger-bg: #fff3f2;
    --rnzlr-showcase: #0d1b2f;
    --rnzlr-showcase-soft: #132944;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.rnzlr-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background:
        radial-gradient(circle at 85% 8%, rgba(37, 99, 235, .08), transparent 26rem),
        var(--rnzlr-bg);
    color: var(--rnzlr-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.rnzlr-shell {
    width: min(520px, calc(100% - 32px));
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: var(--rnzlr-panel);
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(16, 24, 40, .12);
}

.rnzlr-panel {
    display: grid;
    place-items: center;
    padding: 52px 54px 44px;
}
.rnzlr-form-wrap { width: 100%; max-width: 410px; }

.rnzlr-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.03em;
}
.rnzlr-brand-mark {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 11px;
    background: #0f2746;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 9px 25px rgba(15,39,70,.16);
}
.rnzlr-mobile-brand { display: inline-flex; margin-bottom: 38px; }
.rnzlr-mobile-brand img { display: block; max-width: 150px; max-height: 44px; object-fit: contain; }

.rnzlr-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #475467;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.rnzlr-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22,163,74,.10);
}
.rnzlr-panel h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -.045em;
    font-weight: 760;
}
.rnzlr-subtitle { margin: 12px 0 28px; color: var(--rnzlr-muted); font-size: 14px; line-height: 1.6; }

.rnzlr-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid #fecdca;
    border-radius: 12px;
    background: var(--rnzlr-danger-bg);
    color: var(--rnzlr-danger);
    font-size: 13px;
    line-height: 1.5;
}
.rnzlr-alert-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #fee4e2;
    font-size: 12px;
    font-weight: 900;
}

.rnzlr-field { margin-bottom: 18px; }
.rnzlr-field label,
.rnzlr-label-row label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 650;
}
.rnzlr-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rnzlr-label-row a { margin-bottom: 7px; color: var(--rnzlr-primary); font-size: 12px; font-weight: 650; text-decoration: none; }
.rnzlr-label-row a:hover { text-decoration: underline; }

.rnzlr-input-wrap { position: relative; }
.rnzlr-input-wrap input {
    width: 100%;
    height: 50px;
    padding: 0 46px 0 44px;
    border: 1px solid var(--rnzlr-line);
    border-radius: 12px;
    outline: none;
    background: var(--rnzlr-input);
    color: #101828;
    font: inherit;
    font-size: 14px;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.rnzlr-input-wrap input::placeholder { color: #98a2b3; }
.rnzlr-input-wrap input:focus {
    border-color: #84adff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,.09);
}
.rnzlr-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: #98a2b3;
    pointer-events: none;
}
.rnzlr-input-icon svg,
.rnzlr-password-toggle svg,
.rnzlr-submit svg { width: 100%; height: 100%; fill: currentColor; }
.rnzlr-password-toggle {
    position: absolute;
    right: 9px;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    padding: 8px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #667085;
    cursor: pointer;
}
.rnzlr-password-toggle:hover { background: #eef2f7; color: #344054; }
.rnzlr-eye-closed { display: none; }
.rnzlr-password-toggle[aria-pressed="true"] .rnzlr-eye-open { display: none; }
.rnzlr-password-toggle[aria-pressed="true"] .rnzlr-eye-closed { display: block; }

.rnzlr-options { display: flex; align-items: center; justify-content: space-between; margin: -2px 0 22px; }
.rnzlr-check { display: inline-flex; align-items: center; gap: 9px; color: #475467; font-size: 13px; cursor: pointer; }
.rnzlr-check input { width: 16px; height: 16px; accent-color: var(--rnzlr-primary); }

.rnzlr-submit {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 12px;
    background: var(--rnzlr-primary);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 720;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37,99,235,.22);
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.rnzlr-submit:hover { background: var(--rnzlr-primary-dark); transform: translateY(-1px); box-shadow: 0 13px 28px rgba(37,99,235,.28); }
.rnzlr-submit:active { transform: translateY(0); }
.rnzlr-submit:disabled { cursor: wait; opacity: .82; transform: none; }
.rnzlr-submit svg { width: 17px; height: 17px; }
.rnzlr-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rnzlr-spin .7s linear infinite;
}
.rnzlr-form.is-submitting .rnzlr-spinner { display: inline-block; }
.rnzlr-form.is-submitting .rnzlr-submit svg { display: none; }
@keyframes rnzlr-spin { to { transform: rotate(360deg); } }

.rnzlr-security-note { margin: 20px 8px 0; color: #98a2b3; font-size: 11px; line-height: 1.55; text-align: center; }
.rnzlr-security-note span { color: #16a34a; font-weight: 900; }


.rnzlr-back {
    width: max-content;
    max-width: 100%;
    margin: 22px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #475467;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: color .16s ease, transform .16s ease;
}
.rnzlr-back:hover { color: var(--rnzlr-primary); transform: translateX(-2px); }

/* Make common plugin-injected login fields fit the SaaS card instead of breaking it. */
.rnzlr-form .g-recaptcha,
.rnzlr-form .cf-turnstile { margin: 0 0 18px; max-width: 100%; overflow: hidden; }
.rnzlr-form > p { margin: 0 0 16px; color: #475467; font-size: 13px; }
.rnzlr-form > p input:not([type="checkbox"]):not([type="radio"]),
.rnzlr-form > input:not([type="hidden"]) { max-width: 100%; }

@media (max-width: 520px) {
    body.rnzlr-body { padding: 0; background: #fff; }
    .rnzlr-shell { width: 100%; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
    .rnzlr-panel { align-items: start; padding: 34px 22px; }
    .rnzlr-form-wrap { max-width: none; }
    .rnzlr-mobile-brand { margin-bottom: 44px; }
    .rnzlr-panel h1 { font-size: 34px; }
}
