/* ===================================
   SPLIT SCREEN LOGIN - CONSTRUCTION THEME
   =================================== */

.split-screen-login {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Left Panel - Construction Branding */
.login-left-panel {
    position: relative;
    flex: 1;
    background: linear-gradient(135deg, #f3661e 0%, #D35400 50%, #BF360C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    overflow: hidden;
}

.login-left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(230, 81, 0, 0.85), rgba(191, 54, 12, 0.85)),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.left-panel-overlay {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    z-index: 2;
}

.left-panel-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 500px;
}

.brand-logo {
    margin-bottom: 50px;
}

.brand-logo img {
    max-width: 220px;
    height: auto;
    filter: brightness(0) invert(1);
}

.welcome-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

.welcome-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
}

.construction-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 32px;
    color: #ffffff;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    text-align: left;
}

/* Right Panel - Login Form */
.login-right-panel {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.login-form-container {
    width: 100%;
    max-width: 480px;
}

.language-selector-top {
    position: absolute;
    top: 30px;
    right: 30px;
}

.login-form-wrapper {
    width: 100%;
}

.login-header {
    margin-bottom: 35px;
}

.login-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

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

.login-form-content {
    width: 100%;
}

.login-form-content .form-group {
    margin-bottom: 20px;
}

.login-form-content .form-label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 14px;
}

.login-form-content .form-control {
    height: 50px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-form-content .form-control:focus {
    border-color: #f3661e;
    box-shadow: 0 0 0 0.2rem rgba(230, 81, 0, 0.1);
}

.login-form-content .btn-primary {
    height: 50px;
    background: linear-gradient(135deg, #f3661e 0%, #D35400 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-form-content .btn-primary:hover {
    background: linear-gradient(135deg, #D35400 0%, #BF360C 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.3);
}

.login-footer-text {
    margin-top: 30px;
    text-align: center;
}

.login-footer-text p {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

/* Mobile Logo - Hidden on Desktop, Show on Mobile */
.mobile-logo-top {
    display: none;
    text-align: center;
    margin-bottom: 30px;
}

.mobile-logo-top img {
    max-width: 180px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 991px) {
    .split-screen-login {
        flex-direction: column;
    }

    .login-left-panel {
        min-height: 250px;
        padding: 30px 20px;
    }

    .brand-logo {
        margin-bottom: 25px;
    }

    .brand-logo img {
        max-width: 150px;
    }

    .welcome-text h1 {
        font-size: 26px;
    }

    .welcome-text p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .construction-features {
        flex-direction: row;
        gap: 12px;
        margin-top: 25px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 12px;
        flex: 1;
    }

    .feature-item span {
        text-align: center;
        font-size: 12px;
    }

    .feature-item i {
        font-size: 22px;
    }

    .login-right-panel {
        padding: 30px 20px;
    }

    .language-selector-top {
        top: 15px;
        right: 15px;
    }

    /* Show mobile logo on tablets/mobile */
    .mobile-logo-top {
        display: block;
    }

    .login-header {
        margin-bottom: 25px;
    }

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

@media (max-width: 575px) {
    .login-left-panel {
        min-height: 200px;
        padding: 25px 15px;
    }

    .brand-logo img {
        max-width: 120px;
    }

    .welcome-text h1 {
        font-size: 22px;
    }

    .welcome-text p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .construction-features {
        flex-direction: column;
        gap: 8px;
        margin-top: 20px;
    }

    .feature-item {
        padding: 10px;
    }

    .feature-item span {
        font-size: 11px;
    }

    .feature-item i {
        font-size: 20px;
    }

    .login-right-panel {
        padding: 25px 15px;
    }

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

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

    .login-form-container {
        max-width: 100%;
    }

    .mobile-logo-top img {
        max-width: 140px;
    }

    .login-form-content .form-control {
        height: 48px;
        font-size: 14px;
    }

    .login-form-content .btn-primary {
        height: 48px;
        font-size: 15px;
    }

    .language-selector-top {
        top: 10px;
        right: 10px;
    }
}

/* Legacy Support - Keep old styles for other auth pages */
.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 .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 {
    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: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    box-shadow: 0 6px 30px rgba(182, 186, 203, 0.3);
    padding: 10px 0;
}

.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: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    border: none;
}

.custom-login .card-header {
    background: transparent;
    padding: 30px 30px 0 30px;
}

.custom-login .login-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-login .lang-dropdown-only-desk {
    margin-top: 10px;
}

.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: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 40px 40px 40px;
    box-shadow: none;
    border-radius: 0 0 16px 16px;
    -webkit-border-radius: 0 0 16px 16px;
    -moz-border-radius: 0 0 16px 16px;
    -ms-border-radius: 0 0 16px 16px;
    -o-border-radius: 0 0 16px 16px;
}

.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: 20px;
}
.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;
    }
}

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