/* Sync House visual refresh.
   Same chrome, colors, and layout. Smoother type, surfaces, and controls.
   Loaded after theme.css. Does not change page structure. */

:root {
  --sh-teal: #0b4f6c;
  --sh-teal-2: #0d5f82;
  --sh-teal-hover: #1280ab;
  --sh-cyan: #01baef;
  --sh-header: #1b1e22;
  --sh-ink: #2a3136;
  --sh-muted: #6b7580;
  --sh-line: rgba(11, 79, 108, 0.14);
  --sh-radius: 10px;
  --sh-shadow: 0 8px 24px rgba(15, 23, 32, 0.12);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--sh-ink);
}

a:hover,
a:focus {
  color: var(--sh-cyan);
}

/* Header: same 62px bar, cleaner buttons */
#header {
  background: var(--sh-header);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  border-bottom: 2px solid var(--sh-teal-2);
}

#header .logo {
  margin-top: 0;
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#header .logo img {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

#header .btn {
  border-radius: 8px;
  font-weight: 600;
  border: 0;
  box-shadow: none;
  transition: background-color 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}

#header .btn.theme_color_2:hover,
#header .btn.theme_color_1:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

#header img[width="50px"],
#header img[width="50"] {
  box-shadow: 0 0 0 2px #0d5f82;
  border-color: #0d5f82 !important;
}

/* Brand buttons */
.theme_color_1,
.theme_color_2 {
  border: 0;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.theme_color_1:hover,
.theme_color_2:hover {
  background: var(--sh-teal-hover);
  color: #fff;
}

.dashboard_btn {
  height: 50px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.dashboard_btn:hover {
  height: 50px;
  margin-right: 0;
  margin-left: 0;
  background-color: var(--sh-teal-hover);
  transform: translateX(6px);
  border-radius: 0 8px 8px 0;
  box-shadow: 6px 0 18px rgba(0, 0, 0, 0.28);
}

/* Cards and tables — denser field-tech layout, less 2013 Bootstrap */
.card {
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow);
  background: #fff;
}

.card-header {
  background: var(--sh-teal);
  color: #fff;
  font-weight: 600;
  border-bottom: 0;
  border-radius: var(--sh-radius) var(--sh-radius) 0 0;
}

.card-header .badge {
  vertical-align: middle;
}

.card-body {
  color: var(--sh-ink);
}

.table {
  color: var(--sh-ink);
  background: #fff;
}

.table thead th {
  border-top: 0;
  border-bottom: 2px solid var(--sh-teal);
  color: var(--sh-teal);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.table td,
.table th {
  vertical-align: middle;
}

.table tbody tr:hover {
  background: #e7f4fa;
}

.table-striped tbody tr:nth-of-type(odd) {
  background: #f4f7f9;
}

/* Forms */
.form-control,
.form-control-secondary,
.select2-container .select2-selection--single {
  border-radius: 8px;
  border-color: #c9d4db;
  color: var(--sh-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-control-secondary:focus {
  border-color: var(--sh-cyan);
  box-shadow: 0 0 0 3px rgba(1, 186, 239, 0.22);
}

.input-group-addon {
  border-radius: 8px 0 0 8px;
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--sh-teal-2);
  border-color: var(--sh-teal-2);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--sh-teal-hover);
  border-color: var(--sh-teal-hover);
}

.btn-success {
  background: #2e9e6f;
  border-color: #2e9e6f;
}

.btn-danger {
  background: #c44747;
  border-color: #c44747;
}

.btn-xs,
.btn-sm {
  border-radius: 6px;
}

.login-page .btn-outline-primary,
#gologin .btn-outline-primary {
  color: #fff;
  background: #2e9e6f;
  border-color: #2e9e6f;
}

.login-page .btn-outline-primary:hover,
#gologin .btn-outline-primary:hover {
  background: #278a60;
  border-color: #278a60;
  color: #fff;
}

.dropdown-menu {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 6px;
}

.dropdown-item {
  border-radius: 6px;
}

.dropdown-item:hover {
  background: #e7f4fa;
  color: var(--sh-teal);
}

/* Modals / help */
.modal-content {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.modal-header {
  background: var(--sh-teal);
  color: #fff;
  border-bottom: 0;
}

.modal-header .close,
.modal-header .close span {
  color: #fff;
  opacity: 0.85;
  text-shadow: none;
}

.nav-tabs .nav-link.active {
  color: var(--sh-teal);
  font-weight: 700;
  border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .nav-link {
  color: var(--sh-muted);
}

/* Sidebars keep 250px width */
#sidebar-wrapper {
  box-shadow: 4px 0 18px rgba(0, 0, 0, 0.18);
}

.sidenav {
  background-color: #1b1e22;
  padding-top: 12px;
  box-shadow: 4px 0 18px rgba(0, 0, 0, 0.2);
}

.sidenav .sidebar-nav li a {
  transition: background-color 0.15s ease;
}

.fixed_breadcrumb {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
  background: #2a3138;
}

.fixed_breadcrumb .breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
}

.fixed_breadcrumb .breadcrumb a {
  color: #9fd9ef;
}

.fixed_topbeam {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  background: #eceff2;
}

/* Client search / suggestion list */
#country-list li {
  background: #fff;
}

#country-list li:hover {
  background: #e7f4fa;
}

/* Breadcrumb default */
.breadcrumb {
  border-radius: 8px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #e6eaee;
}

::-webkit-scrollbar-thumb {
  background: #8aa0ad;
  border-radius: 8px;
  border: 2px solid #e6eaee;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sh-teal-2);
}

/* Badges in vault / lists */
.badge-success {
  background: #2e9e6f;
}

/* Keep Bootstrap grid and sidebar geometry untouched */
