/* Safe visual facelift: CSS-only overrides, no layout/behavior changes */

:root {
  --qt-bg: #f4f7fb;
  --qt-surface: #ffffff;
  --qt-surface-soft: #f8fafc;
  --qt-border: #dbe4ef;
  --qt-text: #1f2937;
  --qt-muted: #6b7280;
  --qt-primary: #0b5ed7;
  --qt-primary-soft: #e8f0ff;
}

html,
body {
  background: var(--qt-bg);
  color: var(--qt-text);
  font-family: "Segoe UI", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

body {
  line-height: 1.45;
}

.container-fluid.show-on-logged-in {
  padding-bottom: 12px;
}

.navbar.bg-inverse {
  background: linear-gradient(90deg, #1f2937 0%, #243447 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#brand {
  color: #f9fafb;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.my-navbar-icon {
  color: rgba(255, 255, 255, 0.75);
}

.my-navbar-icon:hover {
  color: #ffffff;
}

.card {
  background: var(--qt-surface);
  border: 1px solid var(--qt-border);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.card .card-title {
  font-weight: 600;
}

.card .card-subtitle {
  color: var(--qt-muted) !important;
}

.nav-tabs {
  border-bottom-color: var(--qt-border);
}

.nav-tabs .nav-link {
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
  color: #334155;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--qt-primary);
  background: var(--qt-surface);
  border-color: var(--qt-border) var(--qt-border) var(--qt-surface);
  font-weight: 600;
}

.nav-tabs .nav-link:hover {
  border-color: #e5edf6 #e5edf6 transparent;
  background: var(--qt-surface-soft);
}

.table {
  background: var(--qt-surface);
  border: 1px solid var(--qt-border);
  border-radius: 8px;
  overflow: hidden;
}

.table thead th {
  background: #f8fbff;
  color: #334155;
  border-bottom: 1px solid var(--qt-border);
  font-weight: 600;
}

.table td,
.table th {
  border-top-color: #edf2f8;
}

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

.table .table-active,
.table-active > td,
.table-active > th {
  background-color: var(--qt-primary-soft);
}

.btn {
  border-radius: 8px;
  border-width: 1px;
  font-weight: 500;
}

.btn-secondary {
  background: #ffffff;
  color: #334155;
  border-color: #cfd8e3;
}

.btn-secondary:hover {
  background: #f8fbff;
  border-color: #b6c4d3;
  color: #1f2937;
}

.btn-primary {
  background: var(--qt-primary);
  border-color: var(--qt-primary);
}

.form-control,
.custom-select,
select,
textarea {
  border-color: #cfd8e3;
  border-radius: 8px;
  background: #ffffff;
}

.form-control:focus,
select:focus,
textarea:focus,
.btn:focus,
.nav-link:focus,
a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.18);
}

.text-muted {
  color: var(--qt-muted) !important;
}

.badge {
  border-radius: 999px;
}

.popover {
  border: 1px solid var(--qt-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
}

.modal-content {
  border: 1px solid var(--qt-border);
  border-radius: 12px;
}

.queuehavecalls {
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}
