﻿body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    overflow:hidden;
}

    /* Hide scrol    lbar for Chrome    , Safari an    d Ope    ra */
    body::-webkit-scrollbar {
        display: none;
    }

/* Hide scrollbar for IE, Edge an    d Firefox */
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.logo {
    width: min(220px, 60%);
    height: auto;
    margin-bottom: 8px;
    margin-top: 2vh;
}
.title {
    margin: 0;
    font-weight: 600;
    line-height: 1.15;
    font-size: clamp(26px, 3vw, 36px);
    color: var(--text);
}

/*.subtitle {
    margin: 0 0 18px 0;
    color: var(--muted);
    font-size: clamp(14px, 1.6vw, 16px);
}*/

.subtitle {
    text-align: center;
    margin: 0 0 15px 0;
    line-height: 1.05;
    width: 100%;
    max-width: 90%; /* make it fill more width */
    padding: 0 1rem; /* horizontal spacing */
    box-sizing: border-box;
}

/*.subtitle {
    text-align: center;
    margin: 0 0 15px 0;
    line-height: 1.2;
    width: 100%;
    max-width: 90%;*/ /* make it fill more width */
    /*padding: 0 1rem;*/ /* horizontal spacing */
    /*box-sizing: border-box;
}*/

.arabic-text {
    display: block;
    font-family: Arabic typesetting; 
    font-size: clamp(32px, 3vw, 42px);
    font-weight: 600;
    color: #000;
    direction: rtl;
    margin-bottom: -12px;
}

.english-text {
    display: block;
    font-family: Andalus;
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 600;
    color: #000;
   /* margin-top: 4px;*/

}
.img-container {
    padding: 0px;
    margin: 0px;
    float: left;
    position: relative; /* Added for the pseudo-element positioning */
    background: url(../images/RightHomeImage.jpg) no-repeat;
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
    height: 100vh;
    width: 70%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 1);
}
    .img-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* black shadow with 40% opacity */
        filter: blur(8px); /* adjust blur intensity if needed */
        pointer-events: none; /* ensures that the pseudo-element doesn't interfere with any interactions */
    }

.btn-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 30%;
    background-color: white;
    padding: 2vh 0;
    box-sizing: border-box;
    align-items: center;
}

.logo {
    width: clamp(150px, 50vw, 300px); /* scales based on screen */
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10vh auto 24px auto; /* top, right, bottom, left */
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 10vh; /* spacing between logo and login */
    width: 90%;
}
.login-center {
    flex: 1; /* fills remaining vertical space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers vertically */
    align-items: center;
    width: 90%;
    gap: 1.5rem;
}



.logo-div {
    margin: 15px 15% 15px 15%;
    width: 70%;
    height: 30vh;
}

.btn-div {
    margin: 15px 5% 15px 5%;
    width: 90%;
}
.login-btn {
    font-family: 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 400;
    width: 90%;
    padding: 0.6rem 1.2rem;
    border: 1px solid #ccc;
    color: #000;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}
    .login-btn:hover,
    .login-btn:active {
        border-color: #999;
        background-color: #f8f8f8;
        color: #000;
    }


/*.login-btn {
    font-family: Cambria, Cochin, Georgia, Times, Times New Roman, serif;
    font-weight: bold;
    width: 90%;
    border-color: #52c41a;
    color: #52c41a;
    background-color: transparent;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);*/ /* Horizontal offset, vertical offset, blur radius, shadow color */
/*}

    .login-btn:hover, :active {
        border-color: #389e0d;
        color: #389e0d;
        background-color: transparent;
    }*/

.forgotpass-container {
    padding: 0px;
    margin: 0px;
    float: left;
    height: 100vh;
    width: 30%;
    padding-top: 15vh;
    text-align: center;
}



.forgotpass-logo-div {
    margin: 15px 15% 15px 15%;
    width: 70%;
    height: 30vh;
}

.forgotpass-btn-div {
    margin: 15px 5% 15px 5%;
    width: 90%;
}

.forgotpass-btn {
    font-family: Cambria, Cochin, Georgia, Times, Times New Roman, serif;
    font-weight: bold;
    width: 100%;
    border-color: #52c41a;
    color: #52c41a;
    background-color: transparent;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Horizontal offset, vertical offset, blur radius, shadow color */
}

    .forgotpass-btn:hover,
    .forgotpass-btn:active {
        border-color: #999;
        color: #000;
        background-color: #f8f8f8;
    }

@media screen and (max-width: 750px) {
    .img-container {
        display: none;
    }

    .btn-container {
        width: 100%;
        height: 100vh;
    }
    .login-wrapper {
        width: 90%;
    }
    .logo-div {
        height: 60vh;
    }
    .logo {
        width: 150px;
    }
    .login-center {
        padding: 0 5%;
    }
}
