/*
  Global Resource Services - Blue Theme
  Brand palette sampled from the new company logo (public/assets/img/site/logo.png).
  Loaded after adminlte.min.css / custom.css to override the previous red brand accents.
*/

:root {
  --brand-blue: #006cb4;
  --brand-blue-dark: #00517f;
  --brand-blue-darker: #0d2149;
  --brand-blue-light: #189cc4;
  --brand-blue-tint: #e6f2fa;
}

/* Links */
a {
  color: var(--brand-blue);
}
a:hover,
a:focus {
  color: var(--brand-blue-dark);
}

/* Buttons */
.btn-primary {
  background-color: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-blue-dark) !important;
  border-color: var(--brand-blue-dark) !important;
}
.btn-outline-primary {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.btn-outline-primary:hover {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* Badges */
.badge-primary {
  background-color: var(--brand-blue) !important;
}

/* Cards */
.card-primary.card-outline {
  border-top-color: var(--brand-blue) !important;
}
.card-primary:not(.card-outline) > .card-header {
  background-color: var(--brand-blue) !important;
  color: #fff !important;
}

/* Sidebar accents */
.main-sidebar .nav-sidebar > .nav-item > .nav-link:hover,
.main-sidebar .nav-sidebar > .nav-item > .nav-link.active {
  background-color: var(--brand-blue) !important;
  color: #fff !important;
}
.main-sidebar .nav-sidebar .nav-treeview > .nav-item > .nav-link.active {
  background-color: var(--brand-blue-dark) !important;
  color: #fff !important;
}
.user-panel .info a {
  color: #fff;
}

/* Form focus states */
.form-control:focus {
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 0.2rem rgba(0, 108, 180, 0.25);
}

/* Pagination */
.page-item.active .page-link {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.page-link {
  color: var(--brand-blue);
}
.page-link:hover {
  color: var(--brand-blue-dark);
}

/* Text selection */
::selection {
  background: var(--brand-blue-light);
  color: #fff;
}

/* Login / brand wordmark */
.login-page .card-header a.h1 {
  color: var(--brand-blue);
}
