/* DDV Secure — Override branding BTC RPC Explorer (theme DARK) */
:root { --ddv-navy: #212245; --ddv-cyan: #38bdf8; }

/* === NAVBAR === */
.navbar, .navbar-dark, nav.navbar { background: linear-gradient(180deg, #212245 0%, #2d2f5e 100%) !important; border-bottom: 2px solid #38bdf8 !important; }

/* Cache le texte "Bitcoin Explorer" et le logo orange */
.navbar-brand { font-size: 0 !important; padding-left: 8px !important; }
.navbar-brand::after { content: 'DDV Secure'; font-size: 20px; font-weight: 600; color: #fff; letter-spacing: -.01em; vertical-align: middle; margin-left: 10px; }
.navbar-brand img, .navbar-brand svg { display: none !important; }
.navbar-brand::before { content: ''; display: inline-block; width: 56px; height: 38px; background: url('/img/ddv-logo.png') no-repeat center / contain; background-color: #fff; border-radius: 6px; padding: 4px; vertical-align: middle; }

/* === CARTE PRINCIPALE (override Bootstrap dark card) === */
.card { background: rgba(33, 34, 69, 0.4) !important; border: 1px solid rgba(56, 189, 248, 0.3) !important; }
.card h2, .card h3, .card h4 { color: #f1f5f9 !important; }
.card .text-muted { color: #94a3b8 !important; }

/* === BOUTONS PRIMAIRES === */
.btn-primary, button.btn[type=submit] { background: #212245 !important; border-color: #212245 !important; color: #fff !important; }
.btn-primary:hover, button.btn[type=submit]:hover { background: #2d2f5e !important; border-color: #2d2f5e !important; }
.btn-outline-info { color: #38bdf8 !important; border-color: #38bdf8 !important; }
.btn-outline-info:hover { background: #38bdf8 !important; color: #0b0c1d !important; }

/* === INPUTS (focus en cyan DDV) === */
.form-control:focus, input.form-control:focus { border-color: #38bdf8 !important; box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.25) !important; }

/* === LIENS === */
a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand) { color: #38bdf8 !important; }
a:not(.btn):hover { color: #7dd3fc !important; }

/* === FOOTER : on cache le footer par défaut (quote Jimmy Song, github, version...) === */
footer, .footer, body > .container > .row:last-child { display: none !important; }

/* === FOOTER DDV custom injecté en bas de body === */
body::after {
  content: 'Bitcoin Explorer auto-hébergé · Mempool by DDV Secure · © 2026 DDV-Secure by DDV IT-Solutions';
  display: block;
  background: #212245;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 18px 16px;
  font-size: 13px;
  border-top: 3px solid #38bdf8;
  margin-top: 40px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Hash/code en cyan clair lisible sur dark */
code, .text-monospace { color: #7dd3fc !important; }

/* Background plus net sur le hr */
hr { border-top: 1px solid rgba(56, 189, 248, 0.2) !important; }

/* Petite zone d'aide en bas ("Comment ça marche") */
.text-muted strong { color: #f1f5f9 !important; }

/* DDV cross-link banner button — override global a color */
a.ddv-cross-btn, a.ddv-cross-btn:hover, a.ddv-cross-btn:focus { background:#38bdf8 !important; color:#0b1220 !important; text-decoration:none !important; }
a.ddv-cross-btn:hover { background:#7dd3fc !important; }
