:root {
    --primary: #1b6374;
    --secondary: #61a92d;
    --dark: #2c3e50;
    --light: #f4f8f9;
    --danger: #e11d48;
    --success: #16a34a;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Tajawal', sans-serif; }
body { background-color: var(--light); color: var(--dark); direction: rtl; text-align: right; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 8%; background: white; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.navbar .logo { font-size: 20px; font-weight: 700; color: var(--primary); }
.navbar .logo span { color: var(--secondary); }
.nav-btn { text-decoration: none; padding: 8px 16px; border-radius: 8px; font-weight: bold; font-size: 14px; }
.logout { background: #fee2e2; color: var(--danger); }

.container { max-width: 1100px; margin: 40px auto; padding: 20px; }
.card { background: white; padding: 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); border: 1px solid #edf3f5; margin-bottom: 25px; }
h2, h3 { color: var(--primary); margin-bottom: 15px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-width { grid-column: span 2; }
label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 13.5px; color: var(--primary); }
input, select, textarea { width: 100%; padding: 12px; border: 2px solid #e2ecef; border-radius: 12px; font-size: 14px; outline: none; background: #fff; text-align: right; }
input:focus, select:focus, textarea:focus { border-color: var(--secondary); }

.btn { padding: 12px 24px; color: white; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; display: inline-block; text-decoration: none; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #23788c); }
.btn-secondary { background: var(--secondary); }
.btn-danger { background: var(--danger); }

table { width: 100%; border-collapse: collapse; margin-top: 15px; background: white; }
th, td { padding: 14px; border-bottom: 1px solid #edf4f5; text-align: right; }
th { background: #f8fafb; color: var(--primary); font-weight: 700; }

.badge { padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: bold; display: inline-block; }
.badge-wait { background: #fef3c7; color: #d97706; }
.badge-done { background: #dcfce7; color: #15803d; }

.alert { padding: 12px; border-radius: 10px; text-align: center; margin-bottom: 20px; font-weight: bold; }
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }