/* ===== AUTH STYLES ===== */
.auth-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Cairo', sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-header {
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.auth-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.auth-header .logo i {
    font-size: 3rem;
    color: var(--secondary);
    background: white;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.auth-header .logo h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.auth-header h3 {
    margin: 10px 0 5px;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.auth-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.auth-form {
    padding: 40px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.input-group i {
    position: absolute;
    right: 20px;
    color: var(--gray);
    font-size: 1.1rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.input-group .form-control {
    padding-right: 55px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    height: 55px;
    transition: all 0.3s ease;
}

.input-group .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.input-group .form-control:focus + i {
    color: var(--primary);
}

.alert {
    margin-bottom: 25px;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert i {
    font-size: 1.2rem;
}

.auth-footer {
    padding: 25px 40px;
    text-align: center;
    border-top: 1px solid var(--light);
    background: #f8f9fa;
}

.auth-footer p {
    margin: 0;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--dark);
    text-decoration: underline;
}

/* زر تسجيل الدخول */
.auth-btn {
    width: 100%;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), #2980b9);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.auth-btn:active {
    transform: translateY(0);
}

/* التصميم المتجاوب */
@media (max-width: 576px) {
    .auth-body {
        padding: 15px;
    }
    
    .auth-container {
        max-width: 100%;
    }
    
    .auth-header {
        padding: 30px 20px 25px;
    }
    
    .auth-header .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-header .logo i {
        font-size: 2.5rem;
        padding: 12px;
    }
    
    .auth-header .logo h2 {
        font-size: 1.5rem;
    }
    
    .auth-header h3 {
        font-size: 1.2rem;
    }
    
    .auth-form {
        padding: 30px 25px;
    }
    
    .auth-footer {
        padding: 20px 25px;
    }
}