/* ============================================================
   KLEURPALET — groen + goud
   ============================================================ */
:root {
    --primary-color: #0d4a3a;
    --primary-hover: #0a3d2f;
    --primary-light: #e8f0ec;
    --primary-ring:  rgba(13, 74, 58, 0.15);

    --gold:          #d4a259;
    --gold-hover:    #c9962f;
    --gold-light:    #fdf6e6;

    --bg-page:       #fafbfc;
    --bg-card:       #ffffff;
    --border-soft:   #e5e7eb;

    --text-dark:     #1a1a1a;
    --text-base:     #333333;
    --text-muted:    #6b7280;
}

/* ============================================================
   ALGEMENE RESET & BASIS
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.45;
    padding-top: 170px !important;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   ARABISCHE TEKSTEN
   ============================================================ */
.arabic-text,
.arabic-text *,
.source-item .arabic-text,
.source-item .arabic-text *,
.chapter-source-extra .arabic-text,
.chapter-source-extra .arabic-text * {
    direction: rtl !important;
    text-align: right !important;
    unicode-bidi: embed !important;
}
@font-face {
    font-family: 'Diyanet';
    src: url('../fonts/KuranKerimFontAbay.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.arabic-text {
    font-family: 'Diyanet', 'Traditional Arabic', 'Arabic UI', serif;
    font-size: 1.7rem;
    line-height: 1.7;
    color: #000;
}
body.lang-ar {
    font-family: 'Diyanet', 'Traditional Arabic', 'Arabic UI', serif !important;
}
.lang-switch .lang-link {
    font-family: 'Segoe UI', system-ui, sans-serif !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
    font-size: 0.9em;
}
.footer-container { justify-content: center; }

/* ============================================================
   LOGIN
   ============================================================ */
.login-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 300px;
    margin: 100px auto;
}
.login-box h1 { margin-top: 0; text-align: center; }
.login-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.login-box button {
    width: 100%;
    padding: 10px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.login-box button:hover { background: #4338ca; }
.login-box .error {
    color: #dc3545;
    margin-bottom: 10px;
    text-align: center;
}

.footer-privacy {
    font-size: 0.78rem;
    margin-top: 6px;
    line-height: 1.5;
    opacity: 0.75;
}
.footer-privacy a {
    color: inherit;
    text-decoration: underline;
}
.footer-privacy a:hover {
    opacity: 1;
}