.ks-auth-landing {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #f5f7fb;
    min-height: 100vh;
}

.ks-auth-landing__inner {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: var(--ks-auth-max-width, 1200px);
    margin: 0 auto;
    gap: 0;
    padding: var(--ks-auth-container-padding, 24px);
    box-sizing: border-box;
}

.ks-auth-landing--fullwidth .ks-auth-landing__inner {
    max-width: none;
}

.ks-auth-hero {
    position: relative;
    background: linear-gradient(135deg, #0f2b46, #1c4b75);
    background-size: cover;
    background-position: center;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    display: block;
    min-height: var(--ks-auth-hero-min-height, 360px);
    color: #fff;
    padding: clamp(24px, 5vw, 64px);
}

.ks-auth-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--ks-auth-overlay, 0.35));
    pointer-events: none;
}

.ks-auth-hero__content {
    position: absolute;
    left: clamp(24px, 5vw, 64px);
    bottom: clamp(24px, 5vw, 64px);
    z-index: 1;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ks-auth-hero__content h1 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 0;
}

.ks-auth-hero__content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.ks-auth-hero__cta {
    align-self: flex-start;
    background: #fff;
    color: #0f2b46;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.ks-auth-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-auth-card--landing {
    width: 100%;
    padding: 24px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    margin-top: 0;
}

.ks-auth-landing .ks-auth-form--inline {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.ks-auth-landing .ks-auth-form--inline label {
    margin: 0;
}

.ks-auth-landing .ks-auth-form--inline .ks-auth-submit {
    width: auto;
    height: 46px;
    font-size: 15px;
    padding: 0 20px;
}

.ks-auth-password--icon {
    position: relative;
}

.ks-auth-password--icon input {
    padding-right: 42px;
}

.ks-auth-toggle--icon,
.ks-pass-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: #4a4a4a;
    cursor: pointer;
    width: 24px;
    height: 24px;
    z-index: 10;
    pointer-events: auto;
}

.ks-auth-toggle--icon .ks-auth-toggle__icon,
.ks-pass-toggle .ks-auth-toggle__icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.ks-auth-toggle--icon.is-active,
.ks-pass-toggle.is-active {
    color: #0073aa;
}

.ks-auth-landing .ks-auth-form input,
.ks-auth-landing .ks-auth-form select {
    width: 100%;
    box-sizing: border-box;
}

.ks-auth-links--stack {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (max-width: 960px) {
    .ks-auth-hero {
        border-radius: 20px 20px 0 0;
        min-height: 300px;
    }

    .ks-auth-landing .ks-auth-form--inline {
        grid-template-columns: 1fr;
    }

    .ks-auth-landing .ks-auth-form--inline .ks-auth-submit {
        width: 100%;
    }
}
