/* أنماط عامة */
body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f8f5f2;
    margin: 0;
    padding: 0;
    color: #882f42;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    padding: 40px;
    text-align: center;
    border: 1px solid #e8d5c5;
}

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

.login-header i {
    font-size: 3.5rem;
    color: #882f42;
    margin-bottom: 15px;
}

.login-header h1 {
    color: #882f42;
    font-size: 2rem;
    margin: 10px 0;
}

.login-header p {
    color: #882f42;
    font-size: 1rem;
}

/* حقول الإدخال */
.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #882f42;
    font-weight: 600;
}

.form-group label i {
    margin-left: 8px;
}

.password-input {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 14px 45px 14px 14px;
    border: 2px solid #d9c7b8;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #fcf9f6;
    color: #882f42;
}

.form-group input:focus {
    border-color: #882f42;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #882f42;
}

/* زر الدخول */
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #c8556e, #882f42);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-btn:hover {
    background: linear-gradient(to right, #ba173a, #882f42);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

/* الروابط */
.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 0.9rem;
}

.login-links a {
    color: #8B4513;
    text-decoration: none;
    transition: all 0.3s;
}

.login-links a:hover {
    color: #5a3921;
    text-decoration: underline;
}

/* التصميم المتجاوب */
@media (max-width: 576px) {
    .login-container {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 1.8rem;
    }
    
    .login-links {
        flex-direction: column;
        gap: 10px;
    }
}