/* style.css - تصميم احترافي لواجهة العيادة */

/* --- عام --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
    line-height: 1.7;
}

/* --- حاوية النموذج --- */
.auth-container {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.auth-header {
    background: #2c3e50;
    color: white;
    padding: 30px 20px;
}
.auth-header .logo {
    font-size: 36px;
    margin-bottom: 10px;
}
.auth-header h1 {
    font-size: 22px;
    font-weight: 600;
}
.auth-header p {
    opacity: 0.8;
    font-size: 14px;
}

/* --- نموذج الدخول --- */
.auth-form {
    padding: 30px;
}
.auth-form input {
    width: 100%;
    padding: 14px 18px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}
.auth-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.auth-form button {
    width: 100%;
    padding: 14px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}
.auth-form button:hover {
    background: #2980b9;
}

/* --- رسالة الخطأ --- */
.error {
    background: #fdf2f2;
    color: #e74c3c;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #f2dede;
    margin: 15px 0;
    font-size: 14px;
    text-align: right;
}

/* --- معلومات تجربة --- */
.demo-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-top: 1px dashed #eee;
    color: #7f8c8d;
    font-size: 13px;
    text-align: center;
}
.demo-info strong {
    color: #34495e;
}

/* --- تحسينات الجوال --- */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .auth-container {
        border-radius: 15px;
    }
    .auth-header h1 {
        font-size: 20px;
    }
    .auth-form input,
    .auth-form button {
        font-size: 15px;
    }
}


     * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: 'Cairo', sans-serif;
            background: #f4f6f9;
            color: #333;
        }
        header {
            background: #2c3e50;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
        .logo {
            font-size: 20px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar {
            width: 250px;
            background: #34495e;
            color: white;
            position: fixed;
            top: 60px;
            height: calc(100vh - 60px);
            padding: 20px 0;
        }
        .sidebar a {
            display: block;
            color: #ddd;
            padding: 12px 20px;
            text-decoration: none;
        }
        .sidebar a:hover,
        .sidebar a.active {
            background: #2980b9;
        }
        .content {
            margin-right: 250px;
            padding: 80px 30px 30px;
        }
        .stat-card {
            background: white;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            text-align: center;
        }
        .number {
            font-size: 28px;
            font-weight: 700;
            color: #2c3e50;
        }