/* Qadah Tracker — Islamic green, white and gold theme */
:root {
    --islamic-green:  #104E43;
    --islamic-green2: #16836B;
    --islamic-gold:   #C58B35;
    --islamic-light:  #f0f7f4;
}

body { background: var(--islamic-light); }

/* Landing */
.landing-body {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; padding: 1rem;
    background: linear-gradient(160deg, var(--islamic-green) 0%, #052e16 100%);
    color: #f0fdf4;
}

/* App chrome */
.app-header {
    background: var(--islamic-green); color: #fff; padding: .6rem 1rem;
    display: flex; justify-content: space-between; align-items: center;
}
.app-title { font-weight: 700; letter-spacing: .3px; font-size:1rem; }
.app-main { padding-bottom: 74px; max-width: 760px; margin: 0 auto; }

/* Buttons */
.btn-success, .btn-primary { background: var(--islamic-green); border-color: var(--islamic-green2); }
.btn-success:hover, .btn-primary:hover { background: var(--islamic-green2); border-color: var(--islamic-green); }
.text-success { color: var(--islamic-green) !important; }
.bg-success { background-color: var(--islamic-green) !important; }
.progress-bar.bg-success { background-color: var(--islamic-green) !important; }
.progress-bar.bg-warning { background-color: var(--islamic-gold) !important; }
.text-warning { color: var(--islamic-gold) !important; }

/* Islamic header card */
.islamic-header { background: linear-gradient(135deg, #fff 0%, #f0f7f4 100%); border: 1px solid #c8e6c9; }
.bismillah { font-family: 'Noto Naskh Arabic', 'Traditional Arabic', serif; font-size: 1.5rem; color: var(--islamic-green); direction: rtl; }
.module-title-ar { font-family: 'Noto Naskh Arabic', serif; font-size: 1.1rem; color: var(--islamic-gold); direction: rtl; }
.module-title-en { font-size: .85rem; }
.quran-verse { font-family: 'Noto Naskh Arabic', 'Traditional Arabic', serif; font-size: 1.25rem; line-height: 2; color: #1a3c2e; direction: rtl; }
.verse-translation { font-style: italic; font-size: .9rem; color: #2d4a3e; }
.verse-ref { font-size: .78rem; }
.verse-author { font-size: .7rem; }
.reminder-box { background: #fffde7; border-left: 4px solid var(--islamic-gold); border-radius: 4px; padding: .75rem 1rem; margin-top: .75rem; }
.reminder-title { font-weight: 700; color: var(--islamic-green); margin-bottom: .4rem; }
.reminder-list { padding-left: 1.2rem; }
.reminder-list li { margin-bottom: .3rem; font-size: .88rem; }
.reminder-pending { font-size: .72rem; color: #888; margin-top: .4rem; }

/* Touch targets */
.summary-card .record-btn { min-height: 44px; }
.btn, .form-control, .form-select { min-height: 44px; }
.btn-sm, .form-control-sm, .form-select-sm { min-height: 38px; }

/* Bottom nav */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030;
    display: flex; background: #fff; border-top: 2px solid var(--islamic-green);
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
}
.bottom-nav a {
    flex: 1; text-align: center; text-decoration: none; color: #495057;
    padding: 6px 0; font-size: 11px; line-height: 1.2;
    min-height: 56px; display: flex; flex-direction: column; justify-content: center;
}
.bottom-nav a span { font-size: 10.5px; }
.bottom-nav a.active { color: var(--islamic-green); font-weight: 700; }

/* Footer */
.app-footer {
    background: var(--islamic-green); color: #e8f5e9; text-align: center;
    padding: 1.5rem 1rem 2rem; margin-bottom: 60px; /* above bottom nav */
}
.footer-brand { font-size: 1rem; font-weight: 700; color: var(--islamic-gold); }
.footer-link { color: #a5d6a7; text-decoration: none; }
.footer-link:hover { color: #fff; }
.footer-copy { color: #81c784; font-size: .75rem; }
.footer-dua { color: var(--islamic-gold); font-style: italic; }

.prayer-list .custom-qty { display: inline-block; width: 90px; }
