.brand-logo {
    display: block;
    object-fit: contain;
    background-color: #fff;
}

.login-brand-logo {
    width: 104px;
    height: 104px;
    margin: 0 auto 14px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(23, 43, 77, 0.2);
}

.login-page-root {
    height: 100%;
    overflow: hidden;
}

.login-page {
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden !important;
    background: #5e72e4;
}

.login-page-shell {
    position: relative;
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: 24px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
}

.login-page-shell::before,
.login-page-shell::after {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    background: rgba(255, 255, 255, 0.08);
}

.login-page-shell::before {
    top: -170px;
    right: -90px;
}

.login-page-shell::after {
    bottom: -190px;
    left: -80px;
}

.login-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}

.login-heading {
    margin-bottom: 18px;
    text-align: center;
    color: #fff;
}

.login-heading h1 {
    margin-bottom: 5px;
    color: #fff;
    font-size: 28px;
    line-height: 1.2;
}

.login-heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.login-form-card {
    padding: 28px 30px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(23, 43, 77, 0.22);
}

.login-form-card .form-group {
    margin-bottom: 18px;
}

.login-form-card .form-control {
    height: 46px;
}

.login-submit {
    width: 100%;
    margin-top: 4px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.sidebar-brand-logo {
    width: 112px;
    height: 112px;
    max-height: 112px !important;
    margin: 0 auto;
}

#sidenav-main .sidenav-header {
    display: flex;
    height: 136px;
    padding: 12px 16px;
    justify-content: center;
}

#sidenav-main .sidenav-header .navbar-brand {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

#sidenav-main .navbar-inner {
    padding-top: 8px;
}

.topbar-brand-logo {
    width: 42px;
    height: 42px;
    margin-right: 0.65rem;
    border-radius: 4px;
}

@media (max-width: 575.98px) {
    .login-brand-logo {
        width: 88px;
        height: 88px;
    }

    .login-page-shell {
        padding: 16px;
        align-items: flex-start;
    }

    .login-form-card {
        padding: 22px 20px;
    }
}

@media (max-height: 620px) {
    .login-page-shell {
        padding-top: 16px;
        padding-bottom: 16px;
        align-items: flex-start;
    }

    .login-brand-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 8px;
    }

    .login-heading {
        margin-bottom: 12px;
    }

    .login-form-card {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}
