/* Lycos brand theme overrides for ScribeCMS (aligned with lycos.com / lycosweb) */
:root,
[data-theme="light"],
[data-theme="dark"] {
  --bs-primary: #0066cc;
  --bs-primary-rgb: 0, 102, 204;
  --bs-link-color: #0066cc;
  --bs-link-hover-color: #0052a3;
  --kt-primary: #0066cc;
  --kt-primary-active: #0052a3;
  --kt-text-primary: #0066cc;
  --kt-primary-light: #e8f1fa;
  --lycos-accent: #0066cc;
  --lycos-accent-hover: #0052a3;
  --lycos-dark-bg: #181c1a;
  --lycos-dark-border: #353937;
}

.app-sidebar {
  background: linear-gradient(180deg, #2a2e2c 0%, #181c1a 100%) !important;
  border-right: 1px solid var(--lycos-dark-border);
}

.app-sidebar-logo {
  border-bottom: 1px solid var(--lycos-dark-border);
}

.app-header {
  border-bottom: 1px solid #e5e7eb;
}

.btn-primary {
  --bs-btn-bg: #0066cc;
  --bs-btn-border-color: #0066cc;
  --bs-btn-hover-bg: #0052a3;
  --bs-btn-hover-border-color: #0052a3;
  --bs-btn-active-bg: #004080;
  --bs-btn-active-border-color: #004080;
  --bs-btn-disabled-bg: #0066cc;
  --bs-btn-disabled-border-color: #0066cc;
}

.btn-light-primary {
  color: #0066cc !important;
  background-color: #e8f1fa !important;
  border-color: transparent !important;
}

.btn-light-primary:hover,
.btn-light-primary:focus {
  color: #fff !important;
  background-color: #0066cc !important;
}

.text-primary,
a.text-primary {
  color: #0066cc !important;
}

.bg-primary {
  background-color: #0066cc !important;
}

.menu-link.active,
.menu-link:hover:not(.disabled) {
  color: #7eb8f0 !important;
}

.menu-state-color .menu-item .menu-link.active {
  background-color: rgba(0, 102, 204, 0.18) !important;
}

.form-check-input:checked {
  background-color: #0066cc;
  border-color: #0066cc;
}

.page-item.active .page-link {
  background-color: #0066cc;
  border-color: #0066cc;
}

.page-link {
  color: #0066cc;
}

a {
  color: #0066cc;
}

a:hover {
  color: #0052a3;
}

/* Data tables — readable headers on light theme */
.table thead th,
.data-table thead th,
.data-table th {
  color: #181c1a !important;
  background-color: #f3f4f6 !important;
  font-weight: 600;
  border-bottom-color: #e5e7eb !important;
}

.table thead th a,
.data-table thead th a,
.data-table th a {
  color: #181c1a !important;
}

.table thead th a:hover,
.data-table thead th a:hover,
.data-table th a:hover {
  color: #0066cc !important;
}

.table thead th .svg-icon,
.data-table th .svg-icon,
.table thead th i,
.data-table th i {
  color: #6b7280 !important;
}

/* Login aside panel — Seattle skyline from lycos.com */
.lycos-auth-aside {
  position: relative;
  background-color: #181c1a !important;
  background-image: linear-gradient(
      165deg,
      rgba(24, 28, 26, 0.55) 0%,
      rgba(15, 18, 16, 0.72) 55%,
      rgba(10, 12, 11, 0.85) 100%
    ),
    url("/public/img/lycos_login_bg.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
