@font-face {
    font-family: "Bahij Halvetica";
    src: url("/fonts/Bahijlight.ttf") format('truetype');
    font-weight: lighter;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f4f6f8;
    font-family: "Bahij Halvetica";
    color: #333;
}

.login-container {
    max-width: 400px;
    margin: 60px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-logo img {
    width: 360px;
    margin-bottom: 24px;
}

.login-header h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #272A5F;
}

.login-header p {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    text-align: center;
}

.language-selection {
    align-self: flex-end;
    margin-bottom: 20px;
}

.language-selection .lan {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    font-family: "Bahij Halvetica";
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #444;
    direction: rtl;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
    background-color: #fdfdfd;
    transition: border 0.3s;
    direction: rtl;
    font-family: "Bahij Halvetica";
}

.form-input:focus {
    border-color: #00A19A;
    outline: none;
}

.form-error {
    color: #d6336c;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
}

.forgot-password {
    color: #272A5F;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #00A19A;
}

.submit-button {
    width: 100%;
    background-color: #272A5F;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.submit-button:hover {
    background-color: #00A19A;
}

.auth-status {
    margin: 20px auto;
    text-align: center;
    font-size: 14px;
    color: #0f5132;
    background-color: #d1e7dd;
    padding: 10px 20px;
    border-radius: 8px;
}
