/* الألوان الأساسية */
:root {
    --primary: #2980b9;
    --secondary: #27ae60;
    --bg: #f4f7f6;
    --text: #2c3e50;
    --white: #ffffff;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    direction: rtl;
    -webkit-tap-highlight-color: transparent;
}

/* الهيدر العلوي */
.app-header {
    background: var(--primary);
    color: white;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-weight: bold;
}

/* الحاويات والبطاقات */
.container {
    padding: 15px;
    max-width: 600px;
    margin: auto;
}

.card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* الأزرار */
.btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary { background: var(--primary); color: white; }
.btn-success { background: var(--secondary); color: white; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }

/* المدخلات */
input, select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-sizing: border-box;
    font-family: 'Cairo';
}

/* شارات الحالة */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}
.pending { background: #fff3cd; color: #856404; }
.confirmed { background: #d4edda; color: #155724; }
.delivered { background: #d1ecf1; color: #0c5460; }

/* القائمة السفلية (اختياري للزبون) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #ddd;
}
