/* SETI Power — Full Noir Dark Theme */
:root {
  --navbar-bg: #0a0a0f !important;
  --primary: #D4A843 !important;
  --primary-dark: #B8903A !important;
  --btn-primary: #D4A843 !important;
  --bg-color: #0e0e14 !important;
  --fg-color: #16161f !important;
  --card-bg: #16161f !important;
  --control-bg: #1a1a24 !important;
  --awesomebar-bg: #12121a !important;
  --text-color: #e0e0e6 !important;
  --text-muted: #8a8a9a !important;
  --text-light: #6a6a7a !important;
  --heading-color: #e8e8ec !important;
  --border-color: #1e1e2a !important;
  --dark-border-color: #2a2a38 !important;
  --blue-500: #D4A843 !important;
  --blue-600: #B8903A !important;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.3) !important;
  --shadow-base: 0 2px 8px rgba(0,0,0,0.4) !important;
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.5) !important;
}

body { background: #0e0e14 !important; color: #e0e0e6 !important; }

/* Navbar */
.navbar { background-color: #0a0a0f !important; border-bottom: 1px solid #1e1e2a !important; }
.navbar .navbar-brand img { filter: brightness(1.2); }

/* Sidebar */
.layout-side-section, .desk-sidebar { background: #0a0a0f !important; border-right: 1px solid #1e1e2a !important; }
.sidebar-menu .sidebar-label, .desk-sidebar .standard-sidebar-item a { color: #8a8a9a !important; }
.sidebar-menu .sidebar-label:hover, .desk-sidebar .standard-sidebar-item a:hover { color: #D4A843 !important; background: rgba(212,168,67,0.08) !important; }
.desk-sidebar .standard-sidebar-item.selected a { color: #D4A843 !important; background: rgba(212,168,67,0.12) !important; }

/* Cards & Panels */
.widget, .frappe-card, .form-group, .section-body, .form-layout, .frappe-list, .result { background: #16161f !important; border-color: #1e1e2a !important; }
.page-container { background: #0e0e14 !important; }
.layout-main-section { background: #0e0e14 !important; }
.page-head { background: #0e0e14 !important; border-bottom: 1px solid #1e1e2a !important; }
.page-head .page-title .title-text { color: #e8e8ec !important; }

/* ALL Buttons — override any blue */
.btn-primary, .btn-primary-dark,
.btn-primary-light, .btn-info,
[class*=btn-primary],
.page-actions .btn-primary,
.modal-footer .btn-primary,
.form-group .btn-primary,
.btn[data-action] { 
  background-color: #D4A843 !important; 
  border-color: #D4A843 !important; 
  color: #0a0a0f !important; 
  font-weight: 600 !important; 
}
.btn-primary:hover, .btn-primary-dark:hover,
.btn-primary-light:hover, .btn-info:hover,
[class*=btn-primary]:hover { 
  background-color: #E8C36A !important; 
  border-color: #E8C36A !important; 
  color: #0a0a0f !important;
}
.btn-primary:focus, .btn-primary:active,
.btn-primary.active { 
  background-color: #B8903A !important; 
  border-color: #B8903A !important; 
  box-shadow: 0 0 0 3px rgba(212,168,67,0.25) !important;
}
.btn-default, .btn-secondary, .btn-xs.btn-default { background: #1e1e2a !important; border-color: #2a2a38 !important; color: #e0e0e6 !important; }
.btn-default:hover { border-color: #D4A843 !important; color: #D4A843 !important; }

/* Links — gold not blue */
a:not(.btn):not(.dropdown-item) { color: #D4A843; }
a:not(.btn):not(.dropdown-item):hover { color: #E8C36A; }

/* Forms & Inputs */
.form-control, .input-with-feedback, select.form-control, .frappe-control .ql-editor { background: #1a1a24 !important; border-color: #2a2a38 !important; color: #e0e0e6 !important; }
.form-control:focus { border-color: #D4A843 !important; box-shadow: 0 0 0 2px rgba(212,168,67,0.15) !important; }
.like-disabled-input { background: #12121a !important; color: #8a8a9a !important; }

/* Tables */
.frappe-list .list-row, .frappe-list .result .list-row { border-bottom: 1px solid #1e1e2a !important; }
.frappe-list .list-row:hover { background: rgba(212,168,67,0.04) !important; }
.frappe-list .list-row .level-left .list-row-col .ellipsis { color: #e0e0e6 !important; }
.report-wrapper .dt-scrollable .dt-row { background: #16161f !important; }
.report-wrapper .dt-scrollable .dt-row:hover { background: rgba(212,168,67,0.06) !important; }
.dt-header .dt-cell { background: #0e0e14 !important; color: #8a8a9a !important; border-color: #1e1e2a !important; }

/* Dropdowns */
.dropdown-menu { background: #16161f !important; border-color: #2a2a38 !important; }
.dropdown-item { color: #e0e0e6 !important; }
.dropdown-item:hover { background: rgba(212,168,67,0.08) !important; color: #D4A843 !important; }

/* Modals */
.modal-content { background: #16161f !important; border-color: #2a2a38 !important; }
.modal-header { border-bottom-color: #1e1e2a !important; }
.modal-header .modal-title { color: #e8e8ec !important; }
.modal-footer { border-top-color: #1e1e2a !important; }

/* Awesomebar */
.search-bar .awesomebar { background: #12121a !important; color: #e0e0e6 !important; border-color: #1e1e2a !important; }

/* Workspace */
.workspace-sidebar-item.selected { background: rgba(212,168,67,0.1) !important; color: #D4A843 !important; }
.widget-head .widget-title { color: #e8e8ec !important; }
.shortcut-widget-box { background: #16161f !important; border-color: #1e1e2a !important; }
.shortcut-widget-box:hover { border-color: #D4A843 !important; }
.onboarding-step .step-title { color: #e0e0e6 !important; }

/* Login Page */
.page-card { background: #16161f !important; border-color: #1e1e2a !important; }
.page-card .page-card-head { background: #0a0a0f !important; }

/* Loading — SETI favicon replaces default spinner */
#app-loader, .frappe-loading, .splash { 
  background: #0a0a0f url(/files/seti-favicon.png) center center no-repeat !important; 
  background-size: 64px !important; 
}
.app-loader-bg, .frappe-loading .loading-logo, .splash-screen .loading-logo,
.frappe-loading svg, #app-loader svg { display: none !important; }
@keyframes seti-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
#app-loader, .frappe-loading { animation: seti-pulse 1.5s ease-in-out infinite; }

/* Kill ALL remaining blues */
.indicator-pill.blue, .indicator-pill[data-indicator=blue] { background: #D4A843 !important; }
.progress-bar { background-color: #D4A843 !important; }
.checkbox .label-area { color: #e0e0e6 !important; }
.frappe-control .checkbox input:checked ~ .label-area::before { background-color: #D4A843 !important; border-color: #D4A843 !important; }
.nav-pills .nav-link.active { background: #D4A843 !important; color: #0a0a0f !important; }
.badge-primary, .badge-info { background: #D4A843 !important; color: #0a0a0f !important; }

/* Misc */
.comment-box .comment-input-control .ql-editor { background: #1a1a24 !important; }
.tooltip-inner { background: #1e1e2a !important; }
.breadcrumb-container .breadcrumb .breadcrumb-item a { color: #8a8a9a !important; }
.breadcrumb-container .breadcrumb .breadcrumb-item a:hover { color: #D4A843 !important; }
