:root {
    --saas-bg: #0b0f19;
    --saas-card: rgba(255, 255, 255, 0.06);
    --saas-border: rgba(255, 255, 255, 0.10);
    --saas-text: rgba(255, 255, 255, 0.92);
    --saas-muted: rgba(255, 255, 255, 0.70);
    --saas-primary: #7c3aed;
    --saas-primary-2: #a855f7;
}

body.auth-saas {
    min-height: 100vh;
    background: radial-gradient(1200px 500px at 20% 0%, rgba(124, 58, 237, 0.35), transparent 60%),
        radial-gradient(900px 500px at 80% 100%, rgba(168, 85, 247, 0.25), transparent 55%),
        var(--saas-bg);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.saas-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
}

.saas-auth__left {
    padding: clamp(18px, 3vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
    justify-content: center;
}

.saas-auth__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.saas-auth__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 8px;
    border: 1px solid var(--saas-border);
}

.saas-auth__appname {
    color: var(--saas-text);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.saas-auth__tagline {
    color: var(--saas-muted);
    font-size: 13px;
}

.saas-auth__card {
    width: 100%;
    max-width: 520px;
    border: 1px solid var(--saas-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    border-radius: 18px;
    padding: clamp(18px, 3vw, 32px);
    backdrop-filter: blur(10px);
    margin: 0 auto;
}

.saas-auth__card-header {
    text-align: center;
    margin-bottom: 14px;
}

.saas-auth__logo--lg {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    padding: 10px;
    margin: 0 auto 10px auto;
    display: block;
}

.saas-auth__card-header .saas-auth__appname {
    font-size: 18px;
    font-weight: 800;
}

.saas-auth__card-header .saas-auth__tagline {
    font-size: 13px;
}

.saas-auth__title {
    color: var(--saas-text);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.saas-auth__subtitle {
    color: var(--saas-muted);
    margin-top: 6px;
}

.input-group-saas .input-group-text {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--saas-border);
    color: rgba(255, 255, 255, 0.75);
}

.input-group-saas .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--saas-border);
    color: var(--saas-text);
}

.input-group-saas .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.input-group-saas .form-control:focus {
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
    border-color: rgba(124, 58, 237, 0.6);
}

.btn-saas-primary {
    border: 0;
    color: #fff;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--saas-primary), var(--saas-primary-2));
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

.btn-saas-primary:hover {
    filter: brightness(1.03);
}

.btn-eye {
    border: 1px solid var(--saas-border);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
}

.btn-eye:hover {
    color: rgba(255, 255, 255, 0.95);
}

.form-label {
    color: rgba(255, 255, 255, 0.80);
    font-size: 13px;
    margin-bottom: 6px;
}

.saas-auth__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 12px;
}

.saas-auth__footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.saas-auth__footer a:hover {
    text-decoration: underline;
}

.saas-auth__right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 3vw, 48px);
    background:
        radial-gradient(800px 500px at 50% 0%, rgba(124, 58, 237, 0.55), transparent 55%),
        radial-gradient(700px 500px at 60% 100%, rgba(168, 85, 247, 0.45), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.saas-auth__right-inner {
    width: min(520px, 100%);
    color: var(--saas-text);
}

.saas-auth__hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.saas-auth__hero-title {
    margin-top: 18px;
    font-weight: 900;
    font-size: clamp(28px, 3.5vw, 44px);
    letter-spacing: -0.5px;
}

.saas-auth__hero-text {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.6;
}

.saas-auth__dots {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}

.saas-auth__dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.saas-auth__dots .dot.active {
    background: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
    .saas-auth {
        grid-template-columns: 1fr;
    }
    .saas-auth__right {
        display: none;
    }
    .saas-auth__card {
        max-width: 100%;
    }
}

.saas-auth__logo--fix{
    width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}