@font-face {
    font-family: "Droid Arabic Kufi";
    src: url("fonts/kufi.ttf") format("truetype");
}

* { 
    box-sizing: border-box; 
    font-family: "Droid Arabic Kufi", sans-serif !important;
    -webkit-tap-highlight-color: transparent;
}

body { background: #f1f5f9; margin: 0; padding-bottom: 90px; direction: rtl; }

.app-container { max-width: 480px; margin: 0 auto; padding: 20px; }

/* Dashboard Cards */
.card { background: white; border-radius: 24px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 20px; }

/* Navigation Bar */
.nav { 
    position: fixed; bottom: 0; left: 0; right: 0; background: white; 
    padding: 15px 25px; display: flex; justify-content: space-between; 
    border-top: 1px solid #eee; max-width: 480px; margin: 0 auto; z-index: 1000;
}
.nav-item { display: flex; flex-direction: column; align-items: center; color: #94a3b8; text-decoration: none; font-size: 0.75rem; }
.nav-item.active { color: #4f46e5; }
.fab { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; background: #4f46e5; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; border: 5px solid #f1f5f9; box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3); }
/* 2. ناچارکردنی هەموو نووسینەکان بۆ بەکارهێنانی ئەم فۆنتە */
* {
    font-family: "Droid Arabic Kufi", serif !important;
}

body {
    font-family: "Droid Arabic Kufi", serif;
}


:root {
    --primary: #4f46e5; --success: #10b981; --danger: #ef4444;
    --bg: #f8fafc; --surface: #ffffff; --text-main: #1e293b; --text-sub: #64748b;
    --shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
body { background-color: var(--bg); font-family: 'Droid Arabic Kufi', sans-serif; margin: 0; padding-bottom: 90px; color: var(--text-main); direction: rtl; 



}
a { text-decoration: none; }



/* 2. ناچارکردنی هەموو نووسینەکان بۆ بەکارهێنانی ئەم فۆنتە */
* {
    font-family: "Droid Arabic Kufi", serif !important;
}

body {
    font-family: "Droid Arabic Kufi", serif;
}

.app-container { max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative; }

/* Header */
.header { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; background: var(--surface); position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.header h1 { margin: 0; font-size: 1.1rem; }
.header-btn { width: 40px; height: 40px; background: #f1f5f9; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--text-main); font-size: 1.2rem; }

/* Cards & Lists */
.content-area { padding: 20px; }
.list-card {
    background: var(--surface); padding: 16px; margin-bottom: 12px;
    border-radius: 16px; display: flex; justify-content: space-between; align-items: center;
    box-shadow: var(--shadow); border: 1px solid #f1f5f9; transition: transform 0.2s;
}
.list-card:active { transform: scale(0.98); background: #fafafa; }

.user-info h3 { margin: 0 0 5px 0; font-size: 1rem; color: var(--text-main); }
.user-info p { margin: 0; font-size: 0.8rem; color: var(--text-sub); display: flex; align-items: center; gap: 5px; }

/* Buttons & Inputs */
.btn-action { padding: 8px 16px; border-radius: 10px; font-size: 0.85rem; font-weight: bold; border: none; cursor: pointer; display: flex; align-items: center; gap: 5px; }
.btn-primary { background: var(--primary); color: white; width: 100%; padding: 15px; font-size: 1rem; justify-content: center; margin-top: 10px; }
.btn-success { background: #ecfdf5; color: #059669; }
.btn-danger { background: #fef2f2; color: #dc2626; }

.input-group { margin-bottom: 15px; }
.input-field {
    width: 100%; padding: 16px; border: 2px solid #e2e8f0;
    border-radius: 14px; font-size: 1rem; background: #fff;
    font-family: inherit; transition: 0.3s;
}
.input-field:focus { border-color: var(--primary); }
label { display: block; margin-bottom: 8px; font-weight: bold; font-size: 0.9rem; color: var(--text-main); }

/* Bottom Nav */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface);
    padding: 12px 30px; display: flex; justify-content: space-between;
    border-top-left-radius: 25px; border-top-right-radius: 25px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05); z-index: 100; max-width: 480px; margin: 0 auto;
}
.nav-item { display: flex; flex-direction: column; align-items: center; color: #94a3b8; font-size: 0.75rem; gap: 4px; }
.nav-item.active { color: var(--primary); }
.nav-icon { font-size: 1.5rem; }
.fab {
    position: absolute; top: -25px; left: 50%; transform: translateX(-50%);
    width: 55px; height: 55px; background: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white;
    font-size: 1.8rem; box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4); border: 4px solid var(--bg);
}

/* بانگکردنی فۆنتی Droid Arabic Kufi بە شێوەی Offline */
@font-face {
    font-family: "Droid Arabic Kufi";
    src: url("fonts/kufi.ttf") format("truetype");
}

:root {
    --primary: #4f46e5;
    --bg: #f8fafc;
    --card: #ffffff;
    --text-main: #0f172a;
    --text-sub: #64748b;
    --success: #10b981;
    --danger: #f43f5e;
    --warning: #f59e0b;
}.nav-wrapper {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.8); /* ڕەنگی سپی شەفاف */
    backdrop-filter: blur(15px); /* لێڵکردنی پشتەوە وەک شووشە */
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 5px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* لێواری باریکی شووشەیی */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    z-index: 1000;
    height: 75px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px;
    border-radius: 15px;
}

/* کاتێک لاپەڕەکە ئەکتیڤە */
.nav-item.active {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1); /* سێبەرێکی شینی کاڵ لە دەوری ئایکۆنەکە */
}

.nav-item i {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
}

/* دوگمەی ناوەڕاست (FAB) بە شێوازێکی جیاواز */
.fab-btn {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 18px; /* شێوازی چوارگۆشەی خڕ (Squircle) */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transform: translateY(-5px); /* کەمێک بەرزتر */
    transition: 0.3s;
}

.fab-btn:active {
    transform: translateY(0px) scale(0.9);
}
/* بۆ ئەوەی ناوەڕۆکی پەڕەکان نەکەونە ژێر شریتەکە */
body {
    padding-bottom: 100px;
}

.nav-wrapper {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 5px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 75px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #64748b;
    transition: 0.3s;
}

.nav-item.active {
    color: #4f46e5;
}

.nav-item i { font-size: 1.6rem; }
.nav-item span { font-size: 0.7rem; font-weight: 600; margin-top: 2px; }

.fab-btn {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    transform: translateY(-5px);
    text-decoration: none;
}


* { 
    box-sizing: border-box; 
    font-family: "Droid Arabic Kufi", sans-serif !important;
    -webkit-tap-highlight-color: transparent;
}

body { 
    background: var(--bg); 
    margin: 0; 
    padding-bottom: 90px; 
    direction: rtl; 
    transition: background 0.3s ease;
}

/* 🔴 گۆڕینی ڕەنگی باکگراوند کاتێک ئۆفلاینیت */
body.offline {
    background: #fff1f2; /* ڕەنگێکی کەمێک سوور بۆ ئاگادارکردنەوە */
}

.app-container { max-width: 480px; margin: 0 auto; padding: 20px; }

/* Dashboard Cards */
.card { 
    background: var(--card); 
    border-radius: 24px; 
    padding: 20px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
    margin-bottom: 20px; 
    border: 1px solid rgba(0,0,0,0.02);
}

/* Bottom Navigation */
.nav { 
    position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    padding: 12px 25px; display: flex; justify-content: space-between; 
    border-top: 1px solid #eee; max-width: 480px; margin: 0 auto; z-index: 1000;
}

.nav-item { 
    display: flex; flex-direction: column; align-items: center; 
    color: #94a3b8; text-decoration: none; font-size: 0.7rem; gap: 4px;
}

.nav-item.active { color: var(--primary); }
.nav-item i { font-size: 1.4rem; }

.fab { 
    position: absolute; top: -25px; left: 50%; transform: translateX(-50%); 
    width: 60px; height: 60px; background: var(--primary); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    color: white; font-size: 2rem; border: 5px solid var(--bg); 
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3); 
    transition: 0.3s;
}

/* Offline Banner */
#offline-indicator {
    position: fixed; top: 0; left: 0; right: 0; 
    background: var(--danger); color: white; 
    text-align: center; padding: 5px; font-size: 0.75rem;
    z-index: 2000; display: none;
}