.custom-login {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 100%;
    min-height: 100vh;
    background: var(--bs-white);
}

.custom-login.desktop-striped {
    background: #1a1a1a;
}

.striped-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.stripe {
    height: 14.28%;
    position: relative;
    overflow: hidden;
}

.stripe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.8;
}

.stripe.corrections::before { background: linear-gradient(90deg, #666 0%, #999 100%); }
.stripe.dispatch::before { background: linear-gradient(90deg, #4a5d23 0%, #7a9c3f 100%); }
.stripe.ems::before { background: linear-gradient(90deg, #1e3a5f 0%, #2e5a9f 100%); }
.stripe.nurse::before { background: linear-gradient(90deg, #5a5a5a 0%, #8a8a8a 100%); }
.stripe.firefighter::before { background: linear-gradient(90deg, #8b0000 0%, #dc143c 100%); }
.stripe.police::before { background: linear-gradient(90deg, #000080 0%, #0000cd 100%); }
.stripe.military::before { background: linear-gradient(90deg, #2f4f2f 0%, #556b2f 100%); }

.stripe-text {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
}

.custom-login .custom-login-inner {
    width: 100%;
    max-width: 1300px;
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    padding: 15px;
    position: relative;
    z-index: 10;
}

.desktop-login-layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 80px;
    min-height: 100vh;
}

.login-left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vi-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #000;
    border: 6px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 25px;
    box-shadow: 0 0 0 15px rgba(255,255,255,0.1);
}

.vi-logo::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><g fill="white"><polygon points="100,10 105,25 120,25 108,35 113,50 100,40 87,50 92,35 80,25 95,25"/><polygon points="140,20 145,35 160,35 148,45 153,60 140,50 127,60 132,45 120,35 135,35"/><polygon points="170,50 175,65 190,65 178,75 183,90 170,80 157,90 162,75 150,65 165,65"/><polygon points="180,100 185,115 200,115 188,125 193,140 180,130 167,140 172,125 160,115 175,115"/><polygon points="170,150 175,165 190,165 178,175 183,190 170,180 157,190 162,175 150,165 165,165"/><polygon points="140,180 145,195 160,195 148,205 153,220 140,210 127,220 132,205 120,195 135,195"/><polygon points="100,190 105,205 120,205 108,215 113,230 100,220 87,230 92,215 80,205 95,205"/><polygon points="60,180 65,195 80,195 68,205 73,220 60,210 47,220 52,205 40,195 55,195"/><polygon points="30,150 35,165 50,165 38,175 43,190 30,180 17,190 22,175 10,165 25,165"/><polygon points="20,100 25,115 40,115 28,125 33,140 20,130 7,140 12,125 0,115 15,115"/><polygon points="30,50 35,65 50,65 38,75 43,90 30,80 17,90 22,75 10,65 25,65"/><polygon points="60,20 65,35 80,35 68,45 73,60 60,50 47,60 52,45 40,35 55,35"/></g></svg>') center/contain no-repeat;
    top: -25px;
    left: -25px;
}

.vi-text {
    font-size: 80px;
    font-weight: bold;
    color: #fff;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.mysix-text {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.login-text {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.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: 100%;
}

.custom-login .bg-login {
    content: "";
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    border-radius: 0px;
    position: absolute;
    transform-origin: bottom;
    background: var(--bs-green);
}

.custom-login .navbar {
    background: var(--bs-white);
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    box-shadow: 0 8px 35px rgba(182, 186, 203, 0.25);
    padding: 15px 0;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.custom-login .navbar .nav-link {
    padding: 1px 20px;
    position: relative;
    font-weight: 500;
    color: var(--bs-dark);
}

.custom-login .navbar .nav-item .nav-link::after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 2px;
    background: #000000;
    top: 0;
    right: 0;
}

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

.custom-login .card {
    box-shadow: none;
}

.custom-login .custom-wrapper {
    padding: 40px 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 .card-body {
    background-color: var(--bs-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 440px;
    width: 100%;
    margin-left: auto;
    box-shadow: 0px 0px 25px 0px #0000000d;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.desktop-striped .custom-wrapper .card .card-body {
    background-color: rgba(0,0,0,0.85);
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    max-width: 350px;
    padding: 40px 30px;
    border-radius: 12px !important;
    position: relative;
    right: -200px;
}

.desktop-striped .form-control {
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.desktop-striped .form-control:focus {
    border-color: #666;
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
}

.desktop-striped .form-label {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.desktop-striped a {
    color: #ccc !important;
}

.desktop-striped a:hover {
    color: #fff !important;
}

.desktop-striped .btn-primary {
    background: #000;
    border: none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.desktop-striped .btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
}

.desktop-striped .login-header h2 {
    display: none;
}

.desktop-striped .login-header p {
    display: none;
}

.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: var(--bs-green);
}

.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: #000000 !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: 30px;
}

/* Enhanced Login Styles */
.login-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--bs-dark);
    margin-bottom: 8px;
}

.login-header p {
    font-size: 14px;
    color: #6c757d;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 18px;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--bs-primary);
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e0e6ed;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.btn-login {
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.forgot-link {
    font-size: 14px;
    text-decoration: none;
    color: var(--bs-primary);
}

.forgot-link:hover {
    text-decoration: underline;
}

.signup-link a {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}
.login-bg-1{
    position: absolute;
    bottom: 0;
    left: 10%;
    z-index: 1;
}
.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 {
        position: absolute;
        bottom: 0;
        left: 0%;
        z-index: 1;
        max-height: 500px;
    }
}


@media only screen and (max-width: 1300px) {
    .custom-login .card .custom-img img {
        max-width: 100%;
    }
    .login-bg-1 {
        position: absolute;
        bottom: 0;
        left: 0%;
        z-index: 1;
        max-height: 500px;
    }
}

@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;
    }

    .desktop-striped {
        background: var(--bs-white) !important;
    }

    .striped-background {
        display: none;
    }

    .desktop-login-layout {
        display: block;
        padding-left: 0;
    }

    .login-left-section {
        display: none;
    }

    .desktop-striped .custom-wrapper .card .card-body {
        background-color: var(--bs-white);
        box-shadow: 0px 0px 25px 0px #0000000d;
        max-width: 440px;
    }

    .desktop-striped .form-label {
        color: var(--bs-dark);
    }

    .desktop-striped .login-header h2,
    .desktop-striped .login-header p {
        display: block;
    }
}

@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: 25px 20px;
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .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;
    }

    .login-header h2 {
        font-size: 24px;
    }

    .login-header p {
        font-size: 13px;
    }

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

@media only screen and (max-width: 575px) {
    .custom-login .autorized-btn .btn {
        max-width: 100%;
    }

    .custom-login .custom-wrapper .card .card-body {
        padding: 20px 15px;
        margin: 5px;
        max-width: calc(100% - 10px);
    }

    .login-header h2 {
        font-size: 22px;
    }

    .form-control {
        padding: 10px 14px;
    }

    .btn-login {
        padding: 10px;
        font-size: 15px;
    }
}

::-webkit-scrollbar {
    width: 3px;
  }

  ::-webkit-scrollbar-track {
    background: #F5F5F5;
    border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #F5F5F5;
  }
/* Additional Mobile Optimizations */
@media only screen and (max-width: 480px) {
    .custom-login .custom-wrapper .card .card-body {
        padding: 20px 15px;
        margin: 5px;
        border-radius: 15px !important;
    }

    .login-header h2 {
        font-size: 20px;
        text-align: center;
    }

    .login-header p {
        font-size: 12px;
        text-align: center;
    }

    .custom-login .navbar {
        padding: 10px 0;
        margin: 0 5px;
    }

    img.navbar-brand-img {
        width: 180px !important;
        height: 45px !important;
    }
}

/* Desktop Enhancements */
@media only screen and (min-width: 1200px) {
    .custom-login .custom-wrapper .card .card-body {
        padding: 40px;
        max-width: 480px;
    }

    .login-header h2 {
        font-size: 32px;
    }

    .login-header p {
        font-size: 16px;
    }

    .desktop-striped .custom-login-inner {
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 120px;
    }

    .desktop-striped .dash-header {
        position: absolute;
        top: 20px;
        right: 20px;
        width: auto;
    }

    .desktop-striped .navbar {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .desktop-striped .custom-wrapper {
        flex: none;
        width: auto;
        padding: 0;
    }
}

/* Tablet Optimizations */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .custom-login .custom-wrapper .card .card-body {
        padding: 35px 30px;
        max-width: 450px;
    }
}
