.ls-auth-wrap {
    min-height: calc(100vh - 112px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px 48px;
    background: radial-gradient(circle at 80% 20%, rgba(249, 161, 49, 0.14), transparent 40%),
                linear-gradient(155deg, #0f2c52 0%, #173d70 55%, #0f172a 100%);
}

.ls-auth-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.ls-auth-modal-overlay.open {
    display: flex;
}

.ls-auth-card {
    max-width: 960px;
    width: 100%;
    height: 500px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    overflow: hidden;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ls-auth-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #f1f5f9;
    color: #475569;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ls-auth-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ls-auth-modal-overlay .ls-auth-main {
    padding-top: 54px;
}

.ls-auth-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #2560a6;
    cursor: pointer;
}

.ls-auth-back-btn:hover {
    text-decoration: underline;
    color: #184275;
}

.ls-auth-inline-alert {
    padding: 11px 14px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: none;
}

.ls-auth-inline-alert.success {
    display: block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.ls-auth-inline-alert.error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.ls-auth-aside {
    background: linear-gradient(155deg, #0f2c52 0%, #2560a6 100%);
    color: #ffffff;
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.ls-auth-aside::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 161, 49, 0.22), transparent 70%);
    bottom: -90px;
    right: -80px;
    pointer-events: none;
}

.ls-auth-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ls-auth-aside h1 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.ls-auth-aside p {
    margin: 0 0 24px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.ls-auth-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.92);
}

.ls-auth-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ls-auth-features svg {
    color: #f9a131;
    flex-shrink: 0;
}

.ls-auth-aside-footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.78);
}

.ls-auth-main {
    padding: 36px 38px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ls-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 24px;
}

.ls-auth-tab {
    border: none;
    background: transparent;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ls-auth-tab.active {
    background: #ffffff;
    color: #0f2c52;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.ls-auth-pane {
    display: none;
}

.ls-auth-pane.active {
    display: block;
}

.ls-auth-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #0f2c52;
}

.ls-auth-sub {
    margin: 0 0 22px;
    font-size: 13.5px;
    color: #64748b;
}

.ls-auth-field {
    margin-bottom: 16px;
}

.ls-auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.ls-auth-input-wrap {
    position: relative;
}

.ls-auth-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.ls-auth-input:focus {
    border-color: #2560a6;
    box-shadow: 0 0 0 3px rgba(37, 96, 166, 0.12);
}

.ls-auth-pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #64748b;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.ls-auth-pw-toggle:hover {
    color: #2560a6;
}

.ls-auth-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 6px 0 22px;
    font-size: 13px;
}

.ls-auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

.ls-auth-remember input[type="checkbox"] {
    margin: 0;
}

.ls-auth-link {
    color: #2560a6;
    font-weight: 600;
    text-decoration: none;
}

.ls-auth-link:hover {
    text-decoration: underline;
    color: #184275;
}

.ls-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 9px;
    background: #2560a6;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(37, 96, 166, 0.24);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ls-auth-submit:hover {
    background: #184275;
    transform: translateY(-1px);
}

.ls-auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.ls-reg-option-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #f8fafc;
}

.ls-reg-option-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.ls-reg-option-top h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f2c52;
}

.ls-reg-badge {
    background: #dbeafe;
    color: #1e40af;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.ls-reg-option-card p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.ls-reg-steps-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
    font-size: 12px;
    color: #334155;
    margin-bottom: 14px;
}

.ls-reg-steps-mini span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ls-reg-steps-mini b {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2560a6;
    color: #ffffff;
    font-size: 10.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.validation-summary-valid,
.validation-summary-errors {
    display: none !important;
}

@media (max-width: 860px) {
    .ls-auth-card {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 460px;
    }
    .ls-auth-main {
        padding: 28px 22px;
    }
}
