﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto";
    height: 100vh;
    overflow: hidden;
    background: #ffffff;
}

.login-container {
    height: 100vh;
    display: flex;
    flex-direction: row-reverse;   
}

/* لما اللغة عربي (rtl) */
html[dir="rtl"] .login-container {
    flex-direction: row-reverse;
}

.left-section {
    flex: 2;
    background-image: url('../images/bg-Login.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .left-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

.right-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f8f9fa;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
    /* border: 0.5px solid #6D6D6D; */
    width: 100%;
    max-width: 400px !important;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-style {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}


.welcome-text {
    text-align: center;
    margin-bottom: 10px;
    color: #666;
    font-size: 16px;
}

.login-title {
    text-align: center;
    color: #0F6837;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
}

.form-label {
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 15px;
}

.form-control {
    border: 1px solid #e8e8e8;
    border-radius: 5px;
   
    font-size: 15px;
    color: #6a6767;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #1a5f3f;
        box-shadow: 0 0 0 0.2rem rgba(26, 95, 63, 0.1);
    }

    .form-control::placeholder {
        color: #adb5bd;
    }

select {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.login-checkbox {
    font-size: 14px;
    color: #555;
    margin-left: 5px;
    font-weight: 400;
    user-select: none;
}

.btn-next {
    background-color: #1C2F1E;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 11px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .btn-next:hover {
        background-color: #0F6837;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(26, 95, 63, 0.3);
        color: white;
    }

    .btn-next:active {
        transform: translateY(0);
    }

/* Responsive Design */
@media (max-width: 992px) {
    .left-section {
        display: none;
    }

    .right-section {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 40px 30px;
    }


    .login-title {
        font-size: 24px;
    }

    .form-control {
        padding: 10px 12px;
    }
}

@media (max-width: 400px) {
    .login-card {
        padding: 30px 20px;
    }


    .login-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeInUp 0.6s ease-out;
}
