.authentication-body {
    min-height: 100vh;
    margin: 0;
    background: #f4f7fb;
}

.authentication-page,
.authentication-shell {
    min-height: 100vh;
}

.authentication-shell {
    display: grid;
    grid-template-columns: minmax(360px, 44%) minmax(0, 56%);
}

.authentication-brand-panel {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 64px;
    color: #fff;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, .16), transparent 32%),
        linear-gradient(145deg, #5a49d6 0%, #7259e7 48%, #3e2ea5 100%);
}

.authentication-brand-panel::before,
.authentication-brand-panel::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
}

.authentication-brand-panel::before {
    width: 360px;
    height: 360px;
    right: -130px;
    top: -100px;
}

.authentication-brand-panel::after {
    width: 260px;
    height: 260px;
    left: -100px;
    bottom: -100px;
}

.authentication-brand-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.authentication-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 26px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 16px;
    background: rgba(255, 255, 255, .14);
    box-shadow: 0 18px 42px rgba(28, 15, 91, .25);
    font-size: 28px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.authentication-eyebrow {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .74);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.authentication-brand-panel h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 800;
    letter-spacing: -2px;
}

.authentication-brand-copy {
    max-width: 430px;
    margin: 18px 0 34px;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    line-height: 1.65;
}

.authentication-feature-list {
    display: grid;
    gap: 15px;
}

.authentication-feature-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .9);
}

.authentication-feature-list i {
    width: 20px;
    color: #fff;
    text-align: center;
}

.authentication-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 28px;
}

.authentication-card {
    width: 100%;
    max-width: 460px;
    padding: 42px;
    border: 1px solid #e7eaf0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(32, 41, 61, .10);
}

.authentication-card-heading {
    margin-bottom: 30px;
}

.authentication-card-heading h2 {
    margin: 0 0 7px;
    color: #202633;
    font-size: 30px;
    font-weight: 750;
}

.authentication-card-heading p {
    margin: 0;
    color: #7b8495;
}

.authentication-mobile-brand {
    display: none;
    color: #5a49d6 !important;
    font-weight: 800;
}

.authentication-card .form-label,
.authentication-settings-card .form-label {
    color: #424a59;
    font-size: 13px;
    font-weight: 650;
}

.authentication-card .form-control,
.authentication-settings-card .form-control {
    min-height: 50px;
    border-color: #dfe3ea;
    border-radius: 10px;
    font-size: 14px;
}

.authentication-card .form-control:focus,
.authentication-settings-card .form-control:focus {
    border-color: #7259e7;
    box-shadow: 0 0 0 .2rem rgba(114, 89, 231, .13);
}

.authentication-password-input {
    position: relative;
}

.authentication-password-input .form-control {
    padding-right: 48px;
}

.authentication-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 34px;
    height: 34px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    color: #7c8492;
    background: transparent;
}

.authentication-password-toggle:hover,
.authentication-password-toggle:focus {
    color: #5a49d6;
    background: #f1effd;
    outline: none;
}

.authentication-card .btn-primary,
.authentication-settings-card .btn-primary {
    border-color: #5a49d6;
    background: #5a49d6;
    box-shadow: 0 10px 24px rgba(90, 73, 214, .22);
}

.authentication-card .btn-primary:hover,
.authentication-settings-card .btn-primary:hover {
    border-color: #4938bb;
    background: #4938bb;
}

.authentication-footer {
    margin-top: 26px !important;
    color: #a0a6b2;
    font-size: 12px;
    text-align: center;
}

.authentication-settings-page {
    min-height: calc(100vh - 70px);
}

.authentication-settings-card {
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(32, 41, 61, .06);
}

.authentication-password-rules {
    padding: 14px 16px;
    border: 1px solid #eceef3;
    border-radius: 10px;
    color: #667085;
    background: #f8f9fb;
    font-size: 12px;
}

.authentication-password-rules span {
    color: #424a59;
    font-weight: 650;
}

.authentication-password-rules ul {
    margin: 7px 0 0;
    padding-left: 18px;
}

.authentication-logout-form {
    margin: 0;
}

.authentication-logout-form .dropdown-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

@media (max-width: 991.98px) {
    .authentication-shell {
        grid-template-columns: minmax(300px, 40%) minmax(0, 60%);
    }

    .authentication-brand-panel {
        padding: 38px;
    }

    .authentication-card {
        padding: 34px;
    }
}

@media (max-width: 767.98px) {
    .authentication-shell {
        display: block;
        min-height: 100vh;
    }

    .authentication-brand-panel {
        display: none;
    }

    .authentication-form-panel {
        min-height: 100vh;
        padding: 24px 16px;
    }

    .authentication-card {
        max-width: 520px;
        padding: 30px 24px;
        border-radius: 14px;
    }

    .authentication-mobile-brand {
        display: block;
        margin-bottom: 10px !important;
        font-size: 18px;
    }

    .authentication-card-heading h2 {
        font-size: 26px;
    }
}

@media (max-width: 399.98px) {
    .authentication-form-panel {
        padding: 14px 10px;
    }

    .authentication-card {
        padding: 26px 18px;
    }
}
