
@import url('font.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tahoma', sans-serif;
    background: #f1f5fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.login-container {
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: var( --base-dark-color );
    font-size: 24px;
    margin-bottom: 10px;
}
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var( --base-dark-color );
    font-weight: normal;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    color: #000000;
    font-size: 14px;
    transition: border-color 0.3s ease;
    text-align: center;
}

.form-group input:focus {
    outline: none;
}

.form-group input::placeholder {
    color: #718093;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: var(--base-dark-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: var( --base-dark-color );
}

.login-btn:disabled {
    background: #7f8c8d;
    cursor: not-allowed;
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #3498db;
    text-decoration: none;
    font-size: 13px;
}

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

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo-text {
    color: #3498db;
    font-size: 18px;
    font-weight: bold;
}

.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}

.message.success {
    background: #2ecc71;
    color: white;
}

.message.error {
    background: #e74c3c;
    color: white;
}

.loading {
    display: none;
    color: #bdc3c7;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.spinner {
    border: 2px solid #34495e;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}