.custom-login {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(1200px 600px at 30% 20%, rgba(250, 68, 129, 0.25), transparent 60%),
        radial-gradient(900px 500px at 70% 30%, rgba(129, 23, 157, 0.35), transparent 60%),
        radial-gradient(1000px 700px at 60% 80%, rgba(91, 26, 165, 0.35), transparent 60%),
        linear-gradient(135deg, #2b0a4d 0%, #4b0f86 35%, #7b1aa2 65%, #b02a8f 100%);
    color: #fff;
    animation: bgShift 10s ease-in-out infinite alternate;
}

.custom-login .custom-login-inner {
    width: 100%;
    max-width: 1300px;
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.custom-login .dash-header {
    position: relative;
    left: 0;
    top: 0;
    right: 0;
    box-shadow: none;
    min-height: auto;
}

.custom-login .dash-header .dash-h-item {
    min-height: auto;
}

.custom-login .dash-header .navbar-brand {
    padding: 0;
}

.custom-login .dash-header .navbar-brand a {
    display: block;
    line-height: 1;
}

.custom-login .dash-header .navbar-brand a .logo {
    width: 160px;
    height : 60px;
}

.custom-login .bg-login { display: none; }

.custom-login .dash-header,
.custom-login .navbar,
.custom-login .navbar .container {
    background: transparent !important;
}
.custom-login .navbar {
    position: relative;
    overflow: visible;
    border-radius: 18px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255,255,255,0.30);
    padding: 8px 16px;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.30);
}
.custom-login .navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 140% at 20% 20%, rgba(255,255,255,0.32), rgba(255,255,255,0.16)),
        linear-gradient(135deg, rgba(255,255,255,0.40), rgba(255,255,255,0.18));
    backdrop-filter: blur(18px);
    z-index: 0;
}
.custom-login .navbar > * {
    position: relative;
    z-index: 1;
}

.custom-login .navbar .navbar-collapse {
    justify-content: flex-end;
}

.custom-login .navbar .nav-link {
    padding: 1px 20px;
    position: relative;
    font-weight: 500;
    color: #fff;
}
.custom-login .navbar .btn,
.custom-login .navbar select {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.32);
    color: #fff;
    border-radius: 14px;
    box-shadow:
        0 12px 30px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.35);
}
.custom-login .navbar .drp-language .btn {
    padding: 8px 30px 8px 12px;
    backdrop-filter: blur(12px);
    background: #f5f5f526;
}
.custom-login .navbar select:focus,
.custom-login .navbar .btn:focus {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.14);
}

.custom-login .navbar .nav-item .nav-link::after { display: none; }

/* language dropdown */
.custom-login .drp-language .dropdown-menu {
    background: rgba(20, 9, 40, 0.68);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 46px rgba(0,0,0,0.36);
    border-radius: 14px;
    overflow: hidden;
    margin-top: 8px;
}
.custom-login .drp-language .dropdown-item {
    color: #fff;
    padding: 10px 14px;
}
.custom-login .drp-language .dropdown-item:hover,
.custom-login .drp-language .dropdown-item:focus {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.custom-login .drp-language .dropdown-item.text-primary {
    color: #ffd580 !important;
    font-weight: 700;
}

.custom-login .card {
    box-shadow: none;
}

.custom-login .custom-wrapper {
    padding: 14px 0;
    max-width: 1170px;
    width: 100%;
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0 auto;
}

.custom-login .custom-wrapper .custom-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    z-index: 9;
}

.custom-login .custom-wrapper .card {
    background: transparent;
    box-shadow: none;
    border: 0;
    width: 100%;
}
.custom-login .custom-wrapper .card .card-body {
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.custom-login .custom-login-form .for-pwd {
    font-size: 13px;
    line-height: 1;
}

.custom-login .custom-login-form .login-btn {
    margin-bottom: 20px;
}

.custom-login .custom-login-form .remember-check {
    font-size: 13px;
}

.custom-login .custom-login-form .field-icon {
    position: absolute;
    top: 58%;
    right: 10px;
    line-height: 1;
}

.custom-login .custom-login-form .pss-field {
    position: relative;
}

.custom-login a { color: #fff; }

.custom-login .custom-wrapper .card .card-body h2 span {
    color: var(--bs-green);
    font-weight: 400;
}

.custom-login .form-control:focus {
    border-color: var(--bs-green);
    box-shadow: 0 0 0 0.2rem rgba(12, 175, 96, 0.25);
}

.custom-login .form-check-input:checked {
    background-color: var(--bs-green);
    border-color: var(--bs-green);
}

.custom-login .autorized-btn {
    gap: 15px;
    justify-content: space-between;
    margin-top: 20px;
}

.custom-login .autorized-btn .btn {
    max-width: 47%;
    width: 100%;
}

.custom-login .drp-language .drp-text {
    margin-right: 5px;
}

.custom-login .drp-language a span { color: #ffffff !important; }

.custom-login .dropdown-toggle::after {
    content: "";
    position: absolute;
    height: 6px;
    width: 9px;
    right: 10px;
    top: 18px;
    background: url(../images/down-arrow.svg);
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all ease-in-out .5s;
    -moz-transition: all ease-in-out .5s;
    -ms-transition: all ease-in-out .5s;
    -o-transition: all ease-in-out .5s;
    transition: all ease-in-out .5s;
    border: 0;
}

.custom-login .drp-language .btn {
    background: #F5F5F5;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    margin: 0;
    padding: 10px 25px 10px 10px;
}

.custom-login .drp-language .btn.show {
    border-color: #F5F5F5;
}

.custom-login .custom-img img {
    max-width: 540px;
    width: 100%;
    margin: auto;
    display: block;
}

.custom-login .card {
    margin-bottom: 0;
    background-color: transparent;
    width: 440px;
}
.custom-login .custom-wrapper .card .card-body{
    box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 10%);
    border-radius: 20px !important;
    padding: 20px;
}
.login-bg-1{ display: none; }
.login-bg-2{
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}
.auth-footer{
    position: relative;
    z-index: 1;
    text-align: center;
}

@media only screen and (max-width: 1439px) {
    .login-bg-1 { display: none; }
}


@media only screen and (max-width: 1300px) {
    .custom-login .card .custom-img img {
        max-width: 100%;
    }
    .login-bg-1 { display: none; }
}

@media only screen and (max-width: 1199px) {
    .custom-login .custom-wrapper .card .card-body {
        margin: auto;
    }
}

@media only screen and (max-width: 991px) {
    .custom-login .custom-wrapper {
        padding: 20px 0;
    }
    .custom-login .navbar .nav-link {
        padding: 0px 15px;
    }
    .auth-footer {
        text-align: center;
    }
    .login-bg-1,.login-bg-2{
       display: none;
    }
}

@media only screen and (max-width: 767px) {
    .custom-login .dash-header .navbar-brand {
        max-width: 120px;
    }

    .custom-login .navbar .nav-item .nav-link::after {
        display: none;
    }

    .custom-login .navbar .nav-link {
        padding: 10px 20px;
    }

    .custom-login .custom-wrapper .card .card-body {
        padding: 20px 15px;
    }

    .custom-login .navbar .navbar-collapse {
        text-align: center;
        margin-top: 20px;
    }

    .custom-login .dash-header .dash-h-item {
        display: block;
    }

    .custom-login .drp-language a {
        text-align: center;
    }
}

@media only screen and (max-width: 575px) {
    .custom-login .autorized-btn .btn {
        max-width: 100%;
    }
}



/* login page css (12-11-2024) */
.custom-login .custom-wrapper .custom-row
{
    z-index: unset;
}

/* --- New GENIO login look --- */
.custom-login {
    background:
        radial-gradient(1200px 600px at 30% 20%, rgba(250, 68, 129, 0.25), transparent 60%),
        radial-gradient(900px 500px at 70% 30%, rgba(129, 23, 157, 0.35), transparent 60%),
        radial-gradient(1000px 700px at 60% 80%, rgba(91, 26, 165, 0.35), transparent 60%),
        linear-gradient(135deg, #2b0a4d 0%, #4b0f86 35%, #7b1aa2 65%, #b02a8f 100%);
    color: #fff;
    animation: bgShift 10s ease-in-out infinite alternate;
}
.custom-login::before,
.custom-login::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.custom-login::after {
    background:
        radial-gradient(340px 340px at 18% 42%, rgba(205,90,255,0.55), rgba(205,90,255,0.05) 60%, transparent 70%),
        radial-gradient(280px 280px at 82% 82%, rgba(128,70,255,0.48), rgba(128,70,255,0.05) 60%, transparent 70%),
        radial-gradient(260px 260px at 70% 25%, rgba(255,126,255,0.25), transparent 70%);
    filter: blur(0px);
    opacity: 0.9;
}
.custom-login::before {
    background:
        radial-gradient(220px 220px at 10% 85%, rgba(35,10,60,0.75), transparent 65%),
        radial-gradient(260px 260px at 92% 10%, rgba(18,8,40,0.85), transparent 70%);
    opacity: 0.9;
}
.custom-login .bg-login {
    display: none;
}
.custom-login .custom-wrapper {
    padding: 14px 0;
}
.custom-login .custom-wrapper .card {
    width: 100%;
    max-width: 1280px;
    background: transparent;
}
.custom-login .custom-wrapper .card .card-body.login-landing {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 10px 24px 30px;
    background: transparent;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}
.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.streak {
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.12), transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.10), transparent 50%),
        linear-gradient(135deg, transparent 45%, rgba(255,255,255,0.10) 50%, transparent 55%),
        linear-gradient(25deg, transparent 35%, rgba(255,255,255,0.08) 45%, transparent 55%);
    transform: rotate(8deg);
    opacity: .9;
    animation: streakMove 12s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.particles::before,
.particles::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,.55) 30%, transparent 40%),
        radial-gradient(2px 2px at 35% 65%, rgba(255,255,255,.45) 30%, transparent 40%),
        radial-gradient(1.5px 1.5px at 70% 30%, rgba(255,255,255,.45) 30%, transparent 40%),
        radial-gradient(1.2px 1.2px at 90% 55%, rgba(255,255,255,.35) 30%, transparent 40%),
        radial-gradient(1.2px 1.2px at 55% 85%, rgba(255,255,255,.35) 30%, transparent 40%),
        radial-gradient(1.1px 1.1px at 15% 80%, rgba(255,255,255,.30) 30%, transparent 40%);
    opacity: .55;
    filter: blur(.2px);
    pointer-events: none;
}
.particles::before { animation: twinkle 6s ease-in-out infinite; }
.particles::after  { animation: twinkle 8s ease-in-out infinite reverse; opacity: .35; }
.login-hero {
    position: relative;
    padding: 10px 14px 0 10px;
}
.login-mascot {
    max-width: 360px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.28));
}
.welcome-bubble {
    display: inline-block;
    max-width: 380px;
    background: linear-gradient(150deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 18px 20px;
    border-radius: 18px;
    margin-left: 18px;
    margin-bottom: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.28);
    position: relative;
}
.welcome-bubble::after {
    content: "";
    position: absolute;
    left: 70px;
    bottom: -18px;
    width: 36px;
    height: 24px;
    background: linear-gradient(150deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    filter: blur(0.2px);
}
.glass-card {
    background: rgb(45 47 58 / 71%);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.25);
    border-radius: 28px;
    padding: 34px 32px;
    backdrop-filter: blur(18px);
}
.login-header .title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.login-header .subtitle {
    color: rgba(255,255,255,0.82);
    margin-bottom: 18px;
}
.custom-login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.field-neo {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    transition: 0.25s ease;
}
.field-neo:focus-within {
    border-color: rgba(250,68,129,0.45);
    box-shadow:
        0 0 0 4px rgba(250,68,129,0.18),
        0 12px 24px rgba(0,0,0,0.18);
}
.field-neo .icon {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    line-height: 1;
}
.field-neo .form-control {
    background: transparent;
    border: none;
    color: #fff;
    padding-left: 0;
    padding-top: 18px;
    box-shadow: none;
}
.field-body {
    position: relative;
    flex: 1;
}
.float-label label {
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.72);
    transition: 0.18s ease;
    pointer-events: none;
}
.float-label input:focus + label,
.float-label input:not(:placeholder-shown) + label {
    top: -4px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
}
.field-neo .form-control::placeholder {
    color: transparent;
}
.btn-neo {
    position: relative;
    isolation: isolate;
    background: linear-gradient(90deg, #5B1AA5 0%, #81179D 45%, #FA4481 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 14px 16px;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(0,0,0,0.22);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}
.btn-neo:hover {
    transform: translateY(-1px);
    filter: saturate(1.1);
    box-shadow: 0 24px 50px rgba(0,0,0,0.28);
}
.btn-neo:active {
    transform: translateY(0);
}
.btn-neo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.30) 30%, transparent 60%);
    transform: translateX(-120%);
    animation: shine 3.6s ease-in-out infinite;
    z-index: -1;
}
.link-light {
    color: rgba(255,255,255,0.85);
}
.link-light:hover {
    color: #fff;
}
.login-panel .alert {
    background: rgba(255,82,82,0.14);
    color: #ffd1d1;
    border: 1px solid rgba(255,82,82,0.35);
}
.tip-card {
    position: absolute;
    right: 0;
    bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(14px);
    max-width: 240px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.remember-check .form-check-input {
    background: transparent;
    border-color: rgba(255,255,255,0.65);
}
.remember-check .form-check-input:checked {
    background-color: #ffffff;
    border-color: #ffffff;
}
.login-bg-1 {
    max-height: 480px;
    left: 4%;
}
.login-bg-2 {
    display: none;
}

@media only screen and (max-width: 1199px) {
    .welcome-bubble {
        margin-left: 0;
    }
}
@media only screen and (max-width: 991px) {
    .login-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .welcome-bubble {
        margin: 0 auto 12px;
    }
    .glass-card {
        max-width: 520px;
        margin: 0 auto;
    }
    .login-header .title {
        font-size: 28px;
    }
    .login-mascot { max-width: 300px; }
}
@media only screen and (max-width: 575px) {
    .login-hero {
        padding: 10px;
    }
    .welcome-bubble {
        max-width: 100%;
    }
    .glass-card {
        padding: 24px 18px;
    }
    .custom-login-form {
        gap: 12px;
    }
}

@keyframes bgShift {
    0%   { filter: hue-rotate(0deg) saturate(1); }
    100% { filter: hue-rotate(5deg) saturate(1.05); }
}
@keyframes streakMove {
    0%   { transform: rotate(8deg); opacity: .85; }
    100% { transform: rotate(12deg); opacity: 1; }
}
@keyframes twinkle {
    0%,100% { opacity: .25; }
    50%     { opacity: .6;  }
}
@keyframes shine {
    0%   { transform: translateX(-120%); opacity: 0; }
    15%  { opacity: .6; }
    40%  { transform: translateX(120%); opacity: 0; }
    100% { transform: translateX(120%); opacity: 0; }
}
@keyframes floaty {
    0%,100% { transform: translate3d(0,0,0); }
    50%     { transform: translate3d(0,-10px,0); }
}

@media (prefers-reduced-motion: reduce) {
    .custom-login,
    .custom-login::before,
    .custom-login::after,
    .btn-neo::before,
    .login-hero,
    .login-panel { animation: none !important; }
}
