body.sss3-login {
    min-height: 100vh;
    margin: 0;
    background: var(--sss3-pale);
    color: var(--sss3-ink);
    font-family: Inter, Arial, sans-serif;
}

.sss3-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
}

.sss3-login-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background:
        radial-gradient(circle at 10% 10%, rgba(5, 185, 232, .12), transparent 35%),
        radial-gradient(circle at 90% 90%, rgba(153, 206, 77, .14), transparent 38%),
        var(--sss3-pale);
}

.sss3-login-card {
    width: min(460px, 100%);
    padding: 42px;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 20px 60px rgba(28, 65, 91, .12);
}

.sss3-login-mobile-brand {
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: #00a9a5;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .2px;
}

.sss3-login-mobile-brand b {
    color: #28b2a6;
    font-weight: 800;
}

.sss3-login-mobile-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.sss3-login-card h1 {
    margin: 0 0 8px;
    color: var(--sss3-ink);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.8px;
}

.sss3-login-subtitle {
    margin: 0 0 28px;
    color: var(--sss3-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.sss3-login-card .row {
    margin: 0;
}

.sss3-login-card .col-sm-12 {
    width: 100%;
    padding: 0;
}

.sss3-login-card .alert {
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.sss3-login-card .alert-danger {
    background: #fdecef;
    color: #a63245;
}

.sss3-login-card .alert-warning {
    background: #fff6df;
    color: #8a6419;
}

.sss3-login-card .alert-success {
    background: #eef6d9;
    color: #638d23;
}

.sss3-login-card .alert-info {
    background: #eaf5fc;
    color: #146d9e;
}

.sss3-login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sss3-login-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sss3-login-field label {
    margin: 0;
    color: var(--sss3-ink);
    font-size: 13px;
    font-weight: 700;
}

.sss3-login-input-wrap {
    position: relative;
}

.sss3-login-input-wrap svg {
    position: absolute;
    top: 50%;
    left: 16px;
    color: var(--sss3-blue);
    transform: translateY(-50%);
    pointer-events: none;
}

.sss3-login-input,
.sss3-login-select {
    width: 100%;
    min-height: 50px;
    border: 1px solid #dce5eb;
    border-radius: 14px;
    background: #f8fbfd;
    color: var(--sss3-ink);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.sss3-login-input {
    padding: 0 16px 0 48px;
}

.sss3-login-select {
    padding: 0 14px;
}

.sss3-login-input::placeholder {
    color: #a8b3bf;
    font-weight: 500;
}

.sss3-login-input:focus,
.sss3-login-select:focus {
    border-color: var(--sss3-cyan);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(5, 185, 232, .16);
}

.sss3-login-error,
.sss3-login-form .errorlist {
    margin: 2px 0 0;
    padding: 0;
    color: #b23a4d;
    font-size: 12px;
    font-weight: 600;
    list-style: none;
}

.sss3-login-forgot {
    align-self: flex-end;
    color: var(--sss3-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.sss3-login-forgot:hover {
    color: var(--sss3-cyan);
    text-decoration: underline;
}

.sss3-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    border: 0;
    border-radius: 28px;
    background: linear-gradient(100deg, var(--sss3-blue), var(--sss3-cyan));
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: filter .2s, transform .2s;
}

.sss3-login-submit:hover,
.sss3-login-submit:focus {
    color: #fff;
    filter: brightness(1.06);
    text-decoration: none;
    transform: translateY(-1px);
}

.sss3-login-legal {
    margin: 28px 0 0;
    color: var(--sss3-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.8;
    text-align: center;
}

.sss3-login-legal a {
    color: var(--sss3-blue);
    text-decoration: none;
}

.sss3-login-legal a:hover {
    text-decoration: underline;
}

.sss3-login-legal img {
    max-width: 120px;
    margin-left: 6px;
}

.sss3-login-brand-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 48px;
    background: linear-gradient(155deg, #1489c9 0%, #41a6a1 54%, #9bcf50 100%);
    color: #fff;
}

.sss3-login-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .2px;
}

.sss3-login-brand b {
    font-weight: 800;
}

.sss3-login-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.sss3-login-brand-copy {
    position: relative;
    z-index: 1;
    max-width: 430px;
    padding-bottom: 8vh;
}

.sss3-login-brand-copy h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.05;
}

.sss3-login-brand-copy p {
    max-width: 340px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
}

.sss3-login-orbit {
    position: absolute;
    right: -140px;
    bottom: -180px;
    width: 560px;
    height: 560px;
    border: 70px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.sss3-login-orbit::before,
.sss3-login-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}

.sss3-login-orbit::before {
    top: 90px;
    left: 80px;
    width: 90px;
    height: 90px;
}

.sss3-login-orbit::after {
    top: 200px;
    left: -110px;
    width: 46px;
    height: 46px;
}

@media (max-width: 900px) {
    .sss3-login-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .sss3-login-brand-side {
        display: none;
    }

    .sss3-login-form-side {
        padding: 24px;
    }

    .sss3-login-mobile-brand {
        display: flex;
    }
}

@media (max-width: 520px) {
    .sss3-login-form-side {
        padding: 14px;
    }

    .sss3-login-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .sss3-login-card h1 {
        font-size: 26px;
    }
}
