/* ClinicaX Professional CSS */
/* Arabic (LBC, Tajawal-Black) & English */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/* Fallback for LBC if not hosted locally */
@font-face {
    font-family: 'LBC';
    src: url('../fonts/LBC.ttf') format('truetype');
}

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --card-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --soft-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f4f7f6;
    direction: rtl;
    text-align: right;
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Tajawal', sans-serif;
    font-weight: 900; /* Tajawal-Black style */
}

.lbc-font {
    font-family: 'LBC', 'Tajawal', sans-serif;
}

/* Header & Nav */
.navbar {
    background-color: #fff;
    box-shadow: var(--card-shadow);
    padding: 0.8rem 1rem;
}

.nav-link {
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 5px;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

/* Bilingual Text Support */
.bilingual-label {
    display: block;
    font-weight: bold;
}

.bilingual-label small {
    color: var(--secondary-color);
    font-weight: normal;
}

/* Modern Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #f1f1f1;
    padding: 1.2rem;
    font-weight: 800;
}

/* Status Badges */
.badge {
    padding: 0.5em 0.8em;
    border-radius: 6px;
}

/* Utilities */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.fw-black { font-weight: 900; }

/* Dashboard Cards */
.stat-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
