@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

:root {
    --primary-color: #00855A;
    --primary-hover: #00704D;
    --text-color: #1E1E1E;
    --text-muted: #6C757D;
    --light-bg: #FFFFFF;
    --border-color: #E2E8F0;
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    background-color: #E3DDDA;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.login-container {
    display: flex;
    /*overflow: hidden;*/
    min-height: 100vh;
}

.login-bg {
    flex: 1;
    background-image: url('../../images/urmah-mountain.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-form-container {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    padding: 2rem 4rem;
    overflow-y: auto;
    background-color: var(--light-bg);
}

.logo-container {
    text-align: center;
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 260px;
    height: auto;
}

.login-content {
    max-width: 500px;
    width: 100%;
    margin: auto;
    padding: 2rem 0;
}

.page {
    text-align: center !important;
}

.page-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.page-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.page-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 16px;
    text-align: center;
}

.form-label {
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 133, 90, 0.15);
}

.form-control::placeholder {
    color: #A0AEC0;
}

.btn-primary {
    background: #007b4e !important;
    /*background: linear-gradient(-90deg, #4379FF 0%, #3CB371 100%) !important;*/
    border-radius: 4px !important;
    color: white !important;
    padding: 10px 25px !important;
}

.btn-primary:hover {
    background: #00593a !important;
}


.btn-outline-secondary {
    background: #ffffff !important;
    border-radius: 40px !important;
    color: #7b6f6f !important;
    padding: 10px 25px !important;
    font-weight: 400 !important;
    border: 1px solid #039855 !important;
}

.btn-outline-secondary.left {
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.btn-outline-secondary.right {
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
}

.btn-outline-secondary.active {
    background: #EBF6F1 !important;
    border: 1px solid #039855 !important;
    color: #039855 !important;
}

.forgot-password {
    /*text-align: right;
    margin-top: -1rem;*/
    margin-bottom: 1.5rem;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.signup-text {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.signup-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.signup-text a:hover {
    text-decoration: underline;
}

.languages_links a {
    text-decoration: none !important;
    position: absolute;
    top: 5rem;
    right: 1rem;
    background-color: white;
    color: black;
    padding: 5px 24px;
    border-radius: 50px;

}

/* Responsive styles */
@media (max-width: 992px) {
    .login-bg {
        display: none; /* Hide background image on mobile */
    }

    .login-form-container {
        padding: 2rem;
        flex: auto;
    }
}

@media (max-width: 576px) {
    .login-form-container {
        padding: 1.5rem;
        flex: 1;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.25rem;
    }
}

/* Add animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-content {
    animation: fadeIn 0.6s ease-out;
}

.space-bar {
    margin-top: 2rem;
    height: 30px;
    border-top: 1px solid black;
    text-align: center;
    position: relative;
}

.space-bar > span {
    padding: 0 10px;
    position: relative;
    top: -.7em;
    background: white;
    display: inline-block;
}

.video-bg {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: -1;

    .background {
        width: 100% !important;
    }

}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 33%); /* light transparent white */
    z-index: -1; /* behind content, above video */
}

/* Mobile & Phones inputs */
.phone-input-wrapper {
    position: relative;
    direction: ltr !important;
}

.country-code {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    padding-right: 1rem;
    border-right: 1px solid #dee2e6;
    height: 1.5rem;
    display: flex;
    align-items: center;
    z-index: 10;
}

.phone-number-input {
    padding-left: 5.5rem !important;
}

.phone-number-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


.announcement {
    background: #2ab675;
    color: #ffffff;
    width: 100%;
    z-index: 10005;
    font-size: 16px;
    font-weight: 400;
}

.iarda_btn_white {
    border-radius: 23px;
    padding: 5px 15px;
    font-size: 14px;
    background: white;
    color: #005847;
    font-weight: 500;
    border: none;
}
.iarda_btn_white:hover {
    background:white;
    color: #005847;
}