
/* =========================================
    GLOBAL DARK MODE UI SURFACE NORMALISATION
========================================= */

:root { --nav-offset: 0px; }
body { padding-top: var(--nav-offset); }

body.dark-mode {
    background-color: #121212;
    color: #e4e4e4;
}

/* Navbar + cards */
body.dark-mode .navbar,
body.dark-mode .card {
    background-color: #1f1f1f !important;
    border-color: #2c2c2c !important;
}

/* Tables */
body.dark-mode .table {
    background-color: #1f1f1f;
    color: #ddd;
}

body.dark-mode .table td,
body.dark-mode .table th {
    border-color: #444;
}

/* Table header */
body.dark-mode .table-light {
    background-color: #2a2a2a !important;
    color: #ddd !important;
}

/* Alerts */
body.dark-mode .alert {
    background-color: #1f1f1f;
    border-color: #333;
    color: #e4e4e4;
}

body.dark-mode .alert-warning {
    background-color: #332b00;
    border-color: #665200;
    color: #ffe082;
}

/* List groups */
body.dark-mode .list-group-item {
    background-color: #1f1f1f;
    border-color: #333;
    color: #ddd;
}

/* Secondary badge */
body.dark-mode .badge.bg-secondary {
    background-color: #555 !important;
}

:root {
  --nav-offset: 70px;
}

body {
  padding-top: var(--nav-offset);
}

/* =========================================
FOOTER DARK MODE (THIS WAS THE MISSING PART)
========================================= */

body.dark-mode footer {
    background-color: #1f1f1f !important;
    border-top: 1px solid #333 !important;
}

body.dark-mode footer,
body.dark-mode footer .text-muted {
    color: #aaa !important;
}

body.dark-mode footer a {
    color: #aaa !important;
}

body.dark-mode footer a:hover {
    color: #fff !important;
}

.card {
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* =========================================
LOGO SWAP
========================================= */

.app-logo {
    transition: opacity 0.2s ease;
}

body.dark-mode .app-logo {
    content: url("/img/brand/hoike-logo-dark.svg");
}

.timeline {
  list-style: none;
  padding-left: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dee2e6;
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
}

.timeline-marker {
  position: absolute;
  left: 7px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0d6efd;
}

.timeline-content {
  background: #fff;
}