/* Ascent Interiors: warm workspace palette, shared by login and CRM pages. */
:root {
  --ascent-brown: #704b36;
  --ascent-brown-dark: #503321;
  --ascent-ink: #382b24;
  --ascent-muted: #78695e;
  --ascent-paper: #f5f1e9;
  --ascent-surface: #fffdf8;
  --ascent-line: #e4d9cc;
}
body { color: var(--ascent-ink); }
html body .page-wrapper { background: var(--ascent-paper); }
body h1, body h2, body h3, body h4, body h5, body h6,
body .card, body .table { color: var(--ascent-ink); }
body a { color: var(--ascent-brown); }
body a:hover, body a:focus { color: var(--ascent-brown-dark); }
body .text-muted, body .card .card-subtitle { color: var(--ascent-muted) !important; }
body .topbar, body .topbar .navbar-header {
  background: var(--ascent-surface);
  border-bottom: 1px solid var(--ascent-line);
}
body .topbar .navbar-light .navbar-nav .nav-item > a.nav-link {
  color: var(--ascent-brown) !important;
}
body .navbar-brand img, .logged-out .login-logo img {
  filter: grayscale(1) sepia(1) saturate(2) brightness(.65);
}
body .left-sidebar, body .sidebar-nav { background: #35271f; }
body .left-sidebar { border-right: 1px solid #49372c; }
body .sidebar-nav ul li a, body .sidebar-nav ul li a i,
body .sidebar-nav > ul > li > a i { color: #e9ddce; }
body .sidebar-nav ul li a { font-weight: 400; }
body .sidebar-nav ul li a:hover, body .sidebar-nav ul li a:hover i,
body .sidebar-nav ul li a.active, body .sidebar-nav ul li a.active i {
  color: #fff8ed;
}
body .sidebar-nav > ul > li > a:hover,
body .sidebar-nav > ul > li > a.active {
  background: #594031;
  border-left-color: #d9b48e;
}
body .sidebar-nav ul ul { background: #2d211b; }
body .sidebar-nav .nav-small-cap { color: #c1aa98; }
body #sidebarnav > li.active > a {
  background: #594031 !important;
  border-left-color: #d9b48e !important;
}
body #sidebarnav > li.active > a, body #sidebarnav > li.active > a i {
  color: #fff8ed !important;
}
body .page-titles { background: transparent; }
body .card, body .modal-content, body .dropdown-menu {
  background: var(--ascent-surface);
  border-color: var(--ascent-line);
}
body .card, body.card-no-border .card {
  border: 1px solid var(--ascent-line);
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(68, 44, 27, .035);
}
body .card-header, body .modal-header, body .modal-footer {
  background: #f8f4ec;
  border-color: var(--ascent-line);
}
body .table td, body .table th { border-color: var(--ascent-line); }
body .table thead th {
  background: #efe6d9;
  color: #5a402d;
  font-size: 12px;
  font-weight: 600;
}
body .table-hover tbody tr:hover, body .table-striped tbody tr:nth-of-type(odd) {
  background: #f8f3eb;
}
body .btn { border-radius: 6px; }
body #list-page-actions .list-actions-button,
body #list-page-actions .header-search .form-control {
  background: #ece3d7 !important;
  color: #70543e !important;
}
body #list-page-actions .list-actions-button:hover,
body #list-page-actions .list-actions-button.active {
  background: #dfcbb5 !important;
  color: #503321 !important;
}
body .btn.btn-add-circle {
  background: var(--ascent-brown);
  border-color: var(--ascent-brown);
  color: #fffdf8;
}
body .btn.btn-add-circle:hover { background: var(--ascent-brown-dark); }
body .btn-info, body .btn-primary, body .btn-themecolor {
  background: var(--ascent-brown);
  border-color: var(--ascent-brown);
  color: #fffdf8;
}
body .btn-info:hover, body .btn-primary:hover, body .btn-themecolor:hover,
body .btn-info:focus, body .btn-primary:focus, body .btn-themecolor:focus,
body .btn-info:active, body .btn-primary:active {
  background: var(--ascent-brown-dark) !important;
  border-color: var(--ascent-brown-dark) !important;
  color: #fffdf8;
}
body .btn-outline-info, body .btn-outline-primary {
  color: var(--ascent-brown);
  border-color: #b79c86;
}
body .btn-outline-info:hover, body .btn-outline-primary:hover {
  color: #fffdf8;
  background: var(--ascent-brown);
  border-color: var(--ascent-brown);
}
body .text-themecolor, body a.link:hover { color: var(--ascent-brown) !important; }
body .bg-theme, body .right-sidebar .rpanel-title { background: var(--ascent-brown) !important; }
body .form-control, body .select2-container--default .select2-selection--single,
body .select2-container--default .select2-selection--multiple {
  background-color: #fffdf8;
  color: var(--ascent-ink);
  border-color: #d7c7b6;
  border-radius: 5px;
}
body .form-control:focus {
  border-color: #997354;
  box-shadow: 0 0 0 3px rgba(112, 75, 54, .12);
}
body .nav-tabs { border-bottom-color: var(--ascent-line); }
body .nav-tabs .nav-link.active, body .profile-tab li a.nav-link.active,
body .customtab li a.nav-link.active {
  color: var(--ascent-brown);
  border-bottom-color: var(--ascent-brown);
  background-color: var(--ascent-surface);
}
body .page-item.active .page-link, body .pagination > .active > a {
  background: var(--ascent-brown);
  border-color: var(--ascent-brown);
  color: #fffdf8;
}
body.kanban .kanban-wrapper .boards .board .board-body {
  background: #eee5d9;
  border-radius: 9px;
}
body .kanban-card {
  background: var(--ascent-surface);
  border: 1px solid var(--ascent-line);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(68, 44, 27, .06);
}
.logged-out body {
  background: var(--ascent-paper);
  background-image: radial-gradient(ellipse at 15% 85%, #e8d8c4 0, transparent 55%);
}
.logged-out body #main-wrapper { padding-top: 7vh; }
.logged-out body .login-background { display: none; }
.logged-out body #main-wrapper .login-box {
  width: min(420px, calc(100% - 32px));
  padding: 36px;
  background: var(--ascent-surface);
  border: 1px solid var(--ascent-line);
  border-top: 4px solid var(--ascent-brown);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(68, 44, 27, .08);
}
.logged-out .login-box .box-title { font-weight: 600; }
.logged-out .login-box .form-control { padding-left: 12px; padding-right: 12px; }
.logged-out .login-box .btn { font-size: 14px; font-weight: 600; padding: 12px; }
@media print {
  body .page-wrapper, body .card { background: #fff; box-shadow: none; }
}
