/**
 * AngelYazilim - Text Contrast Fixes
 * Tum sayfalardaki yazi gorunurlugunu artiran patch dosyasi
 */

/* ================================================
   DARK MODE - Global text brightness boost
   ================================================ */
.dark {
    --text-primary:   #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted:     #cbd5e1;
}

.dark body { color: #f1f5f9; }

.dark p, .dark li, .dark td, .dark th { color: #e2e8f0; }
.dark span { color: inherit; }
.dark label { color: #e2e8f0; }
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 { color: #ffffff; }
.dark small { color: #cbd5e1; }

/* ================================================
   ALL INPUTS - visible text everywhere
   ================================================ */
.dark input,
.dark textarea,
.dark select {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}

/* ================================================
   AUTH PAGES (Login / Register)
   ================================================ */
.auth-login h1, .auth-login h2, .auth-login h3,
.auth-register h1, .auth-register h2, .auth-register h3 {
    color: #ffffff !important;
}

.auth-login label, .auth-login p, .auth-login span,
.auth-register label, .auth-register p, .auth-register span {
    color: #e2e8f0 !important;
}

.auth-login input, .auth-login textarea,
.auth-register input, .auth-register textarea {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.auth-login input::placeholder, .auth-login textarea::placeholder,
.auth-register input::placeholder, .auth-register textarea::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}

.auth-login .material-symbols-outlined,
.auth-register .material-symbols-outlined {
    color: #cbd5e1 !important;
}

/* ================================================
   MARKET SIDEBAR & BREADCRUMB
   ================================================ */
.breadcrumb-link { color: var(--text-secondary) !important; text-decoration: none; }
.breadcrumb-link:hover { color: var(--primary) !important; }

/* ================================================
   NAV LINKS
   ================================================ */
.nav-link { color: #e2e8f0 !important; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.dark .nav-link { color: #e2e8f0 !important; }

/* ================================================
   DROPDOWN ITEMS
   ================================================ */
.dropdown-item { color: #e2e8f0 !important; }
.dropdown-item:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
}

/* ================================================
   FOOTER LINKS
   ================================================ */
.dark footer a { color: #cbd5e1; }
.dark footer a:hover { color: #ffffff; }
.dark footer p { color: #94a3b8; }

/* ================================================
   BUTTONS - text always white on primary bg
   ================================================ */
.btn-signin { color: #ffffff !important; }
.btn-signin:hover { color: #ffffff !important; opacity: 0.92; }
