﻿body
{
    color: #fff;
}

.login-container
{
    height: 100vh;
    display: flex;
}

.left-section
{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 50px;
    overflow: hidden;
}

/* Make the video fill the container */
.left-section .bg-video
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
    z-index: -1;
    animation: fadeLoop 0.5s ease-in-out infinite alternate;
}

.bg-video
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    
}

@keyframes fadeLoop
{
    0%
    {
        opacity: 1;
    }

    100%
    {
        opacity: 0.98;
    }
}

/* Keeps the quote box centered */
.quote-box
{
    position: relative;
    text-align: center;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}

.quote-box h2
{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.quote-wrapper
{
    margin-bottom: 15px; /* Space between quotes */
}

.quote
{
    font-size: 18px;
    font-style: italic;
    color: var(--gold-clr) !important;
    display: block;
    white-space: pre-line;
    word-wrap: break-word;
    margin-bottom: 0;
}

.quote-author
{
    font-size: 16px;
    font-style: italic;
    color: var(--theme-clr-blue) !important;
    font-weight: bold;
    margin-top: 5px;
    display: block;
}

/* Ensure Bootstrap or other styles do not override */

.cursor
{
    display: inline-block;
    width: 5px;
    height: 18px;
    background-color: white;
    margin-left: 5px;
    animation: blink 0.8s infinite;
}

@keyframes blink
{
    50%
    {
        opacity: 0;
        border-color: transparent;
    }
}

.right-form-container
{
    height: 100%;
    align-content: center;
}

.typing-container
{
    width: fit-content;
    font-size: 26px;
    font-weight: bold;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#typing-text
{
    display: inline-block;
    border-right: 3px solid white; /* Blinking cursor effect */
    padding-right: 5px;
    animation: blink2 0.8s infinite;
}

/* Make the right section a relative container */
.right-section
{
    background-color: #282a36;
    position: relative;
    height: 100vh; /* Full height of the viewport */
}

/* Center the login form inside the right section */
.login-box
{
    background: #333644;
    padding: 40px;
    border-radius: 8px;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0.2rem 0.7rem rgba(72, 190, 206, 1);
}

.login-box h2
{
    text-align: center;
    margin-bottom: 20px;
}

/* Fix blinking issue */
@@keyframes blink2
{
    50%
    {
        border-color: transparent;
    }
}

#countryList
{
    border-color: var(--primary-200);
    height: 250px;
    overflow: auto;
}
#FullnameContainer
{
    display: flex;
}
#Firstname, #Lastname
{
    width: 205px;
}
#Lastname
{
    margin-left:5px;
}
.text-box
{
    background: #393e40 !important;
    color: whitesmoke !important;
}
.text-box::placeholder
{
    color: whitesmoke;
}

#countryList li
{
    color: white;
}
#countryList li:hover
{
    color: darkslategrey;
}
#LogoAccount
{
    width: 300px;
}
#AccountLogoContainer
{
    margin-left: auto;
    width: fit-content;
    margin-right: auto;
    margin-top: -100px;
    margin-bottom: 100px;
}
#AccountLogoContainer2
{
    position: absolute;
    margin-left: 33%;
    margin-top: 20px;
}
#LogoAccount2
{
    width: 250px;
}
.register-typer
{
    font-size: 20px;
}

/* For WebKit browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar
{
    width: 8px;
}

::-webkit-scrollbar-track
{
    background: #0d2e3a; /* light grey */
}

::-webkit-scrollbar-thumb
{
    background-color: rgba(var(--primary), 0.8) !important; /* bootstrap blue or your custom blue */
    border-radius: 10px;
    border: 2px solid transparent; /* Optional for padding effect */
}

/* Optional: on hover */
::-webkit-scrollbar-thumb:hover
{
    background-color: rgba(var(--primary), 1) !important;
}

#AccountLoader .modal-content, #ResetPasswordLoader .modal-content
{
    background: #333644;
}
.text-primary
{
    color: #48bece !important;
}

@media screen and (max-width:1350px)
{
    #HeroImg
    {
        width: 380px;
    }
}
@media screen and (max-width:1250px)
{
    .login-box
    {
        width: 400px;
    }
    #FullnameContainer
    {
        display: block;
    }
    #Firstname, #Lastname
    {
        width: 320px;
    }
    #Lastname
    {
        margin-top: 10px;
        margin-left: 0;
    }
}

@media screen and (max-width:1150px)
{
    .home-container
    {
        padding-left: 90px !important;
        padding-right: 90px !important;
    }
    #HeroImg
    {
        width: 350px;
    }
}

@media screen and (max-width:1090px)
{
    .home-container
    {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}

@media screen and (max-width:1050px)
{
    #HomeRegisterBtn, #HomeLoginBtn
    {
        font-size: 12px;
    }
    .header-bar
    {
        color: var(--theme-blue) !important;
    }
}

@media screen and (max-width:991px)
{
    .menu.active
    {
        background-color: #0d2e3a !important;
        border: 1px solid rgba(255,255,255,0.2);
    }
    #HeroImg
    {
        width: 250px;
        margin-top: 10px;
    }
    .banner--style4
    {
        padding-block-start: 110px !important;
    }
    #HeroHead
    {
        font-size: 40px;
    }
    .logo-footer
    {
        width: 200px !important;
    }
    #AccountLogoContainer2
    {
        margin-left: 25%;
        margin-top: 10px;
    }
}

@media screen and (max-width:900px)
{
    .login-box
    {
        
    }
    #typing-text
    {
        font-size: 20px;
    }
    #HeroHead
    {
        font-size: 35px;
    }
    #AboutUsText
    {
        font-size: 16px !important;
    }
}

@media screen and (max-width:820px)
{
    .login-box
    {
        width: 350px;
    }
    #Firstname, #Lastname
    {
        width: 270px;
    }
    #HeroImg
    {
        display: none;
    }
    #HeroBanner
    {
        width: 90%;
    }
    #HeroP
    {
        font-size: 16px;
    }
}

@media screen and (max-width:767px)
{
    .login-box, .typing-container
    {
        width: 500px;
        margin-left: 20%;
    }

    #typing-text
    {
        font-size: 26px;
    }

    .left-section
    {
        display: none;
    }
    .right-section
    {
        width: 100% !important;
        /*background: url('/images/account/login_cover-2b.png') center !important;*/
    }
    #FullnameContainer
    {
        display: flex;
    }

    #Firstname, #Lastname
    {
        width: 207px;
    }
    #Lastname
    {
        margin-left: 5px;
        margin-top:0;
    }
    .header-wrapper .menu-area .header-btn
    {
        display:block !important;
    }
    #SignUpLink, #LoginLink
    {
        display: block !important;
    }
    #HomeRegisterBtn
    {
        display: none !important;
    }
    #AccountLogoContainer2
    {
        margin-left: 37%;
        margin-top: 15px;
    }
}

@media screen and (max-width:670px)
{
    .login-box, .typing-container
    {
        width: 65%;
        min-width: 330px;
        margin-left: 20%;
    }
    #typing-text
    {
        font-size: 24px;
    }
    #FullnameContainer
    {
        display: block;
    }

    #Firstname, #Lastname
    {
        width: 100%;
    }
    #Lastname
    {
        margin-top: 10px;
        margin-left: 0;
    }
}

@media screen and (max-width:550px)
{
    #HomeLoginBtn
    {
        display: none !important;
    }
    .home-container
    {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    #HeroBanner
    {
        width: 100%;
    }
    #AccountLogoContainer2
    {
        margin-left: 35%;
        margin-top: 5px;
    }
    #LogoAccount2
    {
        width: 200px;
    }
}

@media screen and (max-width:540px)
{
    #AccountLogoContainer
    {
        margin-top: -100px;
        margin-bottom: 50px;
    }
}

@media screen and (max-width:450px)
{
    .login-box, .typing-container
    {
        margin-left: auto;
        margin-right: auto;
    }
    .login-box
    {
        width: 90%;
        margin-top:-10px;
    }
    #typing-text
    {
        font-size: 20px;
    }
    .right-section
    {
        /*background: url('/images/account/login_cover_mobile.png') center !important;*/
    }
    .home-container
    {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    #AboutUsText
    {
        font-size: 14px !important;
    }
    #AccountLogoContainer2
    {
        margin-left: 30%;
    }
    #AccountLogoContainer
    {
        margin-bottom: 50px;
        margin-top: -180px;
    }
}

@media screen and (max-width:390px)
{
    .login-box, .typing-container
    {
        min-width: 300px;
    }
    .home-container
    {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
    #AccountLogoContainer2
    {
        margin-left: 90px;
    }
}

@media screen and (max-width:375px)
{
    #AccountLogoContainer
    {
        margin-top: -50px;
        margin-bottom: 10px;
    }
}
