html,
body.form {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #edf2f7;
}
body.form {
    font-family: 'Nunito', sans-serif;
    color: #0f172a;
}
.auth-container {
    min-height: 100vh;
    width: 100%;
}
.auth-container > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.auth-container > .container > .row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
}
.auth-container > .container > .row > .col-6.d-lg-flex {
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 42%, #334155 100%);
}
.auth-cover-bg-image,
.auth-overlay {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100%;
}
.auth-cover-bg-image {
    background: radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 42%);
}
.auth-overlay {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.9;
}
.auth-cover2 {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.auth-container > .container > .row > form {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}
.auth-container > .container > .row > .auth-form-col {
    width: 100%;
    max-width: 860px;
    margin: 0 !important;
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.auth-container .ms-lg-auto {
    margin-left: 0 !important;
}
.auth-container .card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 48px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
}
.auth-container .card-body,
.auth-container .card .row {
    padding: 0;
    margin: 0;
}
.auth-container .aut {
    width: 100%;
    margin-top: 0 !important;
}
.auth-container .aut > h2:first-child {
    margin: 0 0 28px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.auth-container .aut > h2:first-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 36px;
    padding: 0 12px !important;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.auth-container .aut > h2:first-child a:hover {
    border-color: #0f172a;
    color: #0f172a;
}
.auth-container .aut > h2:not(:first-child) {
    margin: 0 0 12px !important;
    color: #0f172a !important;
    font-size: 34px !important;
    line-height: 1.1;
    font-weight: 800 !important;
}
.auth-container .aut p {
    margin: 0 0 28px;
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
}
.auth-container .aut .form-label {
    margin-bottom: 10px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}
.auth-container .aut .form-control {
    min-height: 54px;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    padding: 14px 16px;
    box-shadow: none;
}
.auth-container .aut .form-control:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}
.auth-container .aut .btn.btn-secondary,
.auth-container .aut input[type="submit"] {
    min-height: 54px;
    border: none;
    border-radius: 16px;
    background: #0f172a !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}
.auth-container .aut .btn.btn-secondary:hover,
.auth-container .aut input[type="submit"]:hover {
    background: #1e293b !important;
}
.auth-container .aut .col-xs-4 {
    width: 100%;
}
.auth-container .aut a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}
.auth-container .aut a:hover {
    text-decoration: underline;
}
.auth-container .message {
    margin: 0 0 18px;
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.5;
}
@media (max-width: 991.98px) {
    .auth-container > .container > .row {
        display: block;
        min-height: auto;
    }
    .auth-container > .container > .row > form {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        display: block;
        padding: 24px 16px;
    }
    .auth-container > .container > .row > .auth-form-col {
        width: 100%;
        max-width: 100%;
    }
    .auth-container .card {
        max-width: 100%;
        padding: 32px 24px;
        border-radius: 22px;
    }
    .auth-container .aut > h2:not(:first-child) {
        font-size: 28px !important;
    }
}
/* The form itself is the right grid column; its inner wrapper fills it. */
.auth-container > .container > .row > form > .auth-form-col {
    flex: 1 1 auto;
    width: 100%;
    max-width: 760px;
    margin: 0 !important;
    padding: 0;
}
.auth-container > .container > .row > .col-6.d-lg-flex {
    height: auto !important;
    margin: 0 !important;
    align-self: stretch;
}
.auth-cover-bg-image,
.auth-overlay {
    border-radius: 0;
}
.auth-cover2 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.auth-cover2 img {
    max-width: calc(100% - 48px);
    height: auto;
}
@media (max-width: 991.98px) {
    .auth-container > .container > .row > form {
        display: flex;
        min-height: 100vh;
        min-height: 100svh;
    }
    .auth-container > .container > .row > form > .auth-form-col {
        max-width: 560px;
    }
}

