/* e3kai — light mode overrides */

body.light,
html.light body {
  background: #f5f5f7 !important;
  color: #444 !important;
}

/* Header */
body.light header,
html.light header {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.1) !important;
}

/* Nav buttons */
body.light .btn-logout,
body.light .nav-link {
  color: #555 !important;
  border-color: #d5d5d5 !important;
}
body.light .btn-logout:hover {
  border-color: #999 !important;
  color: #111 !important;
}

/* Cards / panels */
body.light .card,
body.light .section,
body.light .box,
body.light .pcard,
body.light .feat,
body.light .pillar,
body.light .stat,
body.light .mcp-box,
body.light [style*="background:#111"],
body.light [style*="background: #111"],
body.light [style*="background:#0d0d0d"],
body.light [style*="background: #0d0d0d"],
body.light [style*="background:#151515"] {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.08) !important;
  color: #333 !important;
}

/* Table rows */
body.light table,
body.light th,
body.light td,
body.light tr {
  border-color: #e5e5e5 !important;
  color: #444 !important;
}
body.light thead th {
  background: #f0f0f0 !important;
  color: #222 !important;
}

/* Inputs */
body.light input,
body.light select,
body.light textarea {
  background: #f8f8f8 !important;
  border-color: #d0d0d0 !important;
  color: #111 !important;
}

/* Text */
body.light h1, body.light h2, body.light h3, body.light h4,
body.light .company-name,
body.light .section-title {
  color: #111 !important;
}

/* Sidebar / page area */
body.light .page,
body.light .content,
body.light main {
  background: #f5f5f7 !important;
}

/* Separator */
body.light .sep,
body.light .stats-bar {
  background: #efefef !important;
  border-color: rgba(0,0,0,.08) !important;
}

/* Toggle button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: .85rem;
  cursor: pointer;
  color: #888;
  font-family: inherit;
  transition: border-color .2s, color .2s;
  line-height: 1;
}
.theme-toggle-btn:hover {
  border-color: rgba(255,255,255,.3);
  color: #ccc;
}
body.light .theme-toggle-btn {
  border-color: rgba(0,0,0,.15) !important;
  color: #555 !important;
}
body.light .theme-toggle-btn:hover {
  border-color: rgba(0,0,0,.35) !important;
  color: #111 !important;
}
