.custom-login {
    position: relative;
    min-width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    color: #14213d;
    background:
        radial-gradient(circle at 16% 14%, rgba(25, 117, 210, 0.16), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(34, 197, 94, 0.13), transparent 26%),
        linear-gradient(135deg, #f7fbff 0%, #edf5ff 42%, #f6f8fb 100%);
}

.custom-login::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.2)),
        repeating-linear-gradient(90deg, rgba(20, 33, 61, 0.035) 0, rgba(20, 33, 61, 0.035) 1px, transparent 1px, transparent 88px);
    pointer-events: none;
}

.custom-login .login-bg-img,
.custom-login .bg-login {
    display: none;
}

.custom-login .custom-login-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.custom-login .dash-header {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    min-height: auto;
    box-shadow: none;
}

.custom-login .navbar {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.custom-login .navbar .container {
    max-width: 1180px;
    padding: 0;
}

.custom-login .dash-header .navbar-brand,
.custom-login .dash-header .navbar-brand a {
    display: inline-flex;
    align-items: center;
    padding: 0;
    line-height: 1;
}

.custom-login .dash-header .navbar-brand a .logo {
    width: auto;
    height: 46px;
    max-width: 210px;
    object-fit: contain;
}

.custom-login .navbar-collapse {
    justify-content: flex-end;
}

.custom-login .navbar .nav-link {
    color: rgba(20, 33, 61, 0.72);
    font-weight: 500;
    padding: 0 14px;
}

.custom-login .navbar .nav-item .nav-link::after {
    display: none;
}

.custom-login .drp-language .btn {
    min-height: 40px;
    margin: 0;
    padding: 9px 32px 9px 14px;
    border: 1px solid rgba(20, 33, 61, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #14213d;
    box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
}

.custom-login .drp-language .drp-text {
    margin-right: 0;
    color: #14213d;
    font-weight: 600;
}

.custom-login .dropdown-toggle::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 9px;
    height: 6px;
    border: 0;
    transform: translateY(-50%);
    background: url(../images/down-arrow.svg) center / 9px no-repeat;
}

.custom-login .drp-language a span {
    color: #14213d !important;
}

.custom-login .custom-wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 58px 0 36px;
    flex: 1;
    display: flex;
    align-items: center;
}

.custom-login .custom-row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 440px);
    gap: 48px;
    align-items: center;
}

.auth-hero-panel {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    border: 1px solid rgba(20, 33, 61, 0.08);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(7, 68, 132, 0.94), rgba(12, 111, 184, 0.86)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
    color: #ffffff;
    box-shadow: 0 28px 70px rgba(9, 58, 115, 0.22);
}

.auth-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-hero-title {
    max-width: 560px;
    margin: 22px 0 14px;
    color: #ffffff;
    font-size: 44px;
    line-height: 1.08;
    font-weight: 750;
}

.auth-hero-copy {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.65;
}

.auth-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.auth-feature {
    min-height: 104px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-feature span {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.auth-feature small {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.45;
}

.custom-login .card {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 30px 80px rgba(20, 33, 61, 0.16);
    backdrop-filter: blur(18px);
}

.custom-login .custom-wrapper .card .card-body {
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: 38px;
    background: transparent;
    border-radius: 28px;
    box-shadow: none;
}

.auth-form-kicker {
    margin-bottom: 8px;
    color: #1976d2;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-form-title {
    margin-bottom: 8px;
    color: #14213d;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 760;
}

.auth-form-subtitle {
    margin-bottom: 28px;
    color: #667085;
    line-height: 1.55;
}

.custom-login .form-label {
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.custom-login .form-control {
    min-height: 48px;
    border-color: #d8e0ea;
    border-radius: 12px;
    color: #14213d;
    font-size: 14px;
    background: #fbfdff;
}

.custom-login .form-control:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 0.18rem rgba(25, 118, 210, 0.16);
    background: #ffffff;
}

.custom-login a {
    color: #1976d2;
    font-weight: 600;
}

.custom-login .btn-primary {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f63b6, #1687d9);
    font-weight: 750;
    box-shadow: 0 16px 30px rgba(22, 135, 217, 0.25);
}

.custom-login .btn-primary:hover,
.custom-login .btn-primary:focus {
    background: linear-gradient(135deg, #0b539c, #0f75c2);
    box-shadow: 0 18px 36px rgba(15, 99, 182, 0.3);
}

.custom-login .text-danger {
    font-size: 13px;
}

.custom-login .alert-success {
    border-color: rgba(22, 163, 74, 0.18);
    background: #ecfdf3;
    color: #166534;
}

.custom-login .alert-danger {
    border-color: rgba(220, 38, 38, 0.18);
    background: #fef2f2;
    color: #991b1b;
}

.auth-footer {
    position: relative;
    z-index: 1;
    color: rgba(20, 33, 61, 0.62);
    font-size: 13px;
}

.auth-footer .container {
    max-width: 1180px;
    padding: 0;
}

.auth-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(20, 33, 61, 0.08);
}

.auth-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-footer-links .nav-item {
    list-style: none;
}

.auth-footer-links .nav-link {
    padding: 0;
    color: rgba(20, 33, 61, 0.62);
    font-size: 13px;
    font-weight: 500;
}

@media only screen and (max-width: 991px) {
    .custom-login .custom-login-inner {
        padding: 18px;
    }

    .custom-login .custom-wrapper {
        padding: 34px 0 24px;
    }

    .custom-login .custom-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .auth-hero-panel {
        min-height: auto;
        padding: 28px;
    }

    .auth-hero-title {
        font-size: 34px;
    }
}

@media only screen and (max-width: 767px) {
    .custom-login .navbar .container {
        align-items: center;
    }

    .custom-login .dash-header .navbar-brand a .logo {
        height: 38px;
        max-width: 170px;
    }

    .custom-login .navbar-toggler {
        border: 0;
        padding-right: 0;
    }

    .custom-login .navbar .navbar-collapse {
        margin-top: 16px;
        text-align: left;
    }

    .custom-login .navbar .nav-link {
        padding: 8px 0;
    }

    .auth-feature-grid {
        grid-template-columns: 1fr;
    }

    .custom-login .custom-wrapper .card .card-body {
        padding: 28px 22px;
    }

    .auth-form-title {
        font-size: 26px;
    }

    .auth-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-footer-links {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 575px) {
    .custom-login .custom-login-inner {
        padding: 14px;
    }

    .auth-hero-panel {
        padding: 24px;
        border-radius: 22px;
    }

    .auth-hero-title {
        font-size: 30px;
    }

    .custom-login .card,
    .custom-login .custom-wrapper .card .card-body {
        border-radius: 22px;
    }
}
