@font-face {
    font-family: 'Anjoman-Bold';
    src: url('../fonts/Anjoman-FaNum-Bold.woff');
}
@font-face {
    font-family: 'Anjoman-Regular';
    src: url('../fonts/Anjoman-FaNum-Regular.woff');
}
body {
    background: url('../icons/bg.webp') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Anjoman-Regular', sans-serif;
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    height: 100vh;
}
.container {
    background-color: #d5dbdf;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 25px;
    height: auto;
    padding: 10px;
}

.logoMain{
    width: 200px;
    height: 150px;
}

.login-box img{
    display: none;
}
.login-box {
    padding: 10px;
    width: auto;
    text-align: right;
}
.login-box h2 {
    font-family: 'Anjoman-Bold';
    color: black;
    margin-top: 0px;
}
.login-box input[type="text"] {
    width: 100%;
    margin-top: 20px;
    color: black;
    font-family: 'Anjoman-Regular';
    border: 1px solid #e0dada;
    border-radius: 10px;
    box-sizing: border-box;
    text-align: right;
    direction: rtl;
    background: url('../icons/user.svg') no-repeat right 5px center; /* Custom icon */
    background-size: 30px;
    background-color: white;
    text-indent: 40px; /* Moves placeholder text away from the icon */
    height: 50px;
}

.login-box input[type="password"] {
    width: 100%;
    margin-top: 15px;
    color: black;
    font-family: 'Anjoman-Regular';
    border: 1px solid #e0dada;
    border-radius: 10px;
    box-sizing: border-box;
    text-align: right;
    direction: rtl;
    background: url('../icons/pass.svg') no-repeat right 5px center; /* Custom icon */
    background-size: 30px;
    background-color: white;
    text-indent: 40px; /* Moves placeholder text away from the icon */
    height: 50px;
}

.login-box input[type="submit"] {
    background-color: #4c7cb2;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
    font-family: 'Anjoman-Regular', sans-serif;
    margin-top: 15px;
    margin-bottom: 5px;
    text-align: center;
    direction: rtl;
    border-radius: 10px;
    padding:5px;
    height: 40px;
}
.login-box input[type="submit"]:hover {
    background-color: #f36e01;
}@media (max-width: 768px) {
    body {
        flex-direction: row-reverse; /* Change direction for larger screens */
        height: 100vh;
    }.sidebar{
        visibility: hidden;
        width: 0;
        padding:0px;
    }
    .container {
        padding: 15px;
        margin: 10px;
    }
    .login-box img{
        margin-top: 0px;
        display: inline;
        width: 150px;
        margin-bottom: 0; /* Reset margin for larger screens */
        margin-bottom: 5px;
    }
}