:root {
  --hd-ink: #16212f;
  --hd-muted: #6f7b8a;
  --hd-line: #e7ebf0;
  --hd-surface: #ffffff;
  --hd-bg: #f5f7fb;
  --hd-primary: #0b8fa6;
  --hd-primary-dark: #076d7e;
  --hd-accent: #f2b84b;
  --hd-success: #2e9f6e;
  --hd-danger: #d95c5c;
  --hd-shadow: 0 18px 45px rgba(26, 38, 58, .12);
}

body {
  background: var(--hd-bg);
  color: var(--hd-ink);
}

.site-header {
  border-bottom: 1px solid var(--hd-line);
  box-shadow: 0 10px 28px rgba(24, 38, 61, .08);
}

.site-logo img {
  max-height: 40px;
}

.site-logo a,
.lblcontactonomx {
  color: var(--hd-ink);
  font-weight: 700;
}

.side-menu {
  background: #111a27;
}

.side-menu-list li a {
  border-radius: 8px;
  margin: 4px 8px;
  color: rgba(255, 255, 255, .82);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.side-menu-list li a:hover,
.side-menu-list li.opened > a {
  background: rgba(11, 143, 166, .18);
  color: #fff;
  transform: translateX(2px);
}

.side-menu-list .glyphicon,
.side-menu-list .fa {
  width: 22px;
  text-align: center;
  color: #7bd3df;
}

.page-content {
  background: var(--hd-bg);
}

.section-header {
  border: 0;
  padding-bottom: 12px;
}

.section-header h3 {
  color: var(--hd-ink);
  font-weight: 800;
  letter-spacing: 0;
}

.box-typical,
.card,
.statistic-box {
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(27, 43, 64, .06);
}

.box-typical-padding {
  padding: 22px;
}

.form-control,
.select2-container--default .select2-selection--single {
  border-color: #d9e0e8;
  border-radius: 7px;
  min-height: 40px;
}

.form-control:focus,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--hd-primary);
  box-shadow: 0 0 0 3px rgba(11, 143, 166, .12);
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--hd-primary);
  border-color: var(--hd-primary);
}

.btn {
  border-radius: 7px;
  font-weight: 700;
}

.btn-hd-icon {
  min-width: 34px;
  height: 32px;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.table {
  background: var(--hd-surface);
}

.table thead th {
  background: #f2f5f8;
  border-bottom: 1px solid var(--hd-line);
  color: #405064;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.table tbody td {
  vertical-align: middle;
}

.dataTables_wrapper .dt-buttons .btn,
.dataTables_wrapper .dt-buttons .dt-button {
  border: 1px solid var(--hd-line) !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: var(--hd-ink) !important;
  box-shadow: none !important;
}

.label-pill {
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 700;
}

.login-shell {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(11, 143, 166, .92), rgba(17, 26, 39, .94)),
    url("../img/Fondo.png") center/420px no-repeat;
}

.login-topbar {
  min-height: 72px;
  padding: 14px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.login-brand img {
  height: 44px;
  width: auto;
}

.ticket-lookup {
  width: min(520px, 48vw);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-lookup .form-control {
  border: 0;
  background: rgba(255, 255, 255, .95);
}

.ticket-lookup .header-alarm {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hd-accent);
  color: #1f2933;
}

.login-card {
  width: min(430px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--hd-shadow);
  padding: 30px;
}

.login-card .sign-avatar img {
  border: 4px solid #fff;
  box-shadow: 0 10px 28px rgba(22, 33, 47, .18);
}

.login-title {
  margin: 8px 0 4px;
  color: var(--hd-ink);
  font-size: 28px;
  font-weight: 800;
  text-align: center;
}

.login-subtitle {
  margin-bottom: 22px;
  color: var(--hd-muted);
  text-align: center;
}

.login-access {
  text-align: left;
}

.login-access .form-label {
  margin-bottom: 7px;
  color: #405064;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.login-access select.form-control {
  height: 42px;
  background: #fff;
  color: var(--hd-ink);
  font-weight: 700;
  cursor: pointer;
}

.login-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
}

.btn-login-primary,
.btn-login-primary:hover,
.btn-login-primary:focus {
  background: var(--hd-primary);
  color: #fff;
  border-color: var(--hd-primary);
}

.btn-login-secondary,
.btn-login-secondary:hover,
.btn-login-secondary:focus {
  background: #eef6f8;
  color: var(--hd-primary-dark);
  border-color: #d2e9ee;
}

@media (max-width: 760px) {
  .login-topbar {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .ticket-lookup {
    width: 100%;
  }

  .login-actions {
    grid-template-columns: 1fr;
  }
}
