/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;700&display=swap');

:root {
    --primary: #004d40; /* Deep Kurdish Green */
    --accent: #ffd700;  /* Gold */
    --bg: #f5f5f5;
    --text: #333;
    --white: #ffffff;
    --danger: #d32f2f;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg);
    color: var(--text);
    direction: rtl; /* Right to left for Kurdish */
    padding-bottom: 80px; /* Space for bottom menu */
    overflow-x: hidden;
}

/* Header / Hero */
.app-header {
    background: linear-gradient(135deg, var(--primary), #00695c);
    color: var(--white);
    padding: 30px 20px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--accent);
}

.sub-text {
    font-size: 14px;
    opacity: 0.9;
}

/* Tab Content Areas */
.tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.feature-list li::before {
    content: '✔';
    color: var(--accent);
    margin-left: 10px;
    font-weight: bold;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: 0.3s;
    background: #fafafa;
}

input:focus, textarea:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
}

.btn-primary {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,77,64,0.3);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Bottom Navigation (The Footer Menu) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.nav-item {
    text-align: center;
    color: #999;
    text-decoration: none;
    font-size: 12px;
    flex: 1;
    cursor: pointer;
}

.nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item.active {
    color: var(--primary);
    font-weight: bold;
}

/* Admin Login Link */
.admin-link {
    text-align: center;
    display: block;
    margin-top: 20px;
    color: #999;
    font-size: 12px;
    text-decoration: none;
}