﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@font-face {
    font-family: Outfit;
    src: url('../fonts/Outfit/Outfit-VariableFont_wght.ttf') format('truetype');
}

body {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-size: 16px;
}

/* Custome Scroll bar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background-color: rgba(245, 245, 245, .3);
    border-radius: 3px;
    width: 0.1vw;
}

::-webkit-scrollbar-thumb {
    background-color: #707070;
    border-radius: 3px;
    width: 0.6vw;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #000;
    }

/* Custome Scroll bar */


.login-wrapper {
    display: flex;
    width: 100%;
}
/*
.login-wrapper {
    align-items: flex-start;
}*/

/*.login-wrapper {
    display: flex;
    flex-basis: 100%;
    width: 98%;
    min-height: calc(100vh - 40px);
    background: beige url("../images/login-bg.jpg");
    border-radius: 30px;
    margin: 20px auto;
    background-size: cover;
}*/
.login-wrapper {
    display: flex;
    flex-basis: 100%;
    /*min-height: 100vh;*/
    width: 100%;
    min-height: calc(100vh - 0px);
    /* padding: 2%; */
    background: #3494E6; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #EC6EAD, #3494E6); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #EC6EAD, #3494E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    /* background: url(../images/bodybg.png) no-repeat center;
    background-size: cover;*/
    margin: 0px auto;
    background-size: cover;
}

    .login-wrapper .login-inner {
        --background-color: #fff;
    }

    .login-wrapper .login-inner {
        width: 100%;
        min-height: calc(100vh - 80px);
    }


.left-panel {
    flex: 1;
    background-color: #ffffff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 60%; /* Adjust as needed */
    box-sizing: border-box;
}

.logo-section {
    width: 100%
}

    .logo-section img {
        width: 98%;
        max-width: 500px;
        height: auto;
        text-align: center
    }

.divloginContainer {
    width: 420px !important;
}


.content-section {
    width: 600px;
    margin: 0 auto;
}

    .content-section h1 {
        font-size: 2rem !important;
    }

    .content-section h2 {
        font-size: 1.6rem !important;
        margin-top: 2rem
    }

.quote {
    color: #0077E2;
    font-size: 1rem;
    font-weight: 400;
    text-align: end;
    display: block;
    margin-bottom: 1rem
}

.powered-by {
    font-size: 14px;
    color: #707070;
    text-align: center;
    gap: 8px;
    width: 100%;
    margin-bottom: -1rem
}

.powered-by-mobile {
    font-size: 8px;
    color: #f1f1f1;
    text-align: center;
    width: 100%;
}

.powered-by img {
    height: 20px; /* Adjust size as needed */
    width: auto;
}

.powered-by-mobile img {
    height: 16px; /* Adjust size as needed */
    width: auto;
}


.right-panel {
    flex: 1;
    background: linear-gradient(135deg, #3498db, #2980b9); /* Blue gradient */
    background: #126fde url('../images/rightpanel_bg.png') no-repeat left center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 40%; /* Adjust as needed */
    box-sizing: border-box;
    overflow: hidden; /* For the robot image */
}


.login-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 30px;
}

.logintxt {
    color: #fff;
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 2rem
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .separator:not(:empty)::before {
        margin-right: .25em;
    }

    .separator:not(:empty)::after {
        margin-left: .25em;
    }

.robot-illustration {
    position: absolute;
    bottom: 10px; /* Adjust to make it slightly off-screen */
    right: 10px; /* Adjust to make it slightly off-screen */
    width: 150px; /* Adjust size as needed */
    height: auto;
    opacity: 0.8;
    pointer-events: none; /* Ensure it doesn't interfere with clicks */
}

.loginContainer {
    padding: 3rem 1.5rem;
    border-radius: 15px;
    -webkit-box-shadow: -4px 0px 13px -5px rgba(0, 0, 0, .75);
    -moz-box-shadow: -4px 0px 13px -5px rgba(0,0,0,.75);
    box-shadow: 0 3px 6px #00000029;
    transform: scale(1);
    margin: 0 0px;
    backdrop-filter: blur(10px); /*  Frosted glass effect */
    background-color: rgba(255, 255, 255, 0.1); /* Translucent white */
    border: 1px solid rgba(255, 255, 255, 0.);
}


.powered-by-mobile {
    display: none;
    position: absolute;
    bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 1366px) {
    .robot-illustration {
        width: 100px;
    }
}

@media (max-width: 884px) {
    .logo-section img {
        width: 70%;
        margin-bottom: 2rem
    }

    .content-section {
        width: 80%;
        margin-bottom: 0rem
    }

    .left-panel, .right-panel {
        width: 50%; /* Changed from max-width: 100% */
        padding: 30px;
    }

    .left-panel {
        max-width: none;
        min-height: auto;
        padding-bottom: 20px; /* Add some padding at the bottom for smaller screens */
    }

    .right-panel {
        min-height: 46vh; /* Ensure right panel has some height on mobile */
        max-width: none;
    }

    .stats-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .robot-illustration {
        width: 80px;
        bottom: -10px;
        right: -10px;
    }
}

@media (max-width: 767px) {
    .logo-section img {
        width: 60%;
        margin-bottom: 1rem
    }

    .content-section {
        width: 80%;
        margin-bottom: 0rem
    }

    .login-wrapper {
        flex-direction: column;
    }

    .left-panel, .right-panel {
        width: 100%; /* Changed from max-width: 100% */
        padding: 30px;
    }

    .left-panel {
        max-width: none;
        min-height: auto;
        padding-bottom: 20px; /* Add some padding at the bottom for smaller screens */
    }

    .right-panel {
        min-height: 50vh; /* Ensure right panel has some height on mobile */
        max-width: none;
    }


    .stats-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .robot-illustration {
        width: 70px;
        bottom: -10px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .left-panel, .right-panel {
        padding: 10px;
    }

    .content-section h1 {
        font-size: 20px !important;
    }

    .content-section h2 {
        font-size: 16px !important;
    }


    .login-card {
        width: 90%;
        padding: 30px 20px;
    }


    .content-section {
        width: 98%;
        font-size: 90%;
        text-align: center;
    }

    .logo-section img {
        margin-bottom: 1rem;
    }

    .right-panel {
        flex-direction: column;
    }

    .loginContainer {
        padding: .8rem 1rem;
    }

    .divloginContainer {
        width: 300px !important;
    }

    .powered-by {
        display: none;
    }

    .logintxt {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .separator {
        margin: .5rem;
    }

    .powered-by-mobile {
        display: block;
        margin-top: 1rem;
    }
}

@media (max-width: 375px) {

    .divloginContainer {
        width: 96% !important;
    }

    .left-panel, .right-panel {
        padding: .5rem 1rem;
    }

    .logintxt {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .logo-section img {
        width: 70%;
        margin-bottom: .5rem;
    }

    .loginContainer {
        padding: 1rem 1.4rem;
        margin: .5rem auto;
    }


    .content-section h1 {
        font-size: 18px !important;
        text-align: center;
    }

    .content-section h2 {
        font-size: .9rem !important;
        margin-top: 1rem;
    }
}

@media (max-width: 320px) {

    .divloginContainer {
        width: 96% !important;
    }

    .left-panel, .right-panel {
        padding: .5rem 1rem;
    }

    .logintxt {
        font-size: 1.5rem;
        margin-bottom: .5rem;
    }

    .logo-section img {
        width: 70%;
        margin-bottom: 0rem;
    }

    .loginContainer {
        padding: 1rem 1.4rem;
        margin: .5rem auto;
    }

    .separator {
        margin: .5rem;
    }

    .content-section {
        display: none;
    }

    .right-panel {
        min-height: 82vh;
    }
}
