body.app-auth-shell {
    --auth-primary: #00a19a;
    --auth-primary-strong: #007c78;
    --auth-primary-deep: #005f5c;
    --auth-primary-soft: rgba(0, 161, 154, 0.12);
    --auth-border: rgba(0, 161, 154, 0.14);
    --auth-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(0, 161, 154, 0.12), transparent 28%),
        radial-gradient(circle at left center, rgba(0, 124, 120, 0.08), transparent 24%),
        linear-gradient(180deg, #f7fbfb 0%, #edf5f4 100%);
}

body.app-auth-shell .auth-main {
    padding: clamp(2rem, 4vw, 4rem) !important;
}

body.app-auth-shell .auth-form-wrap {
    width: min(100%, 34rem);
    padding: 0 !important;
}

body.app-auth-shell .auth-card {
    padding: clamp(2rem, 3vw, 2.6rem);
    border: 1px solid var(--auth-border);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: var(--auth-shadow);
}

body.app-auth-shell .auth-heading h1 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    letter-spacing: -0.03em;
    color: #17373a !important;
}

body.app-auth-shell .auth-heading .text-gray-500 {
    color: #60737f !important;
    font-size: 1rem !important;
}

body.app-auth-shell .login-form .form-group + .form-group {
    margin-top: 1rem;
}

body.app-auth-shell .form-control {
    min-height: 56px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.app-auth-shell .form-control:focus {
    border-color: rgba(0, 161, 154, 0.34);
    box-shadow: 0 0 0 0.24rem rgba(0, 161, 154, 0.12);
}

body.app-auth-shell .btn-primary {
    min-height: 54px;
    border-color: transparent;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-primary-strong) 100%);
    box-shadow: 0 18px 30px rgba(0, 161, 154, 0.22);
}

body.app-auth-shell .btn-primary:hover,
body.app-auth-shell .btn-primary:focus {
    border-color: transparent;
    background: linear-gradient(135deg, #00938d 0%, var(--auth-primary-deep) 100%);
}

body.app-auth-shell .btn-light-primary,
body.app-auth-shell .btn-light {
    min-height: 54px;
    border-radius: 18px;
}

body.app-auth-shell .btn-light-primary {
    color: var(--auth-primary-deep);
    background: rgba(0, 161, 154, 0.08);
}

body.app-auth-shell #kt_login_forgot,
body.app-auth-shell .auth-footer a {
    color: var(--auth-primary-deep) !important;
}

body.app-auth-shell .auth-footer {
    padding-top: 1.5rem;
}

body.app-auth-shell .auth-footer .d-flex {
    gap: 0.5rem;
}

body.app-auth-shell .auth-aside {
    position: relative;
    overflow: hidden;
    background-color: var(--auth-primary-deep);
}

body.app-auth-shell .auth-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(0, 95, 92, 0.88), rgba(0, 161, 154, 0.72)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.14), transparent 26%);
}

body.app-auth-shell .auth-aside-content {
    position: relative;
    z-index: 1;
}

body.app-auth-shell .auth-aside-logo {
    width: min(280px, 68%);
    max-width: none;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.18));
}

body.app-auth-shell .auth-aside h1 {
    letter-spacing: -0.03em;
}

body.app-auth-shell .auth-aside .auth-aside-text {
    max-width: 30rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

body.app-auth-shell .fv-help-block {
    color: #c2410c;
    margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
    body.app-auth-shell .auth-main {
        padding: 1.5rem 1rem 2rem !important;
    }

    body.app-auth-shell .auth-card {
        padding: 1.5rem 1.25rem;
        border-radius: 26px;
    }

    body.app-auth-shell .auth-aside {
        min-height: 220px;
    }

    body.app-auth-shell .auth-aside-logo {
        width: min(220px, 58%);
        margin-bottom: 1.5rem !important;
    }
}
