@charset "utf-8";
/* CSS Document */
@import url('fonts/fontawesome-all.min.css');

    html, body {
      margin: 0; padding: 0; height: 100%;
	  font-family: bein !important;
      background-color: #f0f2f5;
      direction: rtl;
    }

    body {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
	
	
	@font-face {
	    font-family: bein;src: url(fonts/font-awesome/fonts/bein-ar-normal.ttf);
		
	}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 20px;
	margin:auto;

}

.login-form {
    background-color: white;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.login-form hr {
    border: none;
    height: 2px;
    background-color: #007bff;
    width: 60px;
    margin: 10px auto 30px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
    font-size: 14px;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.register-link {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.register-link a {
    color: #007bff;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.message {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    direction: rtl;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message ul {
    list-style: disc inside;
    padding-right: 10px;
    margin: 0;
}

.message li {
    margin-bottom: 5px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    text-align: right;
    direction: rtl;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content.error {
    border-right: 5px solid #c0392b;
}
.modal-content.success {
    border-right: 5px solid #27ae60;
}
.modal-content h3 {
    margin-top: 0;
}
.modal-content.error h3 {
    color: #c0392b;
}
.modal-content.success h3 {
    color: #27ae60;
}
.close-btn {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 22px;
    color: #888;
    cursor: pointer;
}
.modal-content ul {
    list-style: disc inside;
    color: #721c24;
}
.modal-button {
    margin-top: 20px;
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}
.modal-button:hover {
    background-color: #219150;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
