@charset "UTF-8";
@import "https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap";

/* src/styles.scss */
:root {
  --primary: #e52520;
  --primary-dark: #b91c19;
  --primary-light: #fde3e3;
  --sidebar-bg: #1a1a1a;
  --sidebar-dark: #111111;
  --text-dark: #1a1a2e;
  --text-mid: #5a5a6e;
  --text-light: #8a8a9e;
  --bg: #f4f6f9;
  --card: #fff;
  --border: #e8eaef;
  --green: #43a047;
  --orange: #fb8c00;
  --red: #e53935;
  --purple: #7b1fa2;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  min-height: 100vh;
  color: var(--text-dark);
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f0f1f5;
}
::-webkit-scrollbar-thumb {
  background: #c0c4cc;
  border-radius: 3px;
}
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 20px;
}
.login-page.hidden {
  display: none;
}
.login-box {
  display: flex;
  width: 880px;
  max-width: 95vw;
  min-height: 500px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.6s ease-out;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.login-left {
  flex: 1;
  background:
    linear-gradient(
      145deg,
      #e52520,
      #b91c19,
      #8a1512);
  padding: 44px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-left::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}
.login-left .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.l-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.l-brand-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-brand-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}
.l-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.l-brand span {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
}
.l-text {
  position: relative;
  z-index: 1;
}
.l-text h1 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.l-text p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}
.l-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.l-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 7px 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 500;
}
.l-pill svg {
  width: 15px;
  height: 15px;
  fill: rgba(255, 255, 255, 0.8);
}
.login-right {
  flex: 1;
  background: #fff;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-right h2 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 4px;
}
.login-right .sub {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
}
.fg {
  margin-bottom: 18px;
}
.fg label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.iw {
  position: relative;
}
.iw > svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  fill: #9a9ab0;
  pointer-events: none;
}
.iw input {
  width: 100%;
  padding: 12px 12px 12px 42px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
  background: #fafafe;
  transition: border 0.2s, box-shadow 0.2s;
}
.iw input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 37, 32, 0.1);
  background: #fff;
}
.iw select {
  width: 100%;
  padding: 12px 12px 12px 42px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
  background: #fafafe;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
}
.iw select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 37, 32, 0.1);
  background: #fff;
}
.iw .toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
}
.iw .toggle svg {
  width: 17px;
  height: 17px;
  fill: #9a9ab0;
}
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.chk {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--text-mid);
}
.chk input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}
.flink {
  font-size: 12.5px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.btn-login {
  width: 100%;
  padding: 13px;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.25s;
}
.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 37, 32, 0.35);
}
.btn-login svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.btn-login.ld {
  pointer-events: none;
  opacity: 0.8;
}
.btn-login.ld .sp {
  display: block;
}
.btn-login.ld .bt,
.btn-login.ld .ba {
  display: none;
}
.sp {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.reg {
  text-align: center;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-light);
}
.reg a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.mock-pick {
  margin-bottom: 16px;
}
.mock-pick-label {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.mock-pick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mock-pick-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.mock-pick-btn strong {
  font-size: 11.5px;
  color: var(--text-dark);
}
.mock-pick-btn span {
  font-size: 10px;
  color: var(--text-light);
}
.mock-pick-btn:hover {
  border-color: var(--primary);
  background: #f0f6ff;
}
.mock-pick-btn.sel {
  border-color: var(--primary);
  background: #e3f0ff;
}
.mock-pick-pwd {
  font-size: 9.5px;
  color: #999;
  font-family: monospace;
}
.login-error {
  background: #fdecea;
  color: #c62828;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  margin-bottom: 12px;
}
.tenant-sel {
  position: relative;
  margin-left: auto;
}
.tenant-sel-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--text-dark);
  transition: border-color 0.15s;
}
.tenant-sel-btn:hover {
  border-color: var(--primary);
}
.tenant-sel-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--text-light);
}
.tenant-sel-drop {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  z-index: 100;
  padding: 6px 0;
}
.tenant-sel-item {
  display: block;
  width: 100%;
  padding: 8px 14px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--text-dark);
  transition: background 0.1s;
}
.tenant-sel-item:hover {
  background: #f5f5f5;
}
.tenant-sel-item.act {
  background: #e3f0ff;
  font-weight: 600;
  color: var(--primary);
}
.tenant-sel-label {
  font-size: 10px;
  color: var(--text-light);
  padding: 6px 14px 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}
.access-denied {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}
.access-denied svg {
  width: 80px;
  height: 80px;
  fill: #e0e0e0;
  margin-bottom: 20px;
}
.access-denied h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.access-denied p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.access-denied a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.app {
  display: flex;
  min-height: 100vh;
}
.sb {
  width: 240px;
  background:
    linear-gradient(
      180deg,
      var(--sidebar-bg),
      var(--sidebar-dark));
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
}
.sb-head {
  padding: 18px 18px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sb-head .ic {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sb-head .ic svg {
  width: 19px;
  height: 19px;
  fill: #64b5f6;
}
.sb-head .ic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sb-head span {
  font-size: 16px;
  font-weight: 700;
}
.sb-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  padding: 12px 18px 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sb-nav {
  flex: 1;
  padding: 4px 10px;
  overflow-y: auto;
}
.sb-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 2px;
  text-decoration: none;
}
.sb-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}
.sb-item.act {
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(229, 37, 32, 0.3);
}
.sb-item svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}
.sb-item .badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
}
.sb-user {
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 11px;
}
.sb-av {
  width: 34px;
  height: 34px;
  background:
    linear-gradient(
      135deg,
      var(--green),
      #66bb6a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  position: relative;
}
.sb-av::after {
  content: "";
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  border: 2px solid var(--sidebar-dark);
}
.sb-uinfo {
  flex: 1;
}
.sb-uinfo .n {
  font-size: 12.5px;
  font-weight: 600;
}
.sb-uinfo .r {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.38);
}
.sb-out {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: rgba(255, 255, 255, 0.38);
}
.sb-out:hover {
  color: var(--red);
}
.sb-out svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.main {
  flex: 1;
  margin-left: 240px;
  background: var(--bg);
  min-height: 100vh;
}
.topbar {
  background: #fff;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar > div {
  flex: 1;
}
.topbar h1 {
  font-size: 20px;
  font-weight: 700;
}
.topbar p {
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 1px;
}
.topbar-r {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-r input {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 12.5px;
  width: 200px;
  outline: none;
}
.topbar-r input:focus {
  border-color: var(--primary);
}
.notif {
  position: relative;
  background: var(--bg);
  border: none;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.notif svg {
  width: 19px;
  height: 19px;
  fill: var(--text-mid);
}
.notif::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
}
.content {
  padding: 22px 28px;
}
.page {
  display: block;
  animation: fadeIn 0.35s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn {
  padding: 9px 18px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(229, 37, 32, 0.25);
}
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}
.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-import {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  font-size: 12.5px;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 9px 18px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--card);
}
.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.filter-tab svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.unidades-search {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 0;
}
.unidades-search input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  background: #fafafe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239a9ab0'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") 12px center/18px no-repeat;
  transition: border 0.2s;
}
.unidades-search input:focus {
  border-color: var(--primary);
  background-color: #fff;
}
.search-toggle-btn {
  display: none;
}
.search-input-wrapper {
  display: flex;
  align-items: center;
}
.search-input-wrapper input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  min-width: 200px;
}
.search-input-wrapper input:focus {
  border-color: var(--primary);
}
.search-input-wrapper .search-close-btn {
  display: none;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-top: 1px solid #f0f1f5;
  flex-wrap: wrap;
  border-radius: var(--radius);
}
.filter-row .flabel {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-row .flabel svg {
  width: 15px;
  height: 15px;
  fill: var(--text-light);
}
.filter-row input[type=date],
.filter-row select {
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-family: inherit;
  font-size: 12px;
  color: var(--text-mid);
  outline: none;
  background: #fff;
  min-width: 140px;
}
.filter-row input[type=date]:focus,
.filter-row select:focus {
  border-color: var(--primary);
}
.filter-sep {
  color: #d0d4dc;
  font-size: 12px;
}
.u-table-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 16px;
}
.u-table {
  width: 100%;
  border-collapse: collapse;
}
.u-table thead {
  background: transparent;
}
.u-table th {
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: left;
  border-bottom: 2px solid #f0f1f5;
}
.u-table td {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-mid);
  border-bottom: 1px solid #f6f7fa;
  vertical-align: middle;
}
.u-table tbody tr {
  transition: background 0.15s;
  cursor: pointer;
}
.u-table tbody tr:hover td {
  background: #fafbfe;
}
.vin-cell {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 13px;
  white-space: nowrap;
}
.vehicle-cell {
  color: var(--text-mid);
  font-size: 13px;
}
.color-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.date-cell {
  font-size: 12.5px;
  color: var(--text-light);
}
.novelty-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fce4ec;
  color: var(--red);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: 8px;
}
.novelty-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.st-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
}
.st-badge.finalizado {
  background: #e8f5e9;
  color: #2e7d32;
}
.st-badge.no-iniciado {
  background: #f5f5f5;
  color: #757575;
}
.st-badge.en-proceso {
  background: #fde3e3;
  color: #e52520;
}
.st-badge.pendiente {
  background: #fff3e0;
  color: #e65100;
}
.layout-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.layout-status .ls-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
}
.layout-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fde3e3;
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  width: fit-content;
}
.layout-tag.bodega {
  background: #fff3e0;
  color: #e65100;
}
.layout-tag.puerto {
  background: #e8f5e9;
  color: #2e7d32;
}
.layout-tag.patio {
  background: #ede7f6;
  color: #5e35b1;
}
.layout-tag.recinto {
  background: #e3f2fd;
  color: #1565c0;
}
.layout-tag.alistamiento {
  background: #e8eaf6;
  color: #283593;
}
.layout-tag.despacho {
  background: #e8f5e9;
  color: #2e7d32;
}
.layout-tag.transito {
  background: #e1f5fe;
  color: #0277bd;
}
.layout-tag.concesionario {
  background: #f3e5f5;
  color: #7b1fa2;
}
.row-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f4f6f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.row-arrow:hover {
  background: var(--primary-light);
}
.row-arrow svg {
  width: 18px;
  height: 18px;
  fill: var(--text-light);
}
.row-arrow:hover svg {
  fill: var(--primary);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fff;
  border-top: 1px solid #f0f1f5;
}
.pag-info {
  font-size: 12.5px;
  color: var(--text-light);
}
.pag-btns {
  display: flex;
  gap: 4px;
}
.pag-btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.pag-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pag-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pag-btn.disabled,
.pag-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.pag-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  font-size: 12px;
  color: var(--text-light);
  -webkit-user-select: none;
  user-select: none;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.kpi {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.kpi:hover {
  transform: translateY(-2px);
}
.kpi-l {
  flex: 1;
  min-width: 0;
}
.kpi-l .kpi-lab {
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 3px;
}
.kpi-l .kpi-val {
  font-size: 26px;
  font-weight: 700;
}
.kpi-l .kpi-ch {
  font-size: 11px;
  margin-top: 2px;
}
.kpi-ch.up {
  color: var(--green);
}
.kpi-ch.down {
  color: var(--red);
}
.kpi-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-ic svg {
  width: 22px;
  height: 22px;
}
.kpi-ic.bl {
  background: var(--primary-light);
}
.kpi-ic.bl svg {
  fill: var(--primary);
}
.kpi-ic.gr {
  background: #e8f5e9;
}
.kpi-ic.gr svg {
  fill: var(--green);
}
.kpi-ic.or {
  background: #fff3e0;
}
.kpi-ic.or svg {
  fill: var(--orange);
}
.kpi-ic.re {
  background: #fce4ec;
}
.kpi-ic.re svg {
  fill: var(--red);
}
.charts-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card-t {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-t svg {
  width: 17px;
  height: 17px;
  fill: var(--primary);
}
.ch-box {
  position: relative;
  height: 210px;
}
.bot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.arr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: #f8f9fc;
  border-radius: 9px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.arr-item:hover {
  background: #f0f2f8;
}
.arr-item:active {
  background: #e8eaef;
}
.arr-item:last-child {
  margin-bottom: 0;
}
.arr-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.arr-dot-primary {
  background: var(--primary);
}
.arr-dot-green {
  background: var(--green);
}
.arr-dot-orange {
  background: var(--orange);
}
.arr-dot-purple {
  background: var(--purple);
}
.arr-info {
  flex: 1;
  min-width: 0;
}
.arr-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
}
.arr-subtitle {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}
.arr-time {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
.act-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8f9fc;
  border-radius: 9px;
  margin-bottom: 8px;
  transition: background 0.2s;
}
.act-item:hover {
  background: #f0f2f8;
}
.act-item:last-child {
  margin-bottom: 0;
}
.act-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.act-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.act-icon-primary {
  background: var(--primary);
}
.act-icon-orange {
  background: var(--orange);
}
.act-icon-red {
  background: var(--red);
}
.act-icon-green {
  background: var(--green);
}
.act-content {
  flex: 1;
  min-width: 0;
}
.act-text {
  font-size: 12.5px;
  color: var(--text-dark);
  margin-bottom: 3px;
  line-height: 1.4;
}
.act-text strong {
  font-weight: 600;
}
.act-time {
  font-size: 11px;
  color: var(--text-light);
}
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.detail-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: visible;
}
.detail-vin {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.detail-vin h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  word-break: break-word;
}
.detail-vin .st-badge {
  font-size: 12px;
}
.detail-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.detail-dates {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.detail-date-item {
  font-size: 12.5px;
}
.detail-date-item strong {
  display: block;
  color: var(--text-mid);
  margin-bottom: 2px;
}
.detail-date-item span {
  color: var(--text-light);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.detail-grid .detail-card {
  margin-bottom: 0;
}
.flow-section {
  margin-top: 24px;
  overflow: visible;
}
.flow-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.flow-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 20px 0;
  position: relative;
  -webkit-overflow-scrolling: touch;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  padding: 0 10px;
}
.flow-step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9e9e9e;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}
.flow-step.completed .flow-step-dot {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 10px rgba(46, 125, 50, 0.25);
}
.flow-step.current .flow-step-dot {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(229, 37, 32, 0.4);
  animation: pulse 2s infinite;
}
.flow-step.pending .flow-step-dot {
  background: #f5f5f5;
  color: #bdbdbd;
  border: 2px dashed #e0e0e0;
}
.flow-step-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.flow-step-sublabel {
  font-size: 10.5px;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 3px;
}
.flow-step-date {
  font-size: 10px;
  color: var(--text-light);
  text-align: center;
  font-weight: 500;
}
.flow-step-driver {
  font-size: 9px;
  color: var(--primary);
  text-align: center;
  font-weight: 600;
  margin-top: 2px;
}
.flow-step::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: #e0e0e0;
  z-index: 1;
}
.flow-step.completed::after {
  background:
    linear-gradient(
      90deg,
      var(--green),
      var(--green));
}
.flow-step.current::after {
  background:
    linear-gradient(
      90deg,
      var(--green),
      #e0e0e0);
}
.flow-step:last-child::after {
  display: none;
}
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 2px 12px rgba(229, 37, 32, 0.4);
  }
  50% {
    box-shadow: 0 2px 20px rgba(229, 37, 32, 0.6);
  }
}
.flow-step.flow-step-days {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
}
.flow-step-days .flow-days-dot {
  background: #81d4fa !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(129, 212, 250, 0.3) !important;
}
.flow-step-days.completed .flow-days-dot {
  background: #81d4fa !important;
}
.flow-step-days.pending .flow-days-dot {
  background: #f5f5f5 !important;
  color: #bdbdbd !important;
  border: 2px dashed #e0e0e0 !important;
  box-shadow: none !important;
}
.flow-step-days.completed::after {
  background: #81d4fa !important;
}
.flow-step-days .flow-step-label {
  color: #81d4fa;
}
.flow-step-days.pending .flow-step-label {
  color: #bdbdbd;
}
.novelty-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #fff8e1;
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  margin-bottom: 12px;
}
.novelty-icon {
  width: 20px;
  height: 20px;
  fill: var(--orange);
  flex-shrink: 0;
}
.novelty-content {
  flex: 1;
}
.novelty-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.novelty-desc {
  font-size: 12px;
  color: var(--text-mid);
}
.novelty-status {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--orange);
  color: #fff;
  border-radius: 12px;
  white-space: nowrap;
}
.novelty-step {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 3px;
  font-style: italic;
}
.novelty-icon-ok {
  fill: var(--green);
}
.novelty-ok {
  opacity: 0.7;
  background: #e8f5e9;
  border-left-color: var(--green);
}
.novelty-ok .novelty-title {
  font-weight: 500;
}
.novelty-resolved {
  background: #e0f2f1;
  border-left-color: #26a69a;
}
.novelty-in-progress {
  background: #e3f2fd;
  border-left-color: #1976d2;
}
.novelty-status-ok {
  background: var(--green);
}
.novelty-status-resuelta {
  background: #26a69a;
}
.novelty-status-proceso {
  background: #1976d2;
}
.novelty-status-pendiente {
  background: var(--orange);
}
.novelty-clickable {
  cursor: pointer;
  transition: background 0.15s;
}
.novelty-clickable:hover {
  background: #f5f5f5;
}
.ot-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.ot-item:last-child {
  margin-bottom: 0;
}
.ot-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ot-codigo {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}
.ot-tipo {
  font-size: 11px;
  padding: 2px 10px;
  background: #e3f2fd;
  color: #1565c0;
  border-radius: 12px;
  font-weight: 500;
}
.ot-prioridad {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
}
.ot-prio-alta {
  background: #fde3e3;
  color: var(--red);
}
.ot-prio-media {
  background: #fff3e0;
  color: #e65100;
}
.ot-prio-baja {
  background: #e8f5e9;
  color: #2e7d32;
}
.ot-estado {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 500;
  margin-left: auto;
}
.ot-estado-completada {
  background: #e8f5e9;
  color: var(--green);
}
.ot-estado-proceso {
  background: #fff3e0;
  color: var(--orange);
}
.ot-body {
  padding-left: 2px;
}
.ot-desc {
  font-size: 12.5px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.ot-meta {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ot-obs {
  font-size: 11px;
  color: var(--text-mid);
  font-style: italic;
  margin-top: 6px;
  padding: 6px 10px;
  background: #f8f9fb;
  border-radius: 6px;
}
.historial-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.historial-table thead {
  background: #f8f9fc;
}
.historial-table th {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 2px solid #f0f1f5;
}
.historial-table td {
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--text-mid);
  border-bottom: 1px solid #f6f7fa;
}
.historial-table tbody tr:hover {
  background: #fafbfe;
}
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show {
  transform: translateX(0);
}
.toast.success {
  background: #2e7d32;
}
.toast.error {
  background: #c62828;
}
.toast svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.btn-pdi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-pdi svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}
.btn-pdi:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 37, 32, 0.3);
}
.btn-pdi.pdi-exists {
  background:
    linear-gradient(
      135deg,
      var(--green),
      #2e7d32);
}
.btn-pdi.pdi-exists:hover {
  box-shadow: 0 4px 12px rgba(67, 160, 71, 0.3);
}
.pdi-header-card {
  text-align: center;
}
.pdi-logos {
  margin-bottom: 12px;
}
.pdi-logo {
  height: 40px;
  object-fit: contain;
}
.pdi-main-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.pdi-subtitle {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.pdi-info-grid {
  text-align: left;
}
.pdi-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-mid);
}
.pdi-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pdi-legend-item strong {
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}
.pdi-section-card {
  margin-bottom: 16px;
}
.pdi-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.pdi-section-title svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
  flex-shrink: 0;
}
.pdi-table {
  width: 100%;
  border-collapse: collapse;
}
.pdi-table thead th {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  border-bottom: 2px solid #f0f1f5;
  text-align: left;
}
.pdi-th-no {
  width: 50px;
  text-align: center !important;
}
.pdi-th-result {
  width: 160px;
  text-align: center !important;
}
.pdi-table tbody td {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-dark);
  border-bottom: 1px solid #f6f7fa;
  vertical-align: top;
}
.pdi-table tbody td:first-child {
  text-align: center;
  font-weight: 600;
  color: var(--text-mid);
  width: 50px;
}
.pdi-table tbody tr:hover {
  background: #fafbfe;
}
.pdi-result-group {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.pdi-result-btn {
  width: 40px;
  height: 34px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fafafe;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text-mid);
}
.pdi-result-btn:hover {
  border-color: var(--text-mid);
}
.pdi-opt-si.active {
  background: #e8f5e9;
  border-color: var(--green);
  color: var(--green);
}
.pdi-opt-no.active {
  background: #fbe9e7;
  border-color: var(--red);
  color: var(--red);
}
.pdi-opt-na.active {
  background: #fff3e0;
  border-color: var(--orange);
  color: var(--orange);
}
.pdi-tire-inputs {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.pdi-tire-field {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pdi-tire-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  min-width: 28px;
}
.pdi-tire-field input {
  width: 70px;
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  background: #fafafe;
  outline: none;
  transition: border 0.2s;
}
.pdi-tire-field input:focus {
  border-color: var(--primary);
}
.pdi-inline-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.pdi-inline-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}
.pdi-inline-field input {
  width: 80px;
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  background: #fafafe;
  outline: none;
  transition: border 0.2s;
}
.pdi-inline-field input:focus {
  border-color: var(--primary);
}
.pdi-inline-field span {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
}
.pdi-vds-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.pdi-vds-field {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pdi-vds-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}
.pdi-vds-field input {
  width: 70px;
  padding: 6px 8px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  background: #fafafe;
  outline: none;
  transition: border 0.2s;
}
.pdi-vds-field input:focus {
  border-color: var(--primary);
}
.pdi-vds-field span {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
}
.pdi-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
  background: #fafafe;
  outline: none;
  resize: vertical;
  transition: border 0.2s, box-shadow 0.2s;
}
.pdi-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 37, 32, 0.08);
  background: #fff;
}
.pdi-warning-card {
  background: #fff8e1;
  border: 1px solid #ffe082;
}
.pdi-warning-title {
  border-bottom-color: var(--orange) !important;
  color: #e65100 !important;
}
.pdi-warning-title svg {
  fill: var(--orange) !important;
}
.pdi-notes {
  list-style: decimal;
  padding-left: 20px;
  font-size: 12px;
  color: #5d4037;
  line-height: 1.7;
}
.pdi-notes li {
  margin-bottom: 6px;
}
.pdi-form-actions {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text-dark);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.menu-toggle:hover {
  background: var(--bg);
}
.menu-toggle:active {
  background: #e8eaef;
}
.sb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 49;
  opacity: 0;
  transition: opacity 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.sb-overlay.show {
  display: block;
  opacity: 1;
}
@media (max-width: 768px) {
  button,
  a,
  .btn,
  .sb-item {
    -webkit-tap-highlight-color: transparent;
  }
}
@media (max-width: 1280px) and (min-width: 1025px) {
  .kpi-grid {
    gap: 14px;
  }
  .charts-grid {
    gap: 14px;
  }
  .bot-grid {
    gap: 14px;
  }
}
@media (max-width: 1024px) {
  .sb {
    width: 220px;
  }
  .main {
    margin-left: 220px;
  }
  .topbar {
    padding: 14px 24px;
  }
  .content {
    padding: 18px 24px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .charts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bot-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .sb {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 280px;
    max-width: 85vw;
  }
  .sb.active {
    transform: translateX(0);
  }
  .main {
    margin-left: 0;
    width: 100%;
  }
  .filter-tab {
    flex: 1;
    min-width: 80px;
    text-align: center;
    font-size: 12px;
    padding: 8px 12px;
  }
  .topbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .topbar > div {
    flex: 1;
    min-width: 0;
  }
  .topbar h1 {
    font-size: 18px;
  }
  .topbar p {
    font-size: 11px;
  }
  .topbar-r {
    width: 100%;
    margin-top: 8px;
    gap: 8px;
  }
  .topbar-r input {
    width: 100%;
    flex: 1;
  }
  .content {
    padding: 16px;
    overflow-x: hidden;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
  }
  .kpi {
    padding: 12px;
    min-height: auto;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }
  .kpi-l {
    flex: 1;
    min-width: 0;
  }
  .kpi-l .kpi-lab {
    font-size: 10px;
    line-height: 1.3;
  }
  .kpi-l .kpi-val {
    font-size: 18px;
    line-height: 1.2;
  }
  .kpi-l .kpi-ch {
    font-size: 9.5px;
    margin-top: 2px;
  }
  .kpi-ic {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .kpi-ic svg {
    width: 18px;
    height: 18px;
  }
  .charts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 18px;
  }
  .card {
    padding: 16px;
    overflow: hidden;
  }
  .card-t {
    font-size: 13.5px;
    margin-bottom: 12px;
    gap: 6px;
    font-weight: 600;
  }
  .card-t svg {
    width: 16px;
    height: 16px;
  }
  .ch-box {
    height: 220px;
  }
  canvas {
    max-width: 100%;
    height: auto !important;
  }
  .arr-item {
    padding: 10px 12px;
    margin-bottom: 8px;
  }
  .arr-dot {
    width: 8px;
    height: 8px;
  }
  .arr-title {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .arr-subtitle {
    font-size: 10.5px;
  }
  .arr-time {
    font-size: 11px;
  }
  .act-item {
    padding: 9px 10px;
  }
  .act-icon {
    width: 32px;
    height: 32px;
  }
  .act-icon svg {
    width: 16px;
    height: 16px;
  }
  .act-text {
    font-size: 12px;
    line-height: 1.4;
  }
  .act-time {
    font-size: 10px;
  }
  .bot-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .search-toggle-btn {
    background: var(--primary);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(229, 37, 32, 0.3);
  }
  .search-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
  }
  .search-toggle-btn:active {
    transform: scale(0.95);
  }
  .unidades-search {
    display: none;
  }
  .page:has(table.gen) .tbl-wrap {
    background: transparent;
    box-shadow: none;
  }
  table.gen {
    border: none;
  }
  table.gen thead {
    display: none;
  }
  table.gen tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  table.gen tr {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: none;
  }
  table.gen td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid #f4f5f8;
  }
  table.gen tr:hover td {
    background: transparent;
  }
  table.gen td:last-child {
    border-bottom: none;
  }
  table.gen td:before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  table.gen td:nth-child(1) {
    background: #f8f9fc;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
  }
  table.gen td:nth-child(2) strong {
    font-size: 14px;
    color: var(--text-dark);
  }
  table.gen td:nth-child(3) {
    font-size: 12.5px;
    color: var(--text-mid);
  }
  table.gen td:nth-child(4) {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  table.gen td:nth-child(4) .badge-st {
    align-self: flex-end;
  }
  table.gen td:nth-child(5) {
    background: #f8f9fc;
    padding: 12px 16px;
  }
  table.gen td:nth-child(5):before {
    display: none;
  }
  .td-actions {
    width: 100%;
    gap: 8px;
  }
  .td-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 10px 16px;
    font-size: 12px;
  }
  .td-actions .btn svg {
    width: 16px;
    height: 16px;
  }
  .td-actions .btn:active {
    transform: scale(0.98);
  }
  .filter-row {
    padding: 10px 16px;
    gap: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .filter-row .flabel {
    grid-column: 1/-1;
    font-size: 10.5px;
    margin-bottom: 2px;
    gap: 4px;
  }
  .filter-row .flabel svg {
    width: 13px;
    height: 13px;
  }
  .filter-row .filter-sep {
    display: none;
  }
  .filter-row input[type=date],
  .filter-row select {
    min-width: auto;
    width: 100%;
    flex: none;
    font-size: 11px;
    padding: 6px 10px;
    min-height: 34px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  .filter-row input[type=date]::placeholder,
  .filter-row select::placeholder,
  .filter-row input::placeholder {
    font-size: 10.5px;
  }
  .filter-row select {
    grid-column: 1/-1;
  }
  .search-input-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .search-input-wrapper.active {
    transform: translateY(0);
  }
  .search-input-wrapper input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
  }
  .search-input-wrapper input::placeholder {
    font-size: 11px;
  }
  .search-input-wrapper input:focus {
    border-color: var(--primary);
  }
  .search-close-btn {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-mid);
  }
  .search-close-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }
  .search-close-btn:active {
    color: var(--primary);
  }
  input,
  select,
  textarea {
    font-size: 12.5px !important;
  }
  .u-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    box-shadow: none;
  }
  .u-table thead {
    display: none;
  }
  .u-table,
  .u-table tbody,
  .u-table tr,
  .u-table td {
    display: block;
    width: 100%;
  }
  .u-table tr {
    background: #fff;
    margin-bottom: 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 18px;
    position: relative;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
  }
  .u-table tr:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
  }
  .u-table tr:hover td {
    background: transparent;
  }
  .u-table tr:active {
    transform: translateY(0);
    background: #fafbfe;
  }
  .u-table td {
    padding: 0;
    margin-bottom: 6px;
    border: none;
    font-size: 13px;
    word-wrap: break-word;
  }
  .u-table td:last-child {
    margin-top: 10px;
    margin-bottom: 0;
  }
  .u-table td:last-child:before {
    display: none;
  }
  .u-table td:before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 10px;
    color: var(--text-light);
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
  .u-table td:nth-child(1) {
    margin-bottom: 4px;
  }
  .u-table td:nth-child(1):before {
    display: none;
  }
  .u-table td:nth-child(2) {
    margin-bottom: 12px;
  }
  .u-table td:nth-child(2):before {
    display: none;
  }
  .vin-cell {
    font-size: 15px;
    font-weight: 700;
    word-break: break-word;
    line-height: 1.3;
    color: var(--text-dark);
  }
  .vehicle-cell {
    font-size: 12.5px;
    color: var(--text-mid);
  }
  .novelty-badge {
    margin-left: 0;
    margin-top: 8px;
    display: inline-flex;
    font-size: 10px;
    padding: 3px 9px;
  }
  .color-cell {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .color-dot {
    width: 12px;
    height: 12px;
  }
  .layout-status .ls-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .layout-tag {
    font-size: 10px;
    padding: 3px 9px;
  }
  .row-arrow {
    display: none;
  }
  .pagination {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 16px;
  }
  .pag-info {
    font-size: 12px;
    text-align: center;
  }
  .pag-btns {
    justify-content: center;
  }
  .pag-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .detail-header {
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .back-btn {
    font-size: 12px;
    padding: 8px 12px;
    min-height: 40px;
    width: auto;
  }
  .detail-card {
    padding: 16px;
    margin-bottom: 16px;
    overflow: visible;
  }
  .detail-vin {
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .detail-vin h2 {
    font-size: 17px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
  }
  .detail-vin .st-badge {
    font-size: 10px;
    padding: 3px 12px;
    flex-shrink: 0;
  }
  .detail-meta {
    font-size: 12px;
    margin-bottom: 14px;
    line-height: 1.5;
  }
  .detail-dates {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  .detail-date-item {
    font-size: 12px;
    padding: 8px 0;
  }
  .detail-date-item strong {
    font-size: 11px;
    display: block;
    margin-bottom: 4px;
  }
  .flow-section {
    margin-top: 18px;
    overflow: visible;
  }
  .flow-title {
    font-size: 14px;
    margin-bottom: 14px;
    font-weight: 600;
  }
  .flow-timeline {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    overflow: visible;
    gap: 0;
  }
  .flow-step {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    position: relative;
  }
  .flow-step:last-child {
    margin-bottom: 0;
  }
  .flow-step-dot {
    width: 40px;
    height: 40px;
    font-size: 12px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .flow-step > div:last-child {
    flex: 1;
    min-width: 0;
  }
  .flow-step-label {
    font-size: 11.5px;
    margin-bottom: 3px;
    line-height: 1.4;
    padding: 0;
    text-align: left;
    font-weight: 600;
  }
  .flow-step-sublabel {
    font-size: 10.5px;
    margin-bottom: 3px;
    line-height: 1.4;
    padding: 0;
    text-align: left;
    color: var(--text-mid);
  }
  .flow-step-date {
    font-size: 9.5px;
    line-height: 1.3;
    padding: 0;
    text-align: left;
    color: var(--text-light);
  }
  .flow-step-driver {
    font-size: 8.5px;
    text-align: left;
  }
  .flow-step::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 40px;
    width: 3px;
    height: calc(100% + 22px);
    background: #e0e0e0;
    z-index: 1;
  }
  .flow-step:last-child::after {
    display: none;
  }
  .flow-step.completed::after {
    background: var(--green);
  }
  .flow-step-days.completed::after {
    background: #81d4fa !important;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .novelty-item {
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .novelty-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .novelty-content {
    flex: 1;
    min-width: 0;
  }
  .novelty-title {
    font-size: 12px;
    line-height: 1.4;
  }
  .novelty-desc {
    font-size: 11px;
    line-height: 1.5;
    margin-top: 2px;
  }
  .novelty-status {
    font-size: 10px;
    padding: 3px 10px;
    white-space: nowrap;
    align-self: flex-start;
  }
  .historial-table {
    font-size: 11px;
  }
  .historial-table thead {
    display: none;
  }
  .historial-table,
  .historial-table tbody,
  .historial-table tr,
  .historial-table td {
    display: block;
  }
  .historial-table tr {
    background: #fafbfe;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #f0f1f5;
  }
  .historial-table td {
    padding: 6px 0;
    border: none;
    font-size: 12px;
  }
  .historial-table td:before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 10px;
    color: var(--text-light);
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
  }
  .page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .page-header h2 {
    font-size: 17px;
  }
  .page-header .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .filter-bar {
    flex-direction: column;
    gap: 10px;
  }
  .filter-bar input,
  .filter-bar select {
    width: 100%;
    min-height: 34px;
    font-size: 11px;
    padding: 6px 10px;
  }
  .filter-bar input::placeholder {
    font-size: 10.5px;
  }
  .tbl-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    box-shadow: none;
  }
  table.gen thead {
    display: none;
  }
  table.gen,
  table.gen tbody,
  table.gen tr,
  table.gen td {
    display: block;
    width: 100%;
  }
  table.gen tr {
    background: #fff;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
  }
  table.gen tr:active {
    background: #fafbfe;
  }
  table.gen td {
    padding: 6px 0;
    border: none;
    font-size: 13px;
    word-wrap: break-word;
  }
  table.gen td:before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 10px;
    color: var(--text-light);
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
  }
  table.gen td:last-child {
    position: absolute;
    top: 12px;
    right: 12px;
  }
  table.gen td:last-child:before {
    display: none;
  }
  .td-actions {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .tabs {
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    justify-content: center;
    padding: 4px;
  }
  .tab {
    padding: 10px 18px;
    font-size: 12.5px;
    white-space: nowrap;
    min-height: 44px;
    font-weight: 600;
  }
  table.tickets thead {
    display: none;
  }
  table.tickets,
  table.tickets tbody,
  table.tickets tr,
  table.tickets td {
    display: block;
    width: 100%;
  }
  table.tickets tr {
    background: #fff;
    margin-bottom: 14px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
    overflow: hidden;
  }
  table.tickets tr:active {
    background: #fafbfe;
    transform: scale(0.98);
  }
  table.tickets td {
    padding: 0;
    border: none;
    font-size: 13px;
    word-wrap: break-word;
  }
  table.tickets td:before {
    display: none;
  }
  table.tickets td:nth-child(1) {
    background: #f8f9fc;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
  }
  table.tickets td:nth-child(1) .ticket-fecha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }
  table.tickets td:nth-child(1) .ticket-fecha .f:first-child {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
  }
  table.tickets td:nth-child(1) .ticket-fecha .f:last-of-type {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-dark);
  }
  table.tickets td:nth-child(1) .ticket-fecha .h {
    font-size: 10.5px;
    color: var(--text-light);
    margin-left: auto;
  }
  table.tickets td:nth-child(2) {
    padding: 14px 16px 12px;
  }
  table.tickets td:nth-child(2) strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
  }
  table.tickets td:nth-child(2) small {
    font-size: 12px;
  }
  table.tickets td:nth-child(3) {
    padding: 0 16px 12px;
    font-size: 12px;
    line-height: 1.6;
  }
  table.tickets td:nth-child(3) svg {
    width: 14px !important;
    height: 14px !important;
  }
  table.tickets td:nth-child(4) {
    padding: 0 16px 14px;
  }
  .ticket-desc {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .ticket-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .ticket-text {
    flex: 1;
    min-width: 0;
  }
  .ticket-text-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 4px;
  }
  .ticket-text-sub {
    font-size: 11.5px;
    color: var(--text-mid);
    line-height: 1.5;
  }
  table.tickets td:nth-child(5),
  table.tickets td:nth-child(6) {
    display: inline-flex;
    flex-direction: column;
    width: auto;
    padding: 0 8px 14px 16px;
    gap: 6px;
  }
  table.tickets td:nth-child(5) {
    padding-left: 16px;
  }
  table.tickets td:nth-child(5):before,
  table.tickets td:nth-child(6):before {
    display: block !important;
    font-weight: 600;
    font-size: 9px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
  }
  table.tickets td:nth-child(5):before {
    content: "Severidad";
  }
  table.tickets td:nth-child(6):before {
    content: "Estado";
  }
  .badge-sev,
  .badge-estado {
    font-size: 10px;
    padding: 4px 12px;
    white-space: nowrap;
    border-radius: 16px;
    width: fit-content;
  }
  table.tickets td:nth-child(7) {
    padding: 0 16px 14px;
    width: 100%;
  }
  .btn-atender {
    font-size: 12px;
    padding: 10px 16px;
    min-height: 44px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
  }
  .btn-atender svg {
    width: 14px !important;
    height: 14px !important;
  }
  .incident-novelty-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }
  .nov-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nov-card,
  .nov-card-left {
    padding: 16px;
    word-wrap: break-word;
  }
  .nov-card-left {
    border-left-width: 3px;
  }
  .nov-card-right {
    gap: 16px;
  }
  .nov-top-right {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
  }
  .nov-badges {
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .badge-ticket,
  .badge-sev-detail {
    font-size: 10.5px;
    padding: 5px 14px;
    white-space: nowrap;
  }
  .nov-vin {
    font-size: 16px;
    margin-bottom: 8px;
    word-break: break-word;
    line-height: 1.3;
  }
  .nov-vehiculo {
    font-size: 12px;
    margin-bottom: 16px;
    line-height: 1.4;
  }
  .nov-info {
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }
  .nov-info-item {
    font-size: 11.5px;
    line-height: 1.4;
  }
  .nov-info-item svg {
    width: 14px;
    height: 14px;
  }
  .btn-gestionar {
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 9px 16px;
    min-height: 44px;
  }
  .nov-section {
    margin-top: 16px;
  }
  .nov-section-title {
    font-size: 13.5px;
    margin-bottom: 10px;
    font-weight: 600;
  }
  .nov-reporte-img {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    height: auto;
    border-radius: 8px;
  }
  .nov-reporte-desc {
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.5;
  }
  .nov-form {
    margin-top: 0;
  }
  .nov-form-actions {
    margin-bottom: 10px;
  }
  .nov-textarea {
    min-height: 90px;
    font-size: 14px;
    padding: 12px;
    margin-bottom: 10px;
    line-height: 1.5;
  }
  .nov-checkbox {
    margin-bottom: 12px;
  }
  .nov-checkbox input[type=checkbox] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
  }
  .nov-checkbox label {
    font-size: 12px;
    line-height: 1.4;
  }
  .btn-agregar {
    font-size: 12px;
    padding: 10px 16px;
    min-height: 44px;
  }
  .btn-foto {
    font-size: 11px;
    padding: 7px 12px;
    min-height: 40px;
  }
  .btn-foto svg {
    width: 15px;
    height: 15px;
  }
  .historial-entry {
    padding: 12px;
  }
  .historial-entry-icon {
    width: 13px;
    height: 13px;
  }
  .historial-entry-date {
    font-size: 10px;
  }
  .historial-entry-text {
    font-size: 11.5px;
    line-height: 1.5;
  }
  .pdi-table thead {
    display: none;
  }
  .pdi-table tbody tr {
    display: block;
    padding: 14px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 8px;
    border-radius: 10px;
    background: #fafbfe;
  }
  .pdi-table tbody td {
    display: block;
    padding: 4px 0;
    border-bottom: none;
    text-align: left !important;
  }
  .pdi-table tbody td:first-child {
    font-size: 11px;
    color: var(--primary);
    margin-bottom: 4px;
  }
  .pdi-table tbody td:first-child::before {
    content: "Item ";
  }
  .pdi-table tbody td:last-child {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }
  .pdi-result-group {
    justify-content: flex-start;
  }
  .pdi-tire-inputs {
    gap: 8px;
  }
  .pdi-vds-fields {
    grid-template-columns: 1fr;
  }
  .btn-pdi {
    font-size: 12px;
    padding: 8px 14px;
  }
}
@media (max-width: 480px) {
  .login-page {
    padding: 0;
  }
  .login-box {
    flex-direction: column;
    min-height: 100vh;
    max-width: 100vw;
    border-radius: 0;
  }
  .login-left {
    padding: 32px 24px 28px;
    min-height: auto;
    flex: 0;
  }
  .l-brand {
    margin-bottom: 16px;
  }
  .l-brand-icon {
    width: 36px;
    height: 36px;
  }
  .l-brand-icon svg {
    width: 20px;
    height: 20px;
  }
  .l-brand span {
    font-size: 18px;
  }
  .l-text {
    margin-bottom: 16px;
  }
  .l-text h1 {
    font-size: 22px;
    line-height: 1.3;
  }
  .l-text p {
    font-size: 12px;
    line-height: 1.5;
  }
  .l-pills {
    gap: 8px;
  }
  .l-pill {
    padding: 6px 14px;
    font-size: 11px;
  }
  .login-right {
    padding: 28px 24px;
    flex: 1;
  }
  .login-right h2 {
    font-size: 19px;
  }
  .login-right .sub {
    font-size: 12px;
  }
  .fg {
    margin-bottom: 16px;
  }
  .iw input {
    padding: 11px 11px 11px 40px;
    font-size: 14px;
  }
  .btn-login {
    padding: 12px;
    font-size: 14px;
  }
  .reg {
    font-size: 12px;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
  }
  .menu-toggle svg {
    width: 22px;
    height: 22px;
  }
  .sb {
    width: 260px;
    max-width: 80vw;
  }
  .sb-item {
    font-size: 14px;
    padding: 12px 14px;
  }
  .topbar {
    padding: 10px 14px;
    gap: 10px;
  }
  .topbar h1 {
    font-size: 16px;
  }
  .topbar p {
    font-size: 10.5px;
  }
  .filter-row {
    padding: 8px 14px;
    gap: 5px;
  }
  .filter-row .flabel {
    font-size: 10px;
  }
  .filter-row input[type=date],
  .filter-row select {
    font-size: 10.5px;
    padding: 5px 8px;
    min-height: 32px;
  }
  .filter-row input::placeholder,
  .filter-row select::placeholder {
    font-size: 10px;
  }
  .search-toggle-btn {
    width: 40px;
    height: 40px;
  }
  .search-toggle-btn svg {
    width: 18px;
    height: 18px;
  }
  .search-input-wrapper {
    padding: 10px 14px;
  }
  .search-input-wrapper input {
    font-size: 13px;
    padding: 9px 12px;
  }
  .search-close-btn {
    width: 34px;
    height: 34px;
  }
  .search-close-btn svg {
    width: 22px;
    height: 22px;
  }
  .kpi-grid {
    gap: 8px;
  }
  .kpi {
    padding: 10px;
    gap: 6px;
  }
  .kpi-l .kpi-lab {
    font-size: 9.5px;
    line-height: 1.3;
  }
  .kpi-l .kpi-val {
    font-size: 16px;
    line-height: 1.2;
  }
  .kpi-l .kpi-ch {
    font-size: 9px;
    margin-top: 1px;
  }
  .kpi-ic {
    width: 32px;
    height: 32px;
  }
  .kpi-ic svg {
    width: 16px;
    height: 16px;
  }
  .ch-box {
    height: 200px !important;
  }
  .card-t {
    font-size: 12.5px !important;
  }
  .arr-title {
    font-size: 11px !important;
  }
  .act-item > div:last-child > div:first-child {
    font-size: 11px !important;
  }
  .btn {
    font-size: 12px;
    padding: 8px 14px;
    min-height: 40px;
  }
  .btn-sm {
    padding: 7px 12px;
    font-size: 11px;
    min-height: 36px;
  }
  .btn svg {
    width: 15px;
    height: 15px;
  }
  .toast {
    left: 16px;
    right: 16px;
    top: 16px;
    font-size: 12px;
  }
  .detail-card {
    padding: 14px;
  }
  .detail-vin {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .detail-vin h2 {
    font-size: 15px;
    word-break: break-all;
  }
  .detail-vin .st-badge {
    font-size: 9px;
    padding: 2px 10px;
  }
  .detail-meta {
    font-size: 11px;
  }
  .detail-date-item strong {
    font-size: 10px;
  }
  .detail-date-item span {
    font-size: 11px;
  }
  .flow-section {
    margin-top: 16px;
  }
  .flow-title {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .flow-timeline {
    padding: 12px 16px;
  }
  .flow-step {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }
  .flow-step-dot {
    width: 34px;
    height: 34px;
    font-size: 11px;
    margin-bottom: 0;
  }
  .flow-step-label {
    font-size: 10px;
    line-height: 1.4;
    padding: 0;
    margin-bottom: 2px;
  }
  .flow-step-sublabel {
    font-size: 9px;
    line-height: 1.4;
    padding: 0;
    margin-bottom: 2px;
  }
  .flow-step-date {
    font-size: 8.5px;
    line-height: 1.3;
    padding: 0;
  }
  .flow-step-driver {
    font-size: 8px;
    text-align: left;
  }
  .flow-step::after {
    left: 17px;
    top: 34px;
    width: 3px;
    height: calc(100% + 20px);
  }
  .flow-step-days.completed::after {
    background: #81d4fa !important;
  }
  .card {
    padding: 14px;
  }
  .card-t {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .u-table tr {
    padding: 14px 16px;
  }
  .u-table td {
    margin-bottom: 5px;
    font-size: 12px;
  }
  .u-table td:before {
    font-size: 9.5px;
  }
  .vin-cell {
    font-size: 14px;
    line-height: 1.3;
  }
  .vehicle-cell {
    font-size: 12px;
  }
  .color-cell {
    font-size: 11.5px;
    gap: 6px;
  }
  .color-dot {
    width: 11px;
    height: 11px;
  }
  .layout-status .ls-title {
    font-size: 12px;
  }
  .layout-tag {
    font-size: 9.5px;
    padding: 3px 8px;
  }
  .st-badge {
    font-size: 9.5px;
    padding: 3px 10px;
  }
  .novelty-badge {
    font-size: 9.5px;
    padding: 3px 8px;
    margin-top: 6px;
  }
  .pagination {
    padding: 12px;
  }
  .pag-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .incident-novelty-header {
    margin-bottom: 14px;
  }
  .nov-card,
  .nov-card-left {
    padding: 14px;
  }
  .nov-card-left {
    border-left-width: 3px;
  }
  .nov-card-right {
    gap: 14px;
  }
  .nov-top-right {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 14px;
  }
  .nov-badges {
    gap: 6px;
    margin-bottom: 10px;
  }
  .badge-ticket,
  .badge-sev-detail {
    font-size: 10px;
    padding: 4px 12px;
  }
  .nov-vin {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .nov-vehiculo {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .nov-info {
    gap: 7px;
    margin-bottom: 14px;
  }
  .nov-info-item {
    font-size: 10.5px;
  }
  .nov-info-item svg {
    width: 13px;
    height: 13px;
  }
  .btn-gestionar {
    width: 100%;
    justify-content: center;
    font-size: 11px;
    padding: 8px 14px;
  }
  .nov-section {
    margin-top: 14px;
  }
  .nov-section-title {
    font-size: 12.5px;
    margin-bottom: 8px;
  }
  .nov-reporte-img {
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
  }
  .nov-reporte-desc {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .nov-form {
    margin-top: 0;
  }
  .nov-form-actions {
    margin-bottom: 8px;
  }
  .nov-textarea {
    min-height: 85px;
    font-size: 11.5px;
    padding: 10px;
    margin-bottom: 8px;
  }
  .nov-checkbox {
    margin-bottom: 10px;
  }
  .nov-checkbox input[type=checkbox] {
    width: 15px;
    height: 15px;
  }
  .nov-checkbox label {
    font-size: 11px;
  }
  .btn-agregar {
    font-size: 11.5px;
    padding: 9px 14px;
  }
  .btn-foto {
    font-size: 10px;
    padding: 6px 10px;
  }
  .btn-foto svg {
    width: 14px;
    height: 14px;
  }
  .historial-entry {
    padding: 10px;
  }
  .historial-entry-icon {
    width: 12px;
    height: 12px;
  }
  .historial-entry-date {
    font-size: 9.5px;
  }
  .historial-entry-text {
    font-size: 10.5px;
    line-height: 1.5;
  }
}
.nueva-unidad-form {
  margin-top: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.25s;
}
.btn-primary {
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark));
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 37, 32, 0.35);
}
.btn-primary svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}
.btn-secondary {
  background: var(--bg);
  color: var(--text-mid);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  background: #e8eaef;
  border-color: #d0d2d9;
}
.btn-secondary svg {
  width: 17px;
  height: 17px;
  fill: var(--text-mid);
}
.color-picker-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}
.color-picker-wrapper input[type=color] {
  width: 60px;
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  background: #fafafe;
  transition: border 0.2s, box-shadow 0.2s;
}
.color-picker-wrapper input[type=color]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 37, 32, 0.1);
}
.color-picker-wrapper input[type=text] {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
  background: #fafafe;
  transition: border 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
}
.color-picker-wrapper input[type=text]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 37, 32, 0.1);
  background: #fff;
}
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .color-picker-wrapper input[type=color] {
    width: 50px;
    height: 42px;
  }
}
.carriers-selection-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.carrier-selection-card {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}
.carrier-selection-card:has(.carrier-checkbox:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
}
.carrier-checkbox {
  width: 20px;
  height: 20px;
  margin: 16px 0 16px 16px;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.carrier-selection-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 12px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}
.carrier-selection-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.carrier-selection-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}
.carrier-selection-info {
  flex: 1;
  min-width: 0;
}
.carrier-selection-plate {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: monospace;
  margin-bottom: 3px;
}
.carrier-selection-vehicle {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 2px;
}
.carrier-selection-company {
  font-size: 11.5px;
  color: var(--text-light);
}
.carrier-selection-capacity {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.capacity-badge {
  background: #f8f9fc;
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}
.assignment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}
.assignment-carrier-info {
  flex: 1;
  min-width: 0;
}
.assignment-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.assignment-subtitle {
  font-size: 12.5px;
  color: var(--text-mid);
}
.progress-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.progress-badge.warning {
  background: #fff3e0;
  color: #e65100;
}
.progress-badge.success {
  background: #e8f5e9;
  color: #2e7d32;
}
.progress-badge.error {
  background: #ffebee;
  color: #c62828;
}
.add-vehicle-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.btn-add-vehicle {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.btn-add-vehicle:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: scale(1.05);
}
.btn-add-vehicle:disabled {
  background: #e0e0e0;
  cursor: not-allowed;
  opacity: 0.6;
}
.btn-add-vehicle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.vehiculos-asignados {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.vehiculos-asignados-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.vehiculos-asignados-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.assigned-vehicle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #f8f9fc;
  border: 1px solid #e8eaef;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  transition: all 0.2s;
}
.assigned-vehicle-item:hover {
  background: #fde3e3;
  border-left-color: var(--primary-dark);
}
.assigned-vehicle-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.assigned-vehicle-vin {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: monospace;
}
.assigned-vehicle-model {
  font-size: 11.5px;
  color: var(--text-mid);
}
.btn-remove-vehiculo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-mid);
}
.btn-remove-vehiculo:hover {
  background: #ffebee;
  border-color: #ef5350;
  color: #c62828;
}
.btn-remove-vehiculo svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.summary-dispatch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f8f9fc;
  border-radius: 10px;
  border: 1px solid #e8eaef;
}
.summary-label {
  font-size: 12.5px;
  color: var(--text-mid);
  font-weight: 500;
}
.summary-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}
@media (max-width: 768px) {
  .btn-action {
    display: unset !important;
  }
  .btn-action-outline {
    display: unset !important;
  }
  .carrier-selection-card {
    flex-direction: column;
  }
  .carrier-checkbox {
    margin: 14px;
  }
  .carrier-selection-label {
    padding: 0 14px 14px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .carrier-selection-icon {
    width: 38px;
    height: 38px;
  }
  .carrier-selection-icon svg {
    width: 20px;
    height: 20px;
  }
  .carrier-selection-plate {
    font-size: 13px;
  }
  .carrier-selection-vehicle {
    font-size: 12px;
  }
  .carrier-selection-company {
    font-size: 11px;
  }
  .carrier-selection-capacity {
    width: 100%;
  }
  .capacity-badge {
    font-size: 11px;
    padding: 5px 12px;
  }
  .assignment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .assignment-title {
    font-size: 15px;
  }
  .assignment-subtitle {
    font-size: 11.5px;
  }
  .progress-badge {
    min-width: 50px;
    font-size: 12px;
    padding: 6px 14px;
  }
  .add-vehicle-group {
    flex-direction: column;
  }
  .btn-add-vehicle {
    width: 100%;
    height: 42px;
  }
  .assigned-vehicle-item {
    padding: 9px 12px;
  }
  .assigned-vehicle-vin {
    font-size: 12px;
  }
  .assigned-vehicle-model {
    font-size: 11px;
  }
  .summary-dispatch {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .summary-item {
    padding: 12px 16px;
  }
  .summary-label {
    font-size: 12px;
  }
  .summary-value {
    font-size: 18px;
  }
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.page-header h2 {
  font-size: 18px;
  font-weight: 700;
}
.filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-bar input,
.filter-bar select {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 12.5px;
  outline: none;
  background: #fff;
}
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--primary);
}
.filter-bar input {
  width: 260px;
}
table.gen {
  width: 100%;
  border-collapse: collapse;
}
table.gen thead {
  background: #f8f9fc;
}
table.gen th {
  padding: 12px 16px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 1.5px solid var(--border);
}
table.gen td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-mid);
  border-bottom: 1px solid #f4f5f8;
  vertical-align: middle;
}
table.gen tr:hover td {
  background: #fafbfe;
}
.td-actions {
  display: flex;
  gap: 6px;
}
.btn-edit {
  background: var(--primary-light);
  color: var(--primary);
}
.btn-edit:hover {
  background: #ef9a9a;
}
.btn-del {
  background: #fce4ec;
  color: var(--red);
}
.btn-del:hover {
  background: #ffcdd2;
}
.badge-st {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}
.badge-st.active {
  background: #e8f5e9;
  color: #2e7d32;
}
.badge-st.inactive {
  background: #fce4ec;
  color: #c62828;
}
.tab-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-action:hover:not(:disabled) {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(229, 37, 32, 0.25);
}
.btn-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.btn-action-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: var(--text-mid);
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-action-outline:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.btn-action-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-action-outline svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fff;
  border-top: 1px solid #f0f1f5;
}
.pag-info {
  font-size: 12.5px;
  color: var(--text-light);
}
.pag-btns {
  display: flex;
  gap: 4px;
}
.pag-btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pag-btn:hover:not(.disabled):not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}
.pag-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pag-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pag-dots {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 12px;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  width: 100%;
  max-width: 520px;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f1f5;
}
.modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f4f6f9;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close svg {
  width: 18px;
  height: 18px;
  fill: var(--text-light);
}
.modal-close:hover {
  background: #e8eaed;
}
.modal-body {
  padding: 24px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid #f0f1f5;
}
.modal-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-btn.cancel {
  background: #f4f6f9;
  color: var(--text-mid);
}
.modal-btn.cancel:hover {
  background: #e8eaed;
}
.modal-btn.primary {
  background: var(--primary);
  color: #fff;
}
.modal-btn.primary:hover {
  filter: brightness(1.08);
}
.modal-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}
.form-select {
  appearance: none;
  cursor: pointer;
}
.form-textarea {
  min-height: 80px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-help {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.back-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.back-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.alert-banner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.alert-banner strong {
  font-weight: 600;
}
.alert-banner.warning {
  background: #fff8e1;
  border-left: 3px solid var(--orange);
  color: #92400e;
}
.alert-banner.warning svg {
  fill: var(--orange);
}
.alert-banner.error {
  background: #fde3e3;
  border-left: 3px solid var(--red);
  color: #991b1b;
}
.alert-banner.error svg {
  fill: var(--red);
}
.alert-banner.success {
  background: #e8f5e9;
  border-left: 3px solid var(--green);
  color: #2e7d32;
}
.alert-banner.success svg {
  fill: var(--green);
}
.alert-banner.info {
  background: #e3f2fd;
  border-left: 3px solid #1976d2;
  color: #1565c0;
}
.alert-banner.info svg {
  fill: #1976d2;
}
.status-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.status-banner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.status-banner.success {
  background: #e8f5e9;
  color: #2e7d32;
}
.status-banner.success svg {
  fill: #2e7d32;
}
.status-banner.info {
  background: #e3f2fd;
  color: #1565c0;
}
.status-banner.info svg {
  fill: #1565c0;
}
.status-banner.neutral {
  background: #f5f5f5;
  color: #757575;
}
.status-banner.neutral svg {
  fill: #9e9e9e;
}
.not-found-state {
  text-align: center;
  padding: 60px 20px;
}
.not-found-state svg {
  width: 48px;
  height: 48px;
  fill: var(--text-light);
  margin-bottom: 16px;
}
.not-found-state h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.not-found-state p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.form-field {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-dark);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.08);
}
.form-field::placeholder {
  color: var(--text-light);
  font-size: 12.5px;
}
select.form-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
textarea.form-field {
  resize: vertical;
  min-height: 60px;
}
.lines-section {
  margin-top: 16px;
  padding: 14px;
  background: #f8f9fc;
  border-radius: 8px;
}
.lines-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.lines-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
}
.lines-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
}
.lines-add-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.lines-add-btn:hover {
  border-color: var(--primary);
  background: #e3f2fd;
}
.line-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.line-row .form-input {
  flex: 1;
}
.line-num {
  max-width: 90px;
  flex: 0 0 90px !important;
}
.line-remove-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #fde3e3;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.line-remove-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--red, #e52520);
}
.line-remove-btn:hover {
  background: var(--red, #e52520);
}
.line-remove-btn:hover svg {
  fill: #fff;
}
.lines-empty {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
  padding: 4px 0;
}
.loading-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-light);
}
.loading-state svg {
  width: 40px;
  height: 40px;
  fill: var(--text-light);
  margin-bottom: 12px;
  animation: spin 1s linear infinite;
}
.loading-state p {
  color: var(--text-mid);
  font-size: 14px;
  margin: 0;
}
@media (max-width: 768px) {
  .pagination {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
  .pag-info {
    font-size: 12px;
  }
  .pag-btns {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .pag-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .modal {
    max-width: 100%;
    border-radius: 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .back-btn {
    font-size: 12px;
    padding: 8px 12px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.toast-center-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.toast-top-center {
  top: 0;
  right: 0;
  width: 100%;
}
.toast-bottom-center {
  bottom: 0;
  right: 0;
  width: 100%;
}
.toast-top-full-width {
  top: 0;
  right: 0;
  width: 100%;
}
.toast-bottom-full-width {
  bottom: 0;
  right: 0;
  width: 100%;
}
.toast-top-left {
  top: 12px;
  left: 12px;
}
.toast-top-right {
  top: 12px;
  right: 12px;
}
.toast-bottom-right {
  right: 12px;
  bottom: 12px;
}
.toast-bottom-left {
  bottom: 12px;
  left: 12px;
}
.toast-title {
  font-weight: bold;
}
.toast-message {
  word-wrap: break-word;
}
.toast-message a,
.toast-message label {
  color: #FFFFFF;
}
.toast-message a:hover {
  color: #CCCCCC;
  text-decoration: none;
}
.toast-close-button {
  position: relative;
  right: -0.3em;
  top: -0.3em;
  float: right;
  font-size: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 0 1px 0 #ffffff;
}
.toast-close-button:hover,
.toast-close-button:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.4;
}
button.toast-close-button {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.toast-container {
  pointer-events: none;
  position: fixed;
  z-index: 999999;
}
.toast-container * {
  box-sizing: border-box;
}
.toast-container .ngx-toastr {
  position: relative;
  overflow: hidden;
  margin: 0 0 6px;
  padding: 15px 15px 15px 50px;
  width: 300px;
  border-radius: 3px 3px 3px 3px;
  background-position: 15px center;
  background-repeat: no-repeat;
  background-size: 24px;
  box-shadow: 0 0 12px #999999;
  color: #FFFFFF;
}
.toast-container .ngx-toastr:hover {
  box-shadow: 0 0 12px #000000;
  opacity: 1;
  cursor: pointer;
}
.toast-info {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+);
}
.toast-error {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+);
}
.toast-success {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==);
}
.toast-warning {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==);
}
.toast-container.toast-top-center .ngx-toastr,
.toast-container.toast-bottom-center .ngx-toastr {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}
.toast-container.toast-top-full-width .ngx-toastr,
.toast-container.toast-bottom-full-width .ngx-toastr {
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}
.ngx-toastr {
  background-color: #030303;
  pointer-events: auto;
}
.toast-success {
  background-color: #51A351;
}
.toast-error {
  background-color: #BD362F;
}
.toast-info {
  background-color: #2F96B4;
}
.toast-warning {
  background-color: #F89406;
}
.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background-color: #000000;
  opacity: 0.4;
}
@media all and (max-width: 240px) {
  .toast-container .ngx-toastr.div {
    padding: 8px 8px 8px 50px;
    width: 11em;
  }
  .toast-container .toast-close-button {
    right: -0.2em;
    top: -0.2em;
  }
}
@media all and (min-width: 241px) and (max-width: 480px) {
  .toast-container .ngx-toastr.div {
    padding: 8px 8px 8px 50px;
    width: 18em;
  }
  .toast-container .toast-close-button {
    right: -0.2em;
    top: -0.2em;
  }
}
@media all and (min-width: 481px) and (max-width: 768px) {
  .toast-container .ngx-toastr.div {
    padding: 15px 15px 15px 50px;
    width: 25em;
  }
}
ngb-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
ngb-modal-window {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1055;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  pointer-events: none;
  max-width: 600px;
}
.modal-dialog.modal-sm {
  max-width: 440px;
}
.modal-dialog.modal-md {
  max-width: 600px;
}
.modal-dialog.modal-lg {
  max-width: 800px;
}
.modal-dialog.modal-xl {
  max-width: 1040px;
}
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.btn-nueva {
  padding: 9px 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-nueva:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.25);
}
.btn-nueva svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.modal-form {
  padding: 0;
}
.modal-form__header {
  padding: 20px 24px;
  border-bottom: 1.5px solid var(--border);
  background: #fafbfe;
}
.modal-form__header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.modal-form__subtitle {
  font-size: 12.5px;
  color: var(--text-light);
  margin: 4px 0 0;
}
.modal-form__body {
  padding: 24px;
}
.modal-form__body .form-group {
  margin-bottom: 18px;
}
.modal-form__body .form-group:last-child {
  margin-bottom: 0;
}
.modal-form__body .form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.modal-form__body .form-group input,
.modal-form__body .form-group select,
.modal-form__body .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
  background: #fafafe;
  transition: border 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.modal-form__body .form-group input:focus,
.modal-form__body .form-group select:focus,
.modal-form__body .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
  background: #fff;
}
.modal-form__body .form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.modal-form__body .form-group .required {
  color: var(--red);
}
.modal-form__body .form-group .error-msg {
  display: block;
  font-size: 11.5px;
  color: var(--red);
  margin-top: 4px;
}
.modal-form__footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1.5px solid var(--border);
  background: #fafbfe;
}
.btn-cancel {
  padding: 10px 20px;
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cancel:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}
.btn-submit {
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-submit:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.25);
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.toast-container .ngx-toastr:before {
  display: none !important;
}
.toast-container .ngx-toastr {
  background-image: none !important;
}
.toast-container .ngx-toastr {
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: var(--text-dark, #1a1a2e);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: none;
  border-left: 4px solid #ccc;
  border-radius: var(--radius, 12px);
  padding: 16px 42px 16px 18px;
  min-width: 320px;
  max-width: 420px;
}
.toast-container .ngx-toastr:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.toast-container .toast-success {
  background: #f0fdf4;
  border-left-color: #22c55e;
  color: #166534;
}
.toast-container .toast-error {
  background: #fef2f2;
  border-left-color: #ef4444;
  color: #991b1b;
}
.toast-container .toast-info {
  background: #eff6ff;
  border-left-color: #3b82f6;
  color: #1e40af;
}
.toast-container .toast-warning {
  background: #fffbeb;
  border-left-color: #f59e0b;
  color: #92400e;
}
.toast-container .toast-title {
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 4px;
}
.toast-container .toast-message {
  font-size: 12.5px;
  line-height: 1.4;
  word-wrap: break-word;
  opacity: 0.85;
}
.toast-container .toast-close-button {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 18px;
  font-weight: 300;
  color: inherit;
  opacity: 0.4;
  text-shadow: none;
}
.toast-container .toast-close-button:hover {
  opacity: 0.8;
}
.toast-container .toast-progress {
  opacity: 0.2;
}
@media print {
  body.print-qr-only app-sidebar,
  body.print-qr-only app-topbar,
  body.print-qr-only .sb-overlay {
    display: none !important;
  }
  body.print-qr-only .main {
    margin-left: 0 !important;
  }
  body.print-qr-only .detail-header,
  body.print-qr-only .card-header-row,
  body.print-qr-only .info-grid,
  body.print-qr-only .import-content,
  body.print-qr-only .units-table,
  body.print-qr-only .header-btns,
  body.print-qr-only .qr-header,
  body.print-qr-only .filter-row,
  body.print-qr-only .u-table-wrap,
  body.print-qr-only .pagination,
  body.print-qr-only .qr-modal-header,
  body.print-qr-only .qr-modal-footer,
  body.print-qr-only .topbar {
    display: none !important;
  }
  body.print-qr-only .detail-card {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.print-qr-only .qr-section {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.print-qr-only .qr-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 0 !important;
  }
  body.print-qr-only .qr-card {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    break-inside: avoid;
  }
  body.print-qr-only .qr-label-sticker {
    border-color: #000;
    box-shadow: none;
    break-inside: avoid;
  }
  body.print-qr-only .qr-modal-overlay {
    position: static !important;
    background: none !important;
    padding: 0 !important;
  }
  body.print-qr-only .qr-modal {
    box-shadow: none !important;
    padding: 0 !important;
  }
  body.print-qr-only .qr-modal-body {
    padding: 0 !important;
  }
}

/* node_modules/@swimlane/ngx-datatable/index.css */
.ngx-datatable {
  display: block;
  overflow: hidden;
  justify-content: center;
  position: relative;
  transform: translate3d(0, 0, 0);
}
.ngx-datatable [hidden] {
  display: none !important;
}
.ngx-datatable *,
.ngx-datatable *:before,
.ngx-datatable *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.ngx-datatable.scroll-vertical .datatable-body {
  overflow-y: auto;
}
.ngx-datatable.scroll-vertical.virtualized .datatable-body .datatable-row-wrapper {
  position: absolute;
}
.ngx-datatable.scroll-horz .datatable-body {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ngx-datatable.fixed-header .datatable-header .datatable-header-inner {
  white-space: nowrap;
}
.ngx-datatable.fixed-header .datatable-header .datatable-header-inner .datatable-header-cell {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ngx-datatable.fixed-row .datatable-scroll {
  white-space: nowrap;
}
.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row {
  white-space: nowrap;
}
.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-cell {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-group-cell {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ngx-datatable .datatable-body-row,
.ngx-datatable .datatable-row-center,
.ngx-datatable .datatable-header-inner {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-flex-flow: row;
  -moz-flex-flow: row;
  -ms-flex-flow: row;
  -o-flex-flow: row;
  flex-flow: row;
}
.ngx-datatable .datatable-body-cell,
.ngx-datatable .datatable-header-cell {
  overflow-x: hidden;
  vertical-align: top;
  display: inline-block;
  line-height: 1.625;
}
.ngx-datatable .datatable-body-cell:focus,
.ngx-datatable .datatable-header-cell:focus {
  outline: none;
}
.ngx-datatable .datatable-row-left,
.ngx-datatable .datatable-row-right {
  z-index: 9;
}
.ngx-datatable .datatable-row-left,
.ngx-datatable .datatable-row-center,
.ngx-datatable .datatable-row-group,
.ngx-datatable .datatable-row-right {
  position: relative;
}
.ngx-datatable .datatable-header {
  display: block;
  overflow: hidden;
}
.ngx-datatable .datatable-header .datatable-header-inner {
  align-items: stretch;
  -webkit-align-items: stretch;
}
.ngx-datatable .datatable-header .datatable-header-cell {
  position: relative;
  display: inline-block;
}
.ngx-datatable .datatable-header .datatable-header-cell.sortable .datatable-header-cell-wrapper {
  cursor: pointer;
}
.ngx-datatable .datatable-header .datatable-header-cell.longpress .datatable-header-cell-wrapper {
  cursor: move;
}
.ngx-datatable .datatable-header .datatable-header-cell .sort-btn {
  line-height: 100%;
  vertical-align: middle;
  display: inline-block;
  cursor: pointer;
}
.ngx-datatable .datatable-header .datatable-header-cell .resize-handle,
.ngx-datatable .datatable-header .datatable-header-cell .resize-handle--not-resizable {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  padding: 0 4px;
  visibility: hidden;
}
.ngx-datatable .datatable-header .datatable-header-cell .resize-handle {
  cursor: ew-resize;
}
.ngx-datatable .datatable-header .datatable-header-cell.resizeable:hover .resize-handle {
  visibility: visible;
}
.ngx-datatable .datatable-header .datatable-header-cell:hover .resize-handle--not-resizable {
  visibility: visible;
}
.ngx-datatable .datatable-header .datatable-header-cell .targetMarker {
  position: absolute;
  top: 0;
  bottom: 0;
}
.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromLeft {
  right: 0;
}
.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromRight {
  left: 0;
}
.ngx-datatable .datatable-header .datatable-header-cell .datatable-header-cell-template-wrap {
  height: inherit;
}
.ngx-datatable .datatable-body {
  position: relative;
  z-index: 10;
  display: block;
}
.ngx-datatable .datatable-body .datatable-scroll {
  display: inline-block;
}
.ngx-datatable .datatable-body .datatable-row-detail {
  overflow-y: hidden;
}
.ngx-datatable .datatable-body .datatable-row-wrapper {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.ngx-datatable .datatable-body .datatable-body-row {
  outline: none;
}
.ngx-datatable .datatable-body .datatable-body-row > div {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
.ngx-datatable .datatable-footer {
  display: block;
  width: 100%;
  overflow: auto;
}
.ngx-datatable .datatable-footer .datatable-footer-inner {
  display: flex;
  align-items: center;
  width: 100%;
}
.ngx-datatable .datatable-footer .selected-count .page-count {
  flex: 1 1 40%;
}
.ngx-datatable .datatable-footer .selected-count .datatable-pager {
  flex: 1 1 60%;
}
.ngx-datatable .datatable-footer .page-count {
  flex: 1 1 20%;
}
.ngx-datatable .datatable-footer .datatable-pager {
  flex: 1 1 80%;
  text-align: right;
}
.ngx-datatable .datatable-footer .datatable-pager .pager,
.ngx-datatable .datatable-footer .datatable-pager .pager li {
  padding: 0;
  margin: 0;
  display: inline-block;
  list-style: none;
}
.ngx-datatable .datatable-footer .datatable-pager .pager li,
.ngx-datatable .datatable-footer .datatable-pager .pager li a {
  outline: none;
}
.ngx-datatable .datatable-footer .datatable-pager .pager li a {
  cursor: pointer;
  display: inline-block;
}
.ngx-datatable .datatable-footer .datatable-pager .pager li.disabled a {
  cursor: not-allowed;
}

/* node_modules/@swimlane/ngx-datatable/themes/material.css */
.ngx-datatable.material {
  background: #fff;
  box-shadow:
    0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14),
    0 3px 14px 2px rgba(0, 0, 0, 0.12);
}
.ngx-datatable.material.striped .datatable-row-odd {
  background: #eee;
}
.ngx-datatable.material.single-selection .datatable-body-row.active,
.ngx-datatable.material.single-selection .datatable-body-row.active .datatable-row-group,
.ngx-datatable.material.multi-selection .datatable-body-row.active,
.ngx-datatable.material.multi-selection .datatable-body-row.active .datatable-row-group,
.ngx-datatable.material.multi-click-selection .datatable-body-row.active,
.ngx-datatable.material.multi-click-selection .datatable-body-row.active .datatable-row-group {
  background-color: #304ffe;
  color: #fff;
}
.ngx-datatable.material.single-selection .datatable-body-row.active:hover,
.ngx-datatable.material.single-selection .datatable-body-row.active:hover .datatable-row-group,
.ngx-datatable.material.multi-selection .datatable-body-row.active:hover,
.ngx-datatable.material.multi-selection .datatable-body-row.active:hover .datatable-row-group,
.ngx-datatable.material.multi-click-selection .datatable-body-row.active:hover,
.ngx-datatable.material.multi-click-selection .datatable-body-row.active:hover .datatable-row-group {
  background-color: #193ae4;
  color: #fff;
}
.ngx-datatable.material.single-selection .datatable-body-row.active:focus,
.ngx-datatable.material.single-selection .datatable-body-row.active:focus .datatable-row-group,
.ngx-datatable.material.multi-selection .datatable-body-row.active:focus,
.ngx-datatable.material.multi-selection .datatable-body-row.active:focus .datatable-row-group,
.ngx-datatable.material.multi-click-selection .datatable-body-row.active:focus,
.ngx-datatable.material.multi-click-selection .datatable-body-row.active:focus .datatable-row-group {
  background-color: #2041ef;
  color: #fff;
}
.ngx-datatable.material:not(.cell-selection) .datatable-body-row:hover,
.ngx-datatable.material:not(.cell-selection) .datatable-body-row:hover .datatable-row-group {
  background-color: #eee;
  transition-property: background;
  transition-duration: 0.3s;
  transition-timing-function: linear;
}
.ngx-datatable.material:not(.cell-selection) .datatable-body-row:focus,
.ngx-datatable.material:not(.cell-selection) .datatable-body-row:focus .datatable-row-group {
  background-color: #ddd;
}
.ngx-datatable.material.cell-selection .datatable-body-cell:hover,
.ngx-datatable.material.cell-selection .datatable-body-cell:hover .datatable-row-group {
  background-color: #eee;
  transition-property: background;
  transition-duration: 0.3s;
  transition-timing-function: linear;
}
.ngx-datatable.material.cell-selection .datatable-body-cell:focus,
.ngx-datatable.material.cell-selection .datatable-body-cell:focus .datatable-row-group {
  background-color: #ddd;
}
.ngx-datatable.material.cell-selection .datatable-body-cell.active,
.ngx-datatable.material.cell-selection .datatable-body-cell.active .datatable-row-group {
  background-color: #304ffe;
  color: #fff;
}
.ngx-datatable.material.cell-selection .datatable-body-cell.active:hover,
.ngx-datatable.material.cell-selection .datatable-body-cell.active:hover .datatable-row-group {
  background-color: #193ae4;
  color: #fff;
}
.ngx-datatable.material.cell-selection .datatable-body-cell.active:focus,
.ngx-datatable.material.cell-selection .datatable-body-cell.active:focus .datatable-row-group {
  background-color: #2041ef;
  color: #fff;
}
.ngx-datatable.material .empty-row {
  height: 50px;
  text-align: left;
  padding: 0.5rem 1.2rem;
  vertical-align: top;
  border-top: 0;
}
.ngx-datatable.material .loading-row {
  text-align: left;
  padding: 0.5rem 1.2rem;
  vertical-align: top;
  border-top: 0;
}
.ngx-datatable.material .datatable-header .datatable-row-left,
.ngx-datatable.material .datatable-body .datatable-row-left {
  background-color: #fff;
  background-position: 100% 0;
  background-repeat: repeat-y;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQIHWPSkNeSBmJhTQVtbiDNCgASagIIuJX8OgAAAABJRU5ErkJggg==);
}
.ngx-datatable.material .datatable-header .datatable-row-right,
.ngx-datatable.material .datatable-body .datatable-row-right {
  background-position: 0 0;
  background-color: #fff;
  background-repeat: repeat-y;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQI12PQkNdi1VTQ5gbSwkAsDQARLAIGtOSFUAAAAABJRU5ErkJggg==);
}
.ngx-datatable.material .datatable-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.ngx-datatable.material .datatable-header .datatable-header-cell {
  text-align: left;
  padding: 0.9rem 1.2rem;
  font-weight: 400;
  background-color: #fff;
  color: rgba(0, 0, 0, 0.54);
  vertical-align: bottom;
  font-size: 12px;
  font-weight: 500;
}
.ngx-datatable.material .datatable-header .datatable-header-cell .datatable-header-cell-wrapper {
  position: relative;
}
.ngx-datatable.material .datatable-header .datatable-header-cell.longpress .draggable::after {
  transition: transform 400ms ease, opacity 400ms ease;
  opacity: 0.5;
  transform: scale(1);
}
.ngx-datatable.material .datatable-header .datatable-header-cell .draggable::after {
  content: " ";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -30px 0 0 -30px;
  height: 60px;
  width: 60px;
  background: #eee;
  border-radius: 100%;
  opacity: 1;
  filter: none;
  transform: scale(0);
  z-index: 9999;
  pointer-events: none;
}
.ngx-datatable.material .datatable-header .datatable-header-cell.dragging .resize-handle {
  border-right: none;
}
.ngx-datatable.material .datatable-header .resize-handle {
  border-right: solid 1px #eee;
}
.ngx-datatable.material .datatable-body {
  position: relative;
}
.ngx-datatable.material .datatable-body .datatable-row-detail {
  background: #f5f5f5;
  padding: 10px;
}
.ngx-datatable.material .datatable-body .datatable-group-header {
  background: #f5f5f5;
  border-bottom: solid 1px #d9d8d9;
  border-top: solid 1px #d9d8d9;
}
.ngx-datatable.material .datatable-body .datatable-body-row .datatable-body-cell {
  text-align: left;
  padding: 0.9rem 1.2rem;
  vertical-align: top;
  border-top: 0;
  color: rgba(0, 0, 0, 0.87);
  transition: width 0.3s ease;
  font-size: 14px;
  font-weight: 400;
}
.ngx-datatable.material .datatable-body .datatable-body-row .datatable-body-group-cell {
  text-align: left;
  padding: 0.9rem 1.2rem;
  vertical-align: top;
  border-top: 0;
  color: rgba(0, 0, 0, 0.87);
  transition: width 0.3s ease;
  font-size: 14px;
  font-weight: 400;
}
.ngx-datatable.material .datatable-body .progress-linear {
  display: block;
  position: sticky;
  width: 100%;
  height: 5px;
  padding: 0;
  margin: 0;
  top: 0;
}
.ngx-datatable.material .datatable-body .progress-linear .container {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 5px;
  -webkit-transform: translate(0, 0) scale(1, 1);
  transform: translate(0, 0) scale(1, 1);
  background-color: #aad1f9;
}
.ngx-datatable.material .datatable-body .progress-linear .container .bar {
  transition: all 0.2s linear;
  -webkit-animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
  animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: -webkit-transform 0.2s linear;
  transition: transform 0.2s linear;
  background-color: #106cc8;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
}
.ngx-datatable.material .datatable-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.54);
}
.ngx-datatable.material .datatable-footer .page-count {
  line-height: 50px;
  height: 50px;
  padding: 0 1.2rem;
}
.ngx-datatable.material .datatable-footer .datatable-pager {
  margin: 0 10px;
}
.ngx-datatable.material .datatable-footer .datatable-pager li {
  vertical-align: middle;
}
.ngx-datatable.material .datatable-footer .datatable-pager li.disabled a {
  color: rgba(0, 0, 0, 0.26) !important;
  background-color: transparent !important;
}
.ngx-datatable.material .datatable-footer .datatable-pager li.active a {
  background-color: rgba(158, 158, 158, 0.2);
  font-weight: bold;
}
.ngx-datatable.material .datatable-footer .datatable-pager a {
  height: 22px;
  min-width: 24px;
  line-height: 22px;
  padding: 0 6px;
  border-radius: 3px;
  margin: 6px 3px;
  text-align: center;
  vertical-align: top;
  color: rgba(0, 0, 0, 0.54);
  text-decoration: none;
  vertical-align: bottom;
}
.ngx-datatable.material .datatable-footer .datatable-pager a:hover {
  color: rgba(0, 0, 0, 0.75);
  background-color: rgba(158, 158, 158, 0.2);
}
.ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-left,
.ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-skip,
.ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-right,
.ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-prev {
  font-size: 20px;
  line-height: 20px;
  padding: 0 3px;
}
.ngx-datatable.material .datatable-summary-row .datatable-body-row {
  background-color: #ddd;
}
.ngx-datatable.material .datatable-summary-row .datatable-body-row:hover {
  background-color: #ddd;
}
.ngx-datatable.material .datatable-summary-row .datatable-body-row .datatable-body-cell {
  font-weight: bold;
}
.datatable-checkbox {
  position: relative;
  margin: 0;
  cursor: pointer;
  vertical-align: middle;
  display: inline-block;
  box-sizing: border-box;
  padding: 0;
}
.datatable-checkbox input[type=checkbox] {
  position: relative;
  margin: 0 1rem 0 0;
  cursor: pointer;
  outline: none;
}
.datatable-checkbox input[type=checkbox]:before {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  content: "";
  position: absolute;
  left: 0;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  border: 2px solid #f2f2f2;
}
.datatable-checkbox input[type=checkbox]:checked:before {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  height: 0.5rem;
  border-color: #009688;
  border-top-style: none;
  border-right-style: none;
}
.datatable-checkbox input[type=checkbox]:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  background: #fff;
  cursor: pointer;
}
@keyframes query {
  0% {
    opacity: 1;
    transform: translateX(35%) scale(0.3, 1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(0, 1);
  }
}

/* node_modules/@swimlane/ngx-datatable/assets/icons.css */
@font-face {
  font-family: "data-table";
  src: url("./media/data-table.eot");
  src:
    url("./media/data-table.eot?#iefix") format("embedded-opentype"),
    url("./media/data-table.woff") format("woff"),
    url("./media/data-table.ttf") format("truetype"),
    url("./media/data-table.svg#data-table") format("svg");
  font-weight: normal;
  font-style: normal;
}
[data-icon]::before {
  font-family: "data-table" !important;
  content: attr(data-icon);
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[class^=datatable-icon-]::before,
[class*=" datatable-icon-"]::before {
  font-family: "data-table" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.datatable-icon-filter::before {
  content: "b";
}
.datatable-icon-collapse::before {
  content: "a";
}
.datatable-icon-expand::before {
  content: "c";
}
.datatable-icon-close::before {
  content: "d";
}
.datatable-icon-up::before {
  content: "e";
}
.datatable-icon-down::before {
  content: "f";
}
.datatable-icon-sort-unset::before {
  content: "c";
  opacity: 0.5;
}
.datatable-icon-sort::before {
  content: "g";
}
.datatable-icon-done::before {
  content: "h";
}
.datatable-icon-done-all::before {
  content: "i";
}
.datatable-icon-search::before {
  content: "j";
}
.datatable-icon-pin::before {
  content: "k";
}
.datatable-icon-add::before {
  content: "m";
}
.datatable-icon-left::before {
  content: "o";
}
.datatable-icon-right::before {
  content: "p";
}
.datatable-icon-skip::before {
  content: "q";
}
.datatable-icon-prev::before {
  content: "r";
}

/* node_modules/@ng-select/ng-select/themes/default.theme.css */
.ng-select.ng-select-opened > .ng-select-container {
  background: #fff;
  border-color: hsl(0, 0%, 70%) #ccc hsl(0, 0%, 85%);
}
.ng-select.ng-select-opened > .ng-select-container:hover {
  box-shadow: none;
}
.ng-select.ng-select-opened > .ng-select-container .ng-arrow {
  top: -2px;
  border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #999;
  border-width: 0 5px 5px;
}
.ng-select.ng-select-opened > .ng-select-container .ng-arrow:hover {
  border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #333;
}
.ng-select.ng-select-opened.ng-select-top > .ng-select-container {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.ng-select.ng-select-opened.ng-select-right > .ng-select-container {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.ng-select.ng-select-opened.ng-select-bottom > .ng-select-container {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.ng-select.ng-select-opened.ng-select-left > .ng-select-container {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.ng-select.ng-select-focused:not(.ng-select-opened) > .ng-select-container {
  border-color: #007eff;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 3px rgba(0, 126, 255, .1);
}
.ng-select.ng-select-disabled > .ng-select-container {
  background-color: #f9f9f9;
}
.ng-select .ng-has-value .ng-placeholder {
  display: none;
}
.ng-select .ng-select-container {
  color: #333;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ccc;
  min-height: 36px;
  align-items: center;
}
.ng-select .ng-select-container:hover {
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.ng-select .ng-select-container .ng-value-container {
  align-items: center;
  padding-left: 10px;
}
[dir=rtl] .ng-select .ng-select-container .ng-value-container {
  padding-right: 10px;
  padding-left: 0;
}
.ng-select .ng-select-container .ng-value-container .ng-placeholder {
  color: #999;
}
.ng-select.ng-select-single .ng-select-container {
  height: 36px;
}
.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
  top: 5px;
  left: 0;
  padding-left: 10px;
  padding-right: 50px;
}
[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
  padding-right: 10px;
  padding-left: 50px;
}
.ng-select.ng-select-multiple.ng-select-disabled > .ng-select-container .ng-value-container .ng-value {
  background-color: #f9f9f9;
  border: 1px solid hsl(0, 0%, 90%);
}
.ng-select.ng-select-multiple.ng-select-disabled > .ng-select-container .ng-value-container .ng-value .ng-value-label {
  padding: 0 5px;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container {
  padding-top: 5px;
  padding-left: 7px;
}
[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container {
  padding-right: 7px;
  padding-left: 0;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value {
  font-size: .9em;
  margin-bottom: 5px;
  color: #333;
  background-color: rgb(234.6, 244.68, 255);
  border-radius: 2px;
  margin-right: 5px;
}
[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value {
  margin-right: 0;
  margin-left: 5px;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled {
  background-color: #f9f9f9;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label {
  padding-left: 5px;
}
[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label {
  padding-left: 0;
  padding-right: 5px;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label {
  display: inline-block;
  padding: 1px 5px;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon {
  display: inline-block;
  padding: 1px 5px;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover {
  background-color: rgb(209.1, 231.78, 255);
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left {
  border-right: 1px solid rgb(183.6, 218.88, 255);
}
[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left {
  border-left: 1px solid rgb(183.6, 218.88, 255);
  border-right: none;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right {
  border-left: 1px solid rgb(183.6, 218.88, 255);
}
[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right {
  border-left: 0;
  border-right: 1px solid rgb(183.6, 218.88, 255);
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input {
  padding: 0 0 3px 3px;
}
[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input {
  padding: 0 3px 3px 0;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input > input {
  color: #000;
}
.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder {
  top: 5px;
  padding-bottom: 5px;
  padding-left: 3px;
}
[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder {
  padding-right: 3px;
  padding-left: 0;
}
.ng-select .ng-clear-wrapper {
  color: #999;
}
.ng-select .ng-clear-wrapper:hover .ng-clear {
  color: #d0021b;
}
.ng-select .ng-clear-wrapper:focus .ng-clear {
  color: #d0021b;
}
.ng-select .ng-clear-wrapper:focus {
  outline: none;
}
.ng-select .ng-spinner-zone {
  padding: 5px 5px 0 0;
}
[dir=rtl] .ng-select .ng-spinner-zone {
  padding: 5px 0 0 5px;
}
.ng-select .ng-arrow-wrapper {
  width: 25px;
  padding-right: 5px;
}
[dir=rtl] .ng-select .ng-arrow-wrapper {
  padding-left: 5px;
  padding-right: 0;
}
.ng-select .ng-arrow-wrapper:hover .ng-arrow {
  border-top-color: #666;
}
.ng-select .ng-arrow-wrapper .ng-arrow {
  border-color: #999 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
  border-style: solid;
  border-width: 5px 5px 2.5px;
}
.ng-dropdown-panel {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  left: 0;
}
.ng-dropdown-panel.ng-select-top {
  bottom: 100%;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-bottom-color: hsl(0, 0%, 90%);
  margin-bottom: -1px;
}
.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child {
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}
.ng-dropdown-panel.ng-select-right {
  left: 100%;
  top: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-color: hsl(0, 0%, 90%);
  margin-bottom: -1px;
}
.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child {
  border-top-right-radius: 4px;
}
.ng-dropdown-panel.ng-select-bottom {
  top: 100%;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-color: hsl(0, 0%, 90%);
  margin-top: -1px;
}
.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}
.ng-dropdown-panel.ng-select-left {
  left: -100%;
  top: 0;
  border-top-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-color: hsl(0, 0%, 90%);
  margin-bottom: -1px;
}
.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child {
  border-top-left-radius: 4px;
}
.ng-dropdown-panel .ng-dropdown-header {
  border-bottom: 1px solid #ccc;
  padding: 5px 7px;
}
.ng-dropdown-panel .ng-dropdown-footer {
  border-top: 1px solid #ccc;
  padding: 5px 7px;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {
  -webkit-user-select: none;
  user-select: none;
  padding: 8px 10px;
  font-weight: 500;
  color: rgba(0, 0, 0, .54);
  cursor: pointer;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled {
  cursor: default;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked {
  background-color: rgb(244.8, 249.84, 255);
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,
.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked {
  color: rgba(0, 0, 0, .54);
  background-color: rgb(234.6, 244.68, 255);
  font-weight: 600;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
  background-color: #fff;
  color: rgba(0, 0, 0, .87);
  padding: 8px 10px;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked {
  color: #333;
  background-color: rgb(234.6, 244.68, 255);
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label {
  font-weight: 600;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked {
  background-color: rgb(244.8, 249.84, 255);
  color: #333;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled {
  color: #ccc;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child {
  padding-left: 22px;
}
[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child {
  padding-right: 22px;
  padding-left: 0;
}
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label {
  font-size: 80%;
  font-weight: 400;
  padding-right: 5px;
}
[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label {
  padding-left: 5px;
  padding-right: 0;
}
[dir=rtl] .ng-dropdown-panel {
  direction: rtl;
  text-align: right;
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
