/* ─── Reset & Base ─────────────────────────────────────── */
.login-page {
  display: flex;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  overflow: hidden;
}

/* ─── Left Panel (Image) ─────────────────────────────────── */
.login-panel-image {
  flex: 1;
  position: relative;
  background: url('/assets/login-BgivAt-P.jpg') no-repeat center center / cover;
  display: none;
}

@media (min-width: 900px) {
  .login-panel-image {
    display: block;
  }
}

.login-panel-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 127, 0, 0.55) 0%, rgba(10, 15, 30, 0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 52px 48px;
}

.login-panel-image-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: auto;
  padding-bottom: 0;
  position: absolute;
  top: 44px;
  left: 48px;
}

.login-panel-image-brand img {
  width: 44px !important;
  max-width: 44px !important;
  height: auto !important;
  filter: brightness(0) invert(1);
}

.login-panel-image-brand span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.login-panel-tagline {
  color: rgba(255,255,255,0.95);
}

.login-panel-tagline h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.login-panel-tagline p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 340px;
}

/* ─── Right Panel (Form) ─────────────────────────────────── */
.login-panel-form {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 52px;
  position: relative;
}

@media (max-width: 899px) {
  .login-panel-form {
    max-width: 100%;
    padding: 40px 28px;
    background:
      linear-gradient(160deg, rgba(255,127,0,0.08) 0%, rgba(255,255,255,1) 40%),
      url('/assets/login-BgivAt-P.jpg') no-repeat center center / cover;
    background-blend-mode: normal;
  }
}

/* Top accent stripe */
.login-panel-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff7f00, #ffb347);
}

.login-form-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.login-form-logo img {
  width: 72px !important;
  max-width: 72px !important;
  height: auto !important;
}

.login-form-header {
  text-align: center;
  margin-bottom: 36px;
}

.login-form-header h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.login-form-header p {
  font-size: 0.9rem;
  color: #718096;
}

/* ─── Form Fields ─────────────────────────────────────────── */
.lf-group {
  margin-bottom: 20px;
}

.lf-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 7px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.lf-input-wrap {
  position: relative;
}

.lf-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.lf-input-icon svg {
  width: 18px;
  height: 18px;
}

.lf-group input {
  width: 100%;
  padding: 13px 14px 13px 44px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #2d3748;
  background: #f7fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
  outline: none;
}

.lf-group input:focus {
  border-color: #ff7f00;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,127,0,0.15);
}

.lf-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Password toggle */
.lf-toggle-pw {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #a0aec0;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 0.2s;
}

.lf-toggle-pw:hover,
.lf-toggle-pw:focus {
  color: #ff7f00;
  outline: none;
}

.lf-toggle-pw svg {
  width: 18px;
  height: 18px;
}

/* ─── Submit Button ───────────────────────────────────────── */
.lf-btn-submit {
  width: 100%;
  padding: 14px;
  margin-top: 28px;
  background: linear-gradient(135deg, #ff7f00 0%, #ff9a33 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 14px rgba(255,127,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lf-btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #e67300 0%, #ff7f00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,127,0,0.45);
}

.lf-btn-submit:disabled {
  background: #cbd5e0;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Spinner */
.lf-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lf-spin 0.7s linear infinite;
}

@keyframes lf-spin {
  to { transform: rotate(360deg); }
}

/* ─── Error ───────────────────────────────────────────────── */
.lf-error {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-left: 3px solid #e53e3e;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.855rem;
  color: #c53030;
}

.lf-error p {
  margin: 0;
  line-height: 1.5;
}

/* ─── Footer Link ─────────────────────────────────────────── */
.lf-footer {
  margin-top: 24px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #edf2f7;
}

.lf-footer a {
  font-size: 0.875rem;
  color: #ff7f00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.lf-footer a:hover {
  color: #e67300;
  text-decoration: underline;
}
/* ─── Reset & Base ─────────────────────────────────────── */
.fp-page {
  display: flex;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  overflow: hidden;
}

/* ─── Left Panel (Image) ─────────────────────────────────── */
.fp-panel-image {
  flex: 1;
  position: relative;
  background: url('/assets/login-BgivAt-P.jpg') no-repeat center center / cover;
  display: none;
}

@media (min-width: 900px) {
  .fp-panel-image {
    display: block;
  }
}

.fp-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 127, 0, 0.55) 0%, rgba(10, 15, 30, 0.82) 100%);
  display: flex;
  flex-direction: column;
  padding: 52px 48px;
}

.fp-panel-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fp-panel-brand img {
  width: 44px !important;
  max-width: 44px !important;
  height: auto !important;
  filter: brightness(0) invert(1);
}

.fp-panel-brand span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.fp-panel-tagline {
  color: rgba(255,255,255,0.95);
  margin-top: auto;
}

.fp-panel-tagline h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.fp-panel-tagline p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 340px;
}

/* ─── Right Panel (Form) ─────────────────────────────────── */
.fp-panel-form {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 52px;
  position: relative;
}

@media (max-width: 899px) {
  .fp-panel-form {
    max-width: 100%;
    padding: 40px 28px;
  }
}

/* Top accent stripe */
.fp-panel-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff7f00, #ffb347);
}

/* ─── Back button ─────────────────────────────────────────── */
.fp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #718096;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.fp-back:hover {
  color: #ff7f00;
}

.fp-back svg {
  width: 16px;
  height: 16px;
}

/* ─── Icon badge ──────────────────────────────────────────── */
.fp-icon-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(255,127,0,0.15);
}

.fp-icon-badge svg {
  width: 28px !important;
  height: 28px !important;
  color: #ff7f00;
}

/* ─── Header ──────────────────────────────────────────────── */
.fp-header {
  margin-bottom: 32px;
}

.fp-header h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.fp-header p {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.6;
  max-width: 340px;
}

/* ─── Form Fields ─────────────────────────────────────────── */
.fp-group {
  margin-bottom: 20px;
}

.fp-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 7px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.fp-input-wrap {
  position: relative;
}

.fp-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.fp-input-icon svg {
  width: 18px;
  height: 18px;
}

.fp-group input {
  width: 100%;
  padding: 13px 14px 13px 44px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #2d3748;
  background: #f7fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
  outline: none;
}

.fp-group input:focus {
  border-color: #ff7f00;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,127,0,0.15);
}

/* ─── Alerts ──────────────────────────────────────────────── */
.fp-error {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-left: 3px solid #e53e3e;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.855rem;
  color: #c53030;
}

.fp-success {
  background: #f0fff4;
  border: 1px solid #c6f6d5;
  border-left: 3px solid #38a169;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: #276749;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.fp-success svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #38a169;
}

/* ─── Submit Button ───────────────────────────────────────── */
.fp-btn-submit {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: linear-gradient(135deg, #ff7f00 0%, #ff9a33 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 14px rgba(255,127,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fp-btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #e67300 0%, #ff7f00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,127,0,0.45);
}

.fp-btn-submit:disabled {
  background: #cbd5e0;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Spinner */
.fp-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fp-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes fp-spin {
  to { transform: rotate(360deg); }
}

/* ─── Footer note ─────────────────────────────────────────── */
.fp-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #a0aec0;
}
.input-container {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .custom-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .input-error {
    border-color: red;
  }
  
  .error-text {
    color: red;
    font-size: 0.875rem;
  }.custom-button {
    width: auto;
    padding: 10px;
    background-color: #ff7f00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin: 20px;
  }
  
  .custom-button:hover {
    background-color: #e67000;
  }/* SidebarMenu.css */

/* Contenedor principal del sidebar */
.sidebar-menu {
  width: 250px;
  background-color: #fff;
  border-right: 1px solid #ddd;
  height: 100vh;
  position: fixed;
  top: 0; /* Se muestra en la parte superior en estado normal */
  left: 0;
  transition: all 0.3s ease;
  overflow-y: auto;
  padding-top: 1rem;
  font-family: sans-serif;
  z-index: 1000;
}
.sidebar-menu.expanded {
  width: 250px;
  height: auto;             /* O 100vh si quieres que ocupe todo el alto */
  border-radius: 8px;       /* Deja de ser circular */
  bottom: 20px;             /* Se mantiene anclado abajo */
  left: 20px;
  overflow-y: auto;         /* Permite scroll en modo expandido */
  padding: 1rem;
}
/* Modo colapsado */
.sidebar-menu.collapsed {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: fixed;
  bottom: 20px;
  left: 15px;
  
  /* Elimina propiedades que no sean necesarias en estado colapsado */
  padding-top: 16px;
  overflow: hidden;
  border-right: none;
}

/* Encabezado del sidebar */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

/* Título del panel (visible solo cuando no está colapsado) */
.sidebar-header h2 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

/* Botón para colapsar/expandir */
.collapse-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* Estilo base para las listas */
.sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Ejemplo de sección (opcional si quieres agrupar por secciones) */
.sidebar-section {
  margin-bottom: 1.5rem;      /* Espacio entre secciones */
}

/* Título de la sección */
.sidebar-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #999;
  margin: 0 1.25rem 0.5rem;   /* Espacio lateral y separación inferior */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Items del menú principal */
.menu-item {
  display: flex;
  align-items: center;
  padding: 4px ;
  padding: 0.6rem 1rem;       /* Ajusta el padding a tu gusto */
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
  border-radius: 4px;         /* Bordes ligeramente redondeados */
  margin: 0.25rem 0.5rem;     /* Espacio vertical y horizontal */
}

/* Hover: color de fondo suave */
.menu-item:hover {
  background-color: #fffaf2;  /* Un lavanda muy claro */
}

/* Ícono del menú */
.menu-icon {
  font-size: 1rem;
  margin-right: 1rem;
}

/* Flechas de despliegue */
.dropdown-icon {
  margin-left: auto;
  font-size: 0.8rem;
}

/* Modo activo (cuando la ruta coincide o el menú está abierto) */
.menu-item.active,
.menu-item.active:hover {
  background-color: #fff5dd;  /* Un tono lavanda/púrpura suave */
  color: #ff7f00;             /* Texto más oscuro sobre el fondo lavanda */
}

/* Submenú */
.submenu {
  margin-left: 1.5rem;        /* Indentación del submenú */
  border-left: 2px solid #eee;
  transition: max-height 0.3s ease;
}

/* Items del submenú */
.submenu li {
  display: flex;
  align-items: center;
  margin: 0.25rem 0;
}

.submenu li a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.submenu li a:hover {
  background-color: #fffbf2;
}

/* Ícono en submenú */
.submenu li .menu-icon {
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

/* Link activo dentro del submenú */
.submenu li a.active,
.submenu li a.active:hover {
  background-color: #e8ddff;
  color: #ff7f00;
}

/* Ocultar textos y títulos en modo colapsado */
.sidebar-menu.collapsed .menu-item span,
.sidebar-menu.collapsed .submenu li a span,
.sidebar-menu.collapsed .sidebar-header h2,
.sidebar-menu.collapsed .sidebar-section-title {
  display: none;
}

/* Ajustar layout de íconos en modo colapsado */
.sidebar-menu.collapsed .menu-item,
.sidebar-menu.collapsed .submenu li a {
  justify-content: center;
  margin: 0.25rem auto; /* Centrar íconos horizontalmente */
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  /* El Sider de Ant Design se oculta en móvil — usamos Drawer en su lugar */
  .sider-bar {
    display: none !important;
  }
}

/* ===== Drawer en móvil ===== */
.ant-drawer-body {
  background: #000000 !important;
  padding: 0 !important;
}
.ant-drawer-wrapper-body {
  background: #000000 !important;
}
.ant-drawer-content {
  background: #000000 !important;
}

/* ===== ESTILOS PERSONALIZADOS PARA EL MENÚ ANTD ===== */

/* Fondo del sidebar - Negro */
.sider-bar,
.sider-bar .ant-layout-sider,
.ant-layout-sider {
  background: #000000 !important;
}

/* Menú base - Fondo negro */
.custom-sidebar-menu,
.custom-sidebar-menu.ant-menu,
.custom-sidebar-menu.ant-menu-dark {
  background: #000000 !important;
  border-right: none !important;
}

/* Items seleccionados - Naranja */
.custom-sidebar-menu .ant-menu-item-selected,
.ant-menu-dark .ant-menu-item-selected,
.ant-menu-dark.ant-menu-inline .ant-menu-item-selected {
  background-color: #ff7f00 !important;
}

/* Hover en items */
.custom-sidebar-menu .ant-menu-item:hover,
.custom-sidebar-menu .ant-menu-submenu-title:hover {
  color: #ff7f00 !important;
}

/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
mark {
  padding: 0.2em;
  background-color: #feffe6;
}
/* ============================================
   ESTILOS RESPONSIVOS PARA SUPERVISIÓN MÓVIL
   Optimizado para trabajadores de campo
   Colores DLG: Negro, Naranja, Gris
   ============================================ */

/* ===== VARIABLES DLG ===== */
:root {
  --dlg-primary: #FF6B00; /* Naranja DLG */
  --dlg-primary-dark: #E55A00;
  --dlg-primary-light: #FF8534;
  --dlg-dark: #1A1A1A; /* Negro DLG */
  --dlg-dark-soft: #2D2D2D;
  --dlg-gray: #6B6B6B; /* Gris DLG */
  --dlg-gray-light: #9A9A9A;
  --dlg-gray-bg: #F5F5F5;
  --dlg-white: #FFFFFF;
  --dlg-success: #34C759;
  --dlg-warning: #FFCC00;
  --dlg-danger: #FF3B30;
  
  --mobile-padding: 12px;
  --mobile-border-radius: 10px;
  --mobile-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --touch-min-height: 44px;
  --safe-area-bottom: env(safe-area-inset-bottom, 16px);
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.supervision-mobile-container {
  padding: var(--mobile-padding);
  padding-bottom: calc(var(--safe-area-bottom) + 80px);
  min-height: 100vh;
  background: var(--dlg-gray-bg);
}

/* ===== HEADER MÓVIL DLG ===== */
.supervision-mobile-header {
  background: linear-gradient(135deg, var(--dlg-dark) 0%, var(--dlg-dark-soft) 100%);
  color: var(--dlg-white);
  padding: 16px;
  border-radius: var(--mobile-border-radius);
  margin-bottom: 12px;
  box-shadow: var(--mobile-card-shadow);
  border-bottom: 3px solid var(--dlg-primary);
}

.supervision-mobile-header h3 {
  color: var(--dlg-white);
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 600;
}

.supervision-mobile-header .order-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  opacity: 0.9;
}

/* ===== DASHBOARD DE PROGRESO DLG ===== */
.dashboard-progress {
  background: var(--dlg-white);
  border-radius: var(--mobile-border-radius);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--mobile-card-shadow);
}

.dashboard-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.dashboard-progress-header h4 {
  margin: 0;
  font-size: 13px;
  color: var(--dlg-dark);
  font-weight: 600;
}

.dashboard-progress-header span {
  font-size: 12px;
  color: var(--dlg-gray);
}

.progress-bar-container {
  height: 12px;
  background: var(--dlg-gray-bg);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--dlg-primary) 0%, var(--dlg-primary-light) 100%);
  border-radius: 6px;
  transition: width 0.5s ease;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.progress-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.progress-stats .stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.progress-stats .stat-dot.completado { background: var(--dlg-success); }
.progress-stats .stat-dot.proceso { background: var(--dlg-primary); }
.progress-stats .stat-dot.pendiente { background: var(--dlg-gray-light); }

/* ===== ESTADÍSTICAS RÁPIDAS ===== */
.stats-grid-mobile {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.stat-card-mobile {
  background: var(--dlg-white);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  box-shadow: var(--mobile-card-shadow);
}

.stat-card-mobile .stat-number {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.stat-card-mobile .stat-label {
  font-size: 9px;
  color: var(--dlg-gray);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-top: 2px;
}

.stat-card-mobile.en-proceso { border-top: 3px solid var(--dlg-primary); }
.stat-card-mobile.en-proceso .stat-number { color: var(--dlg-primary); }
.stat-card-mobile.completados { border-top: 3px solid var(--dlg-success); }
.stat-card-mobile.completados .stat-number { color: var(--dlg-success); }
.stat-card-mobile.total { border-top: 3px solid var(--dlg-dark); }
.stat-card-mobile.total .stat-number { color: var(--dlg-dark); }
.stat-card-mobile.parciales { border-top: 3px solid var(--dlg-gray); }
.stat-card-mobile.parciales .stat-number { color: var(--dlg-gray); }

/* ===== INDICADOR DE BODEGAS ===== */
.bodega-stats-container {
  background: var(--dlg-white);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  box-shadow: var(--mobile-card-shadow);
}

.bodega-stats-header {
  font-size: 11px;
  font-weight: 600;
  color: var(--dlg-dark);
  margin-bottom: 8px;
}

.bodega-stats-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bodega-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--dlg-gray-bg);
  padding: 6px 10px;
  border-radius: 6px;
  min-width: 60px;
}

.bodega-stat-item .bodega-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--dlg-dark);
}

.bodega-stat-item .bodega-count {
  font-size: 12px;
  font-weight: 500;
}

.bodega-stat-item .count-completado {
  color: var(--dlg-success);
  font-weight: 700;
}

.bodega-stat-item .count-separator {
  color: var(--dlg-gray-light);
  margin: 0 1px;
}

.bodega-stat-item .count-total {
  color: var(--dlg-gray);
}

/* ===== SELECT DE JORNADA ===== */
.filters-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.filters-row .mobile-search-input {
  flex: 1;
  margin-bottom: 0;
  min-width: 0;
}

.mobile-select-jornada {
  padding: 10px 12px;
  border: 1px solid var(--dlg-gray-light);
  border-radius: 8px;
  font-size: 13px;
  background: var(--dlg-white);
  color: var(--dlg-dark);
  min-width: 90px;
  min-height: 40px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}

.mobile-select-jornada:focus {
  border-color: var(--dlg-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.1);
}

/* ===== TABS MÓVILES DLG ===== */
.mobile-tabs {
  display: flex;
  background: var(--dlg-white);
  border-radius: var(--mobile-border-radius);
  padding: 4px;
  margin-bottom: 12px;
  box-shadow: var(--mobile-card-shadow);
}

.mobile-tab {
  flex: 1;
  padding: 10px 8px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  color: var(--dlg-gray);
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 40px;
}

.mobile-tab.active {
  background: var(--dlg-dark);
  color: var(--dlg-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-tab .tab-icon {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

/* ===== FILTRO DE JORNADAS ===== */
.jornada-filter {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.jornada-chip {
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--dlg-gray-light);
  background: var(--dlg-white);
  color: var(--dlg-gray);
  transition: all 0.2s ease;
  cursor: pointer;
}

.jornada-chip.active {
  background: var(--dlg-primary);
  border-color: var(--dlg-primary);
  color: var(--dlg-white);
}

.jornada-chip .jornada-count {
  display: inline-block;
  background: rgba(255,255,255,0.3);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 10px;
  margin-left: 4px;
}

/* ===== LISTA DE CARGUÍOS (TARJETAS COMPACTAS DLG) ===== */
.carguio-cards-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.carguio-card-compact {
  background: var(--dlg-white);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--mobile-card-shadow);
  border-left: 4px solid var(--dlg-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s ease;
}

.carguio-card-compact:active {
  transform: scale(0.98);
}

.carguio-card-compact.en-proceso {
  border-left-color: var(--dlg-primary);
}

.carguio-card-compact.completado {
  border-left-color: var(--dlg-success);
}

.carguio-card-compact .card-main {
  flex: 1;
  min-width: 0;
}

.carguio-card-compact .card-placa {
  font-size: 16px;
  font-weight: 700;
  color: var(--dlg-dark);
  letter-spacing: 0.5px;
}

.carguio-card-compact .card-info {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: var(--dlg-gray);
  margin-top: 2px;
}

.carguio-card-compact .card-info span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.carguio-card-compact .card-empresa {
  font-size: 10px;
  color: var(--dlg-gray-light);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carguio-card-compact .card-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.carguio-card-compact .card-status.en-proceso {
  background: rgba(255, 107, 0, 0.1);
  color: var(--dlg-primary);
}

.carguio-card-compact .card-status.completado {
  background: rgba(52, 199, 89, 0.1);
  color: var(--dlg-success);
}

.carguio-card-compact .card-actions {
  display: flex;
  gap: 6px;
}

.carguio-card-compact .btn-action {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.carguio-card-compact .btn-action.btn-finish {
  background: var(--dlg-primary);
  color: var(--dlg-white);
}

.carguio-card-compact .btn-action.btn-detail {
  background: var(--dlg-gray-bg);
  color: var(--dlg-dark);
}

.carguio-card-compact .btn-action:active {
  transform: scale(0.9);
}

/* Modal de detalle */
.detail-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.detail-modal {
  background: var(--dlg-white);
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.detail-modal-handle {
  width: 40px;
  height: 4px;
  background: var(--dlg-gray-light);
  border-radius: 2px;
  margin: 10px auto;
}

.detail-modal-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--dlg-gray-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-modal-header h3 {
  margin: 0;
  font-size: 16px;
  color: var(--dlg-dark);
}

.detail-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--dlg-gray-bg);
  color: var(--dlg-gray);
  font-size: 18px;
  cursor: pointer;
}

.detail-modal-content {
  padding: 16px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--dlg-gray-bg);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 12px;
  color: var(--dlg-gray);
}

.detail-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--dlg-dark);
}

.detail-actions {
  padding: 16px;
  display: flex;
  gap: 10px;
  padding-bottom: calc(var(--safe-area-bottom) + 16px);
}

.detail-btn {
  flex: 1;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.detail-btn.primary {
  background: var(--dlg-primary);
  color: var(--dlg-white);
}

.detail-btn.secondary {
  background: var(--dlg-gray-bg);
  color: var(--dlg-dark);
}

.detail-btn.danger {
  background: rgba(255, 59, 48, 0.1);
  color: var(--dlg-danger);
}

/* Cards legacy (mantener compatibilidad) */
.carguio-card {
  background: var(--dlg-white);
  border-radius: var(--mobile-border-radius);
  padding: 16px;
  box-shadow: var(--mobile-card-shadow);
  border-left: 4px solid var(--dlg-dark);
  transition: transform 0.2s ease;
}

.carguio-card.en-proceso {
  border-left-color: var(--dlg-primary);
}

.carguio-card.completado {
  border-left-color: var(--dlg-success);
}

/* ===== BOTÓN FLOTANTE (FAB) DLG ===== */
.fab-container {
  position: fixed;
  bottom: calc(var(--safe-area-bottom) + 16px);
  right: 16px;
  z-index: 999;
}

.fab-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dlg-primary) 0%, var(--dlg-primary-dark) 100%);
  color: var(--dlg-white);
  border: none;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fab-button:active {
  transform: scale(0.9);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.fab-button.with-badge::after {
  content: attr(data-badge);
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--dlg-danger);
  color: var(--dlg-white);
  font-size: 11px;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== FILTROS MÓVILES DLG ===== */
.mobile-filters {
  background: var(--dlg-white);
  border-radius: var(--mobile-border-radius);
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: var(--mobile-card-shadow);
}

.mobile-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--dlg-gray-light);
  border-radius: 8px;
  font-size: 14px;
  background: var(--dlg-gray-bg);
  margin-bottom: 10px;
  min-height: 40px;
}

.mobile-search-input:focus {
  border-color: var(--dlg-primary);
  background: var(--dlg-white);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.1);
}

.filter-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.filter-chip {
  white-space: nowrap;
  padding: 6px 12px;
  background: var(--dlg-gray-bg);
  border-radius: 16px;
  font-size: 12px;
  color: var(--dlg-gray);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.filter-chip.active {
  background: var(--dlg-dark);
  color: var(--dlg-white);
  border-color: var(--dlg-dark);
}

/* ===== PARCIALES MÓVILES DLG ===== */
.parcial-card {
  background: var(--dlg-white);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: var(--mobile-card-shadow);
  border-left: 4px solid var(--dlg-gray);
}

.parcial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.parcial-number {
  background: rgba(255, 107, 0, 0.1);
  color: var(--dlg-primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.parcial-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.parcial-badge.entregado {
  background: var(--dlg-gray-bg);
  color: var(--dlg-gray);
}

.parcial-card-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.parcial-info-item {
  font-size: 11px;
}

.parcial-info-item span:first-child {
  color: var(--dlg-gray-light);
  display: block;
  font-size: 9px;
  text-transform: uppercase;
}

.parcial-info-item span:last-child {
  color: var(--dlg-dark);
  font-weight: 500;
}

/* ===== EMPTY STATE MÓVIL DLG ===== */
.mobile-empty-state {
  text-align: center;
  padding: 30px 20px;
  background: var(--dlg-white);
  border-radius: var(--mobile-border-radius);
}

.mobile-empty-state .empty-icon {
  font-size: 40px;
  color: var(--dlg-gray-light);
  margin-bottom: 12px;
}

.mobile-empty-state .empty-title {
  font-size: 14px;
  color: var(--dlg-dark);
  margin-bottom: 6px;
}

.mobile-empty-state .empty-description {
  font-size: 12px;
  color: var(--dlg-gray);
}

/* ===== SECCIÓN COLAPSABLE MÓVIL ===== */
.mobile-collapsible {
  background: white;
  border-radius: var(--mobile-border-radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--mobile-card-shadow);
}

.mobile-collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #fafafa;
  cursor: pointer;
  min-height: var(--touch-min-height);
}

.mobile-collapsible-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-collapsible-content {
  padding: 16px;
  border-top: 1px solid #f0f0f0;
}

.mobile-collapsible-arrow {
  transition: transform 0.2s ease;
  color: #999;
}

.mobile-collapsible.open .mobile-collapsible-arrow {
  transform: rotate(180deg);
}

/* ===== MODAL/DRAWER MÓVIL ===== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  z-index: 1002;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.mobile-drawer.visible {
  transform: translateY(0);
}

.mobile-drawer-handle {
  width: 40px;
  height: 4px;
  background: #d9d9d9;
  border-radius: 2px;
  margin: 12px auto;
}

.mobile-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.mobile-drawer-content {
  padding: 20px;
  padding-bottom: calc(var(--safe-area-bottom) + 20px);
}

/* ===== FORMULARIO MÓVIL ===== */
.mobile-form-group {
  margin-bottom: 16px;
}

.mobile-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.mobile-form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  font-size: 15px;
  min-height: var(--touch-min-height);
  transition: all 0.2s ease;
}

.mobile-form-input:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
  outline: none;
}

.mobile-form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  font-size: 15px;
  min-height: var(--touch-min-height);
  background: white;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.mobile-form-button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  min-height: 52px;
  transition: all 0.2s ease;
}

.mobile-form-button.primary {
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  color: white;
}

.mobile-form-button.primary:active {
  transform: scale(0.98);
}

.mobile-form-button.secondary {
  background: #f5f5f5;
  color: #666;
  margin-top: 10px;
}

/* ===== TOAST/MENSAJE MÓVIL ===== */
.mobile-toast {
  position: fixed;
  bottom: calc(var(--safe-area-bottom) + 100px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #333;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2000;
  max-width: calc(100% - 40px);
  text-align: center;
}

.mobile-toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mobile-toast.success {
  background: #52c41a;
}

.mobile-toast.error {
  background: #ff4d4f;
}

/* ===== LOADING MÓVIL ===== */
.mobile-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: white;
  border-radius: var(--mobile-border-radius);
}

.mobile-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top-color: #1890ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.mobile-loading-text {
  margin-top: 16px;
  color: #666;
  font-size: 14px;
}

/* ===== SWIPE ACTION ===== */
.swipe-action-container {
  position: relative;
  overflow: hidden;
}

.swipe-action-backdrop {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}

.swipe-action-btn {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
}

.swipe-action-btn.finish {
  background: #52c41a;
}

.swipe-action-btn.delete {
  background: #ff4d4f;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media screen and (max-width: 576px) {
  /* Ajustes específicos para móviles pequeños */
  .stats-grid-mobile {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .carguio-card-body {
    grid-template-columns: 1fr;
  }
  
  .carguio-card-actions {
    flex-direction: column;
  }
  
  .carguio-action-btn {
    width: 100%;
  }
}

@media screen and (min-width: 577px) and (max-width: 768px) {
  /* Tablets pequeñas */
  .stats-grid-mobile {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .carguio-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== MODO OSCURO (opcional) ===== */
@media (prefers-color-scheme: dark) {
  .supervision-mobile-container {
    background: #1a1a1a;
  }
  
  .carguio-card,
  .stat-card-mobile,
  .mobile-collapsible,
  .parcial-card {
    background: #262626;
  }
  
  .carguio-card-label,
  .stat-card-mobile .stat-label {
    color: #a0a0a0;
  }
  
  .carguio-card-value {
    color: #e0e0e0;
  }
}

/* ===== ANIMACIONES DE ENTRADA ===== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carguio-card {
  animation: slideInUp 0.3s ease forwards;
}

.carguio-card:nth-child(1) { animation-delay: 0.05s; }
.carguio-card:nth-child(2) { animation-delay: 0.1s; }
.carguio-card:nth-child(3) { animation-delay: 0.15s; }
.carguio-card:nth-child(4) { animation-delay: 0.2s; }
.carguio-card:nth-child(5) { animation-delay: 0.25s; }

/* ===== PULL TO REFRESH ===== */
.pull-to-refresh {
  height: 0;
  overflow: hidden;
  text-align: center;
  transition: height 0.3s ease;
}

.pull-to-refresh.active {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pull-to-refresh .refresh-icon {
  transition: transform 0.3s ease;
}

.pull-to-refresh.pulling .refresh-icon {
  transform: rotate(180deg);
}

/* ===== UTILIDADES ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-bold { font-weight: 600; }
.text-muted { color: #999; }
.text-success { color: #52c41a; }
.text-warning { color: #faad14; }
.text-danger { color: #ff4d4f; }
.text-primary { color: #1890ff; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

/* Ocultar en desktop para mostrar versión tabla */
@media screen and (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

/* Ocultar en móvil para mostrar versión tarjetas */
@media screen and (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

/* ===== MÓDULO DE PRECINTOS ===== */
.precintos-mobile-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--dlg-gray-bg);
}

.precintos-header {
  background: var(--dlg-dark);
  color: var(--dlg-white);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.precintos-header .header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}

.precintos-header .header-title .anticon {
  color: var(--dlg-primary);
  font-size: 20px;
}

.precintos-header .refresh-btn {
  color: var(--dlg-primary);
  font-size: 18px;
}

/* Stats de precintos */
.precintos-stats {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--dlg-white);
  border-bottom: 1px solid var(--dlg-gray-light);
}

.precintos-stats .stat-item {
  flex: 1;
  text-align: center;
  padding: 8px;
  background: var(--dlg-gray-bg);
  border-radius: 8px;
}

.precintos-stats .stat-item.completado {
  background: rgba(82, 196, 26, 0.1);
}

.precintos-stats .stat-item .stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--dlg-dark);
}

.precintos-stats .stat-item.completado .stat-value {
  color: var(--dlg-success);
}

.precintos-stats .stat-item .stat-label {
  font-size: 11px;
  color: var(--dlg-gray);
}

/* Búsqueda */
.precintos-search {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--dlg-white);
  border-bottom: 1px solid var(--dlg-gray-light);
}

.precintos-search .search-input {
  flex: 1;
}

.precintos-search .search-btn {
  background: var(--dlg-primary);
  border-color: var(--dlg-primary);
}

/* Tabs de precintos */
.precintos-tabs {
  display: flex;
  padding: 8px 16px;
  background: var(--dlg-white);
  gap: 8px;
}

.precintos-tabs .tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: var(--dlg-gray-bg);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dlg-gray);
  cursor: pointer;
  transition: all 0.2s;
}

.precintos-tabs .tab-btn.active {
  background: var(--dlg-dark);
  color: var(--dlg-white);
}

/* Contenido */
.precintos-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}

.precintos-content .loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

/* Grid de unidades */
.unidades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Card de unidad */
.precinto-unidad-card {
  background: var(--dlg-white);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s;
  border-left: 4px solid var(--dlg-primary);
}

.precinto-unidad-card:active {
  transform: scale(0.98);
}

.precinto-unidad-card.with-precinto {
  opacity: 0.6;
  border-left-color: var(--dlg-success);
  cursor: default;
}

.unidad-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.placa-badge {
  background: var(--dlg-dark);
  color: var(--dlg-white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.precinto-check-icon {
  color: var(--dlg-success);
  font-size: 18px;
}

.unidad-card-body {
  margin-bottom: 8px;
}

.unidad-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 4px;
}

.unidad-info-row .info-label {
  color: var(--dlg-gray);
}

.unidad-info-row .info-value {
  color: var(--dlg-dark);
  font-weight: 500;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unidad-card-action {
  background: rgba(255, 107, 0, 0.1);
  color: var(--dlg-primary);
  padding: 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Lista de precintos registrados */
.precintos-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.precinto-registrado-card {
  background: var(--dlg-white);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--dlg-success);
}

.precinto-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.estado-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: capitalize;
}

.estado-badge.pendiente {
  background: rgba(255, 193, 7, 0.2);
  color: #d48806;
}

.estado-badge.completado {
  background: rgba(82, 196, 26, 0.2);
  color: var(--dlg-success);
}

.estado-badge.verificado {
  background: rgba(24, 144, 255, 0.2);
  color: #1890ff;
}

.precinto-body {
  margin-bottom: 8px;
}

.precinto-numero {
  font-size: 16px;
  font-weight: 700;
  color: var(--dlg-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.precinto-numero .anticon {
  color: var(--dlg-primary);
}

.precinto-info {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--dlg-gray);
}

.precinto-fotos {
  display: flex;
  gap: 8px;
}

.foto-thumb {
  width: 50px;
  height: 50px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--dlg-gray-light);
}

/* Modal de formulario */
.precinto-form-modal .ant-modal-content {
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
}

.precinto-form-modal .ant-modal-body {
  padding: 0;
}

.precinto-form {
  padding: 0;
}

.precinto-form .form-header {
  background: var(--dlg-dark);
  color: var(--dlg-white);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.precinto-form .form-header h3 {
  margin: 0;
  font-size: 16px;
}

.precinto-form .close-btn {
  background: transparent;
  border: none;
  color: var(--dlg-white);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.unidad-info-box {
  background: linear-gradient(135deg, var(--dlg-primary) 0%, #ff8533 100%);
  padding: 20px;
  text-align: center;
}

.unidad-info-box .placa-grande {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--dlg-white);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.unidad-info-box .empresa {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.form-field {
  padding: 16px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dlg-dark);
  margin-bottom: 8px;
}

.form-field .ant-input {
  font-size: 16px;
  padding: 12px;
}

/* Fotos */
.fotos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px;
}

.camera-capture-box {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 2px dashed var(--dlg-gray-light);
}

.camera-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dlg-gray-bg);
  cursor: pointer;
  transition: all 0.2s;
}

.camera-placeholder:active {
  background: var(--dlg-gray-light);
}

.camera-placeholder .camera-icon {
  font-size: 32px;
  color: var(--dlg-gray);
  margin-bottom: 8px;
}

.camera-placeholder .camera-label {
  font-size: 12px;
  color: var(--dlg-gray);
  text-align: center;
}

.foto-preview-container {
  position: relative;
  height: 100%;
}

.foto-preview {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.foto-clear-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.foto-label-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 11px;
  padding: 6px;
  text-align: center;
}

/* Botones del formulario */
.form-actions {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--dlg-gray-light);
  margin-top: 16px;
}

.form-actions .cancel-btn {
  flex: 1;
}

.form-actions .submit-btn {
  flex: 2;
  background: var(--dlg-primary);
  border-color: var(--dlg-primary);
}

/* ===== TABS DE NAVEGACIÓN MÓVIL ===== */
.mobile-nav-tabs {
  display: flex;
  background: var(--dlg-white);
  border-bottom: 1px solid var(--dlg-gray-light);
  padding: 0;
}

.mobile-nav-tabs .nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border: none;
  background: transparent;
  color: var(--dlg-gray);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}

.mobile-nav-tabs .nav-tab .anticon {
  font-size: 20px;
}

.mobile-nav-tabs .nav-tab.active {
  color: var(--dlg-primary);
  border-bottom-color: var(--dlg-primary);
  background: rgba(255, 107, 0, 0.05);
}

.mobile-nav-tabs .nav-tab:active {
  background: rgba(255, 107, 0, 0.1);
}
/* src/private/modules/reportes/ReportesContent.css */

.reportes-content {
  padding: 24px;
  background: #f5f5f5;
  min-height: calc(100vh - 64px);
}

.reportes-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 24px;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.reportes-header h2 {
  color: white !important;
  font-weight: 600;
  font-size: 28px;
}

.reportes-header .ant-typography {
  color: rgba(255, 255, 255, 0.9) !important;
}

.reportes-tabs {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.reportes-tabs-container .ant-tabs-nav {
  margin-bottom: 32px;
}

.reportes-tabs-container .ant-tabs-tab {
  font-weight: 500;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 8px;
  margin-right: 8px;
}

.reportes-tabs-container .ant-tabs-tab-active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.reportes-tabs-container .ant-tabs-tab-active .ant-tabs-tab-btn {
  color: white;
}

.tab-content {
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .reportes-content {
    padding: 16px;
  }
  
  .reportes-header {
    padding: 24px;
  }
  
  .reportes-header h2 {
    font-size: 24px;
  }
  
  .reportes-tabs {
    padding: 16px;
  }
  
  .reportes-tabs-container .ant-tabs-tab {
    font-size: 14px;
    padding: 8px 16px;
  }
}
.monitoreo-operaciones {
  padding: 16px;
  background: #f5f5f5;
  min-height: calc(100vh - 64px);
}

.monitoreo-header {
  margin-bottom: 16px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* KPI Cards */
.kpi-card {
  height: 100%;
  transition: all 0.3s ease;
}

.kpi-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.kpi-card-alerta {
  animation: pulse-alerta 2s ease-in-out infinite;
}

@keyframes pulse-alerta {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 77, 79, 0);
  }
}

/* Tabla */
.row-con-alerta {
  background-color: #fff2f0 !important;
}

.row-con-alerta:hover {
  background-color: #ffebe8 !important;
}

/* Animación para tiempos en tiempo real */
.tiempo-actual {
  animation: blink-tiempo 1.5s ease-in-out infinite;
}

@keyframes blink-tiempo {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Badge de estado */
.estado-badge {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 11px;
}

/* Cards responsivos */
@media (max-width: 768px) {
  .monitoreo-operaciones {
    padding: 8px;
  }
  
  .monitoreo-header {
    padding: 12px;
  }
  
  .kpi-card .ant-statistic-title {
    font-size: 12px;
  }
  
  .kpi-card .ant-statistic-content-value {
    font-size: 20px !important;
  }
}

/* Alertas banner */
.ant-alert-banner {
  border-radius: 0;
}

/* Tablas con scroll horizontal */
.ant-table-wrapper {
  overflow-x: auto;
}

/* Tooltip mejorado */
.tiempo-tooltip {
  font-size: 12px;
}

/* Progress bars en cards */
.ant-card .ant-progress {
  margin-top: 8px;
}

/* Segmented button */
.ant-segmented {
  background-color: #f5f5f5;
}

/* Select con borde azul cuando está activo */
.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

/* Animación de carga para el refresh */
.ant-spin-spinning {
  animation: spin-refresh 1s linear infinite;
}

@keyframes spin-refresh {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Divider con icono */
.ant-divider-inner-text {
  padding: 0 16px;
}

/* Estilo para filas expandidas */
.ant-table-expanded-row {
  background-color: #fafafa;
}

/* Badge de jornada */
.ant-badge-count {
  font-weight: bold;
}

/* Card de estadísticas */
.ant-statistic-title {
  margin-bottom: 4px;
  font-size: 13px;
}

/* Tags de estado */
.ant-tag {
  border-radius: 4px;
}

/* Scrollbar personalizado */
.monitoreo-operaciones ::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.monitoreo-operaciones ::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.monitoreo-operaciones ::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.monitoreo-operaciones ::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Indicador de última actualización */
.ultima-actualizacion {
  color: #8c8c8c;
  font-size: 11px;
}

/* Botón de refresh cuando está refrescando */
.btn-refreshing .anticon {
  animation: spin-refresh 1s linear infinite;
}

/* Empty state */
.ant-empty-description {
  color: #8c8c8c;
}
/* Estilos para módulo de Precintos */
.precintos-orden-list {
  padding: 16px;
  background: #f5f5f5;
  min-height: 100vh;
}

.stats-header-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: none;
  border-radius: 12px;
}

.stats-header-card .ant-card-body {
  padding: 16px;
}

.stat-card {
  border-radius: 8px;
  text-align: center;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card .ant-statistic-title {
  color: #666;
  font-size: 13px;
}

.stat-card .ant-statistic-content {
  font-size: 24px !important;
}

.stat-card.success {
  background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
  border-left: 3px solid #52c41a;
}

.stat-card.warning {
  background: linear-gradient(135deg, #fff7e6 0%, #ffd591 100%);
  border-left: 3px solid #faad14;
}

/* Tabla responsiva */
.precintos-orden-list .ant-table-thead > tr > th {
  background: #fafafa;
  font-weight: 600;
}

.precintos-orden-list .ant-table-tbody > tr:hover > td {
  background: #fff7e6 !important;
}

/* Animaciones */
.stat-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Badge de pendientes */
.ant-badge-count {
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
}

/* ===== MOBILE STYLES - Vista de Cards ===== */
.precintos-orden-list.mobile {
  padding: 0;
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: calc(env(safe-area-inset-bottom, 0) + 70px);
  background: #f0f0f0;
}

/* Header móvil */
.mobile-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  padding: 16px;
  padding-top: calc(env(safe-area-inset-top, 16px) + 8px);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.mobile-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mobile-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.mobile-header h2 .anticon {
  color: #FF6B00;
}

.refresh-btn {
  color: white !important;
  font-size: 18px;
}

.refresh-btn:active {
  opacity: 0.7;
}

/* Stats row móvil */
.mobile-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
}

.mobile-stat {
  text-align: center;
}

.mobile-stat .stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #52c41a;
}

.mobile-stat.warning .stat-number {
  color: #ff4d4f;
}

.mobile-stat .stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* Barra de búsqueda móvil */
.mobile-search-bar {
  padding: 12px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mobile-search-bar .ant-input-affix-wrapper {
  border-radius: 12px;
  height: 48px;
  font-size: 16px;
}

/* Lista de órdenes móvil */
.ordenes-list-mobile {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Card de orden móvil */
.orden-mobile-card {
  background: white;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s ease;
  cursor: pointer;
}

.orden-mobile-card:active {
  transform: scale(0.98);
}

.orden-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.orden-code {
  font-size: 18px;
  font-weight: 700;
  color: #FF6B00;
}

.orden-status-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}

.orden-card-body {
  margin-bottom: 12px;
}

.orden-info-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
}

.orden-label {
  color: #999;
}

.orden-value {
  color: #333;
  font-weight: 500;
  text-align: right;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.orden-card-progress {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.progress-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin-top: 6px;
}

.progress-stats .precintados {
  color: #52c41a;
  font-weight: 700;
}

.progress-stats .separator {
  color: #999;
}

.progress-stats .total {
  color: #666;
}

.progress-stats .pendientes-badge {
  background: #ff4d4f;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
}

.orden-card-action {
  background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.orden-card-action .anticon {
  font-size: 16px;
}

/* Estados de carga y vacío */
.loading-state,
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 15px;
}

/* ===== DESKTOP MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .precintos-orden-list:not(.mobile) {
    padding: 8px;
  }

  .stats-header-card .ant-row {
    margin: 0 !important;
  }

  .stats-header-card .ant-col {
    padding: 4px !important;
  }

  .stat-card {
    margin-bottom: 8px;
  }

  .stat-card .ant-statistic-content {
    font-size: 18px !important;
  }

  .precintos-orden-list h2 {
    font-size: 16px;
    margin-bottom: 12px !important;
  }

  .precintos-orden-list .ant-table {
    font-size: 12px;
  }

  .precintos-orden-list .ant-table-thead > tr > th,
  .precintos-orden-list .ant-table-tbody > tr > td {
    padding: 8px 4px;
  }

  /* Ocultar algunas columnas en móvil */
  .precintos-orden-list .ant-table-thead > tr > th:nth-child(4),
  .precintos-orden-list .ant-table-tbody > tr > td:nth-child(4) {
    display: none;
  }
}

/* ===== EXTRA SMALL SCREENS ===== */
@media (max-width: 374px) {
  .mobile-header {
    padding: 12px;
  }

  .mobile-header h2 {
    font-size: 18px;
  }

  .mobile-stat .stat-number {
    font-size: 20px;
  }

  .orden-code {
    font-size: 16px;
  }

  .orden-card-action {
    padding: 12px;
    font-size: 13px;
  }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .ordenes-list-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== TOUCH DEVICE ENHANCEMENTS ===== */
@media (hover: none) and (pointer: coarse) {
  .orden-mobile-card:hover {
    transform: none;
  }

  .stat-card:hover {
    transform: none;
  }
}
/* PrecintosDetalle.css - Estilos para página standalone de precintos */

.precintos-detalle-page {
  padding: 16px;
  background: #f5f5f5;
  min-height: 100vh;
}

.precintos-breadcrumb {
  margin-bottom: 16px;
}

/* Header de orden */
.order-header-card {
  margin-bottom: 16px;
  border-radius: 12px;
  border-left: 4px solid #FF6B00;
}

.order-info {
  display: flex;
  align-items: flex-start;
}

.order-info h2 {
  font-size: 20px;
  font-weight: 600;
}

.stat-mini {
  text-align: center;
  padding: 8px;
  background: #fafafa;
  border-radius: 8px;
}

.stat-mini .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.stat-mini .stat-label {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
}

.stat-mini.success {
  background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
}

.stat-mini.success .stat-value {
  color: #52c41a;
}

/* Search actions */
.search-actions-card {
  margin-bottom: 16px;
  border-radius: 12px;
}

.search-actions-card .ant-select-selector {
  border-radius: 6px !important;
}

.search-actions-card .ant-select-selection-placeholder {
  color: #999;
}

/* Tabs container con botón agregar */
.precintos-tabs-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tabs-left {
  display: flex;
  gap: 8px;
  flex: 1;
}

.tab-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  background: #f5f5f5;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: all 0.2s ease;
}

.tab-button:hover {
  background: #e8e8e8;
}

.tab-button.active {
  background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

/* Botón agregar placa */
.btn-add-placa {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-add-placa:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.35);
}

.btn-add-placa:active {
  transform: scale(0.97);
}

/* Content area */
.precintos-content-area {
  min-height: 400px;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

/* Grid de unidades */
.unidades-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Card de unidad - Versión compacta */
.precinto-unidad-card {
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  border: 2px solid transparent;
  overflow: hidden;
  min-width: 0;
}

.precinto-unidad-card.compact {
  cursor: default;
}

.precinto-unidad-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.precinto-unidad-card.with-precinto {
  opacity: 0.7;
  background: #f9f9f9;
}

/* Row principal de la card compacta */
.unidad-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.unidad-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-registrar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-registrar:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}

.btn-registrar:active {
  transform: scale(0.97);
}

.btn-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  color: #666;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-expand:hover {
  background: #e8e8e8;
  color: #333;
}

.btn-expand:active {
  transform: scale(0.95);
}

/* Detalles expandibles */
.unidad-card-details,
.precinto-card-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4px 0;
  font-size: 13px;
  gap: 12px;
}

.detail-label {
  color: #999;
  flex-shrink: 0;
}

.detail-value {
  color: #333;
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}

/* Card header legacy (para compatibilidad) */
.unidad-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.placa-badge {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
}

.placa-badge.small {
  padding: 4px 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.precinto-check-icon {
  color: #52c41a;
  font-size: 20px;
}

.unidad-card-body {
  margin-bottom: 12px;
  overflow: hidden;
}

.unidad-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4px 0;
  font-size: 13px;
  gap: 8px;
  min-width: 0;
}

.info-label {
  color: #999;
  flex-shrink: 0;
  white-space: nowrap;
}

.info-value {
  color: #333;
  font-weight: 500;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 60%;
}

.unidad-card-action {
  background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Lista de precintos registrados */
.precintos-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* Lista de precintos registrados */
.precintos-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.precinto-registrado-card {
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #52c41a;
  overflow: hidden;
  min-width: 0;
}

.precinto-registrado-card.compact {
  cursor: default;
}

/* Row principal de precinto compacto */
.precinto-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.precinto-main-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.precinto-numero-inline {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #FF6B00;
  white-space: nowrap;
}

.precinto-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-ver-fotos {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f0f0f0;
  color: #666;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-ver-fotos:hover {
  background: #e0e0e0;
  color: #333;
}

.btn-ver-fotos:active {
  transform: scale(0.97);
}

/* Fotos en detalle expandido */
.precinto-fotos-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.precinto-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.estado-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.estado-badge.registrado {
  background: #d9f7be;
  color: #389e0d;
}

.estado-badge.verificado {
  background: #bae7ff;
  color: #0050b3;
}

.precinto-body {
  margin-bottom: 12px;
}

.precinto-numero {
  font-size: 18px;
  font-weight: 700;
  color: #FF6B00;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.precinto-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #666;
  font-size: 13px;
}

.precinto-info span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.precinto-fotos {
  display: flex;
  gap: 8px;
}

.foto-thumb {
  width: 60px;
  height: 60px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  border: 2px solid #eee;
}

/* Modal de formulario */
.precinto-form-modal .ant-modal-content {
  border-radius: 16px;
  overflow: hidden;
}

.precinto-form-modal .ant-modal-body {
  padding: 0;
}

.precinto-form {
  padding: 20px;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.form-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.close-btn {
  background: #f5f5f5;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unidad-info-box {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  color: white;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 20px;
}

.placa-grande {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
}

.empresa {
  display: block;
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

/* Fotos grid */
.fotos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.camera-capture-box {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  border: 2px dashed #ddd;
  background: #fafafa;
}

.camera-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.camera-placeholder:hover {
  background: #f0f0f0;
  border-color: #FF6B00;
}

.camera-icon {
  font-size: 32px;
  color: #999;
  margin-bottom: 8px;
}

.camera-label {
  font-size: 12px;
  color: #666;
}

.foto-preview-container {
  position: relative;
  height: 100%;
}

.foto-preview {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.foto-clear-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foto-label-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}

/* Form actions */
.form-actions {
  display: flex;
  gap: 12px;
}

.cancel-btn {
  flex: 1;
}

.submit-btn {
  flex: 2;
}

/* ===== FAB (Floating Action Button) ===== */
.mobile-fab {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 16px) + 24px);
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 1000;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-fab:active {
  transform: scale(0.9);
  box-shadow: 0 2px 12px rgba(255, 107, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.mobile-fab .anticon {
  font-size: 26px;
}

/* ===== MODAL DE BÚSQUEDA RÁPIDA MÓVIL ===== */
.mobile-search-modal .ant-modal-content {
  border-radius: 20px;
  overflow: hidden;
}

.mobile-search-modal .ant-modal-body {
  padding: 0;
}

.mobile-search-content {
  padding: 0;
}

.mobile-search-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
  color: white;
  position: relative;
}

.mobile-search-header .search-header-icon {
  font-size: 28px;
  margin-right: 12px;
}

.mobile-search-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.mobile-search-header .close-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.mobile-search-header .close-btn:active {
  background: rgba(255, 255, 255, 0.3);
}

.mobile-search-body {
  padding: 24px 20px;
}

.mobile-search-input {
  margin-bottom: 16px;
}

.mobile-search-input .ant-input {
  height: 56px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
  border-radius: 14px;
  border: 2px solid #e0e0e0;
}

.mobile-search-input .ant-input:focus {
  border-color: #FF6B00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.mobile-search-btn {
  height: 54px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
}

.mobile-search-btn:active {
  transform: scale(0.98);
}

/* ===== MOBILE RESPONSIVE - Optimizado para trabajadores de campo ===== */
@media (max-width: 768px) {
  /* Safe area para dispositivos con notch */
  .precintos-detalle-page {
    padding: 8px;
    padding-top: env(safe-area-inset-top, 8px);
    padding-bottom: calc(env(safe-area-inset-bottom, 8px) + 80px);
    background: #f0f0f0;
  }

  /* Ocultar breadcrumb en móvil para más espacio */
  .precintos-breadcrumb {
    display: none;
  }

  /* ===== HEADER CARD MOBILE ===== */
  .order-header-card {
    margin-bottom: 12px;
    border-radius: 16px;
    padding: 12px !important;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .order-header-card .ant-card-body {
    padding: 0 !important;
  }

  .order-info {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .order-info > button {
    margin-right: 0 !important;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
  }

  .order-info > div {
    flex: 1;
    min-width: 0;
  }

  .order-info h2 {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .order-info > div > div {
    font-size: 11px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Stats compactos en mobile */
  .stat-mini {
    padding: 6px 4px;
    border-radius: 10px;
  }

  .stat-mini .stat-value {
    font-size: 20px;
  }

  .stat-mini .stat-label {
    font-size: 9px;
    letter-spacing: 0;
  }

  /* Progress circle más pequeño */
  .order-header-card .ant-progress-circle {
    width: 44px !important;
    height: 44px !important;
  }

  /* ===== BÚSQUEDA Y FILTROS MOBILE ===== */
  .search-actions-card {
    margin-bottom: 12px;
    border-radius: 16px;
    padding: 12px !important;
  }

  .search-actions-card .ant-card-body {
    padding: 0 !important;
  }

  .search-actions-card .ant-input-affix-wrapper {
    height: 48px;
    border-radius: 12px;
    font-size: 16px;
  }

  .search-actions-card .ant-select {
    height: 44px !important;
  }

  .search-actions-card .ant-select-selector {
    height: 44px !important;
    border-radius: 10px !important;
    padding-top: 6px !important;
  }

  .search-actions-card .ant-btn {
    height: 44px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
  }

  /* ===== TABS MOBILE ===== */
  .precintos-tabs-container {
    position: sticky;
    top: 0;
    z-index: 90;
    margin: 0 -8px 12px -8px;
    padding: 8px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .tab-button {
    padding: 14px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .tab-button:active {
    transform: scale(0.97);
    opacity: 0.9;
  }

  .tab-button .anticon {
    font-size: 18px;
  }

  /* ===== CARDS DE UNIDADES MOBILE ===== */
  .unidades-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .precinto-unidad-card {
    padding: 14px;
    border-radius: 16px;
    border-width: 3px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .precinto-unidad-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  }

  .precinto-unidad-card:hover {
    transform: none;
    border-color: transparent;
  }

  .unidad-card-header {
    margin-bottom: 10px;
  }

  .placa-badge {
    font-size: 18px;
    padding: 8px 16px;
    border-radius: 10px;
    letter-spacing: 2px;
  }

  .precinto-check-icon {
    font-size: 24px;
  }

  .unidad-info-row {
    font-size: 14px;
    padding: 6px 0;
    flex-wrap: wrap;
  }

  .info-value {
    max-width: 65%;
    word-break: break-word;
    white-space: normal;
    line-height: 1.3;
  }

  .unidad-card-action {
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    gap: 10px;
    margin-top: 4px;
  }

  .unidad-card-action .anticon {
    font-size: 18px;
  }

  /* ===== LISTA DE PRECINTOS REGISTRADOS MOBILE ===== */
  .precintos-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .precinto-registrado-card {
    padding: 14px;
    border-radius: 16px;
    border-left-width: 5px;
  }

  .precinto-numero {
    font-size: 20px;
  }

  .precinto-info {
    font-size: 14px;
    flex-wrap: wrap;
  }

  .precinto-info span {
    white-space: normal;
    word-break: break-word;
  }

  .foto-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
  }

  /* ===== MODAL FULLSCREEN EN MOBILE ===== */
  .precinto-form-modal {
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
  }

  .precinto-form-modal .ant-modal-content {
    border-radius: 0 !important;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .precinto-form-modal .ant-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
  }

  .precinto-form {
    padding: 16px;
    padding-top: calc(env(safe-area-inset-top, 16px) + 8px);
    padding-bottom: calc(env(safe-area-inset-bottom, 16px) + 8px);
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .form-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
  }

  .form-header h3 {
    font-size: 20px;
    color: #FF6B00;
  }

  .close-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
    background: #f0f0f0;
  }

  .close-btn:active {
    background: #e0e0e0;
    transform: scale(0.95);
  }

  .unidad-info-box {
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .placa-grande {
    font-size: 32px;
    letter-spacing: 3px;
  }

  .empresa {
    font-size: 14px;
    margin-top: 6px;
  }

  .form-field {
    margin-bottom: 16px;
  }

  .form-field label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .form-field .ant-input {
    height: 52px;
    font-size: 18px;
    border-radius: 12px;
    padding: 12px 16px;
  }

  /* ===== FOTOS MOBILE ===== */
  .fotos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
    flex: 1;
  }

  .camera-capture-box {
    aspect-ratio: 16/10;
    border-radius: 16px;
    border-width: 3px;
    min-height: 140px;
  }

  .camera-placeholder {
    padding: 20px;
  }

  .camera-placeholder:active {
    background: #e8e8e8;
  }

  .camera-icon {
    font-size: 40px;
    color: #FF6B00;
  }

  .camera-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-top: 4px;
  }

  .foto-preview-container {
    border-radius: 14px;
    overflow: hidden;
  }

  .foto-clear-btn {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
    font-size: 16px;
  }

  .foto-clear-btn:active {
    transform: scale(0.9);
    background: rgba(0, 0, 0, 0.8);
  }

  .foto-label-overlay {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
  }

  /* ===== BOTONES DE ACCIÓN MOBILE ===== */
  .form-actions {
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eee;
  }

  .form-actions .ant-btn {
    height: 54px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
  }

  .cancel-btn {
    flex: 1;
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #666;
  }

  .cancel-btn:active {
    background: #e8e8e8;
    transform: scale(0.98);
  }

  .submit-btn {
    flex: 2;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
  }

  .submit-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
  }

  /* ===== LOADING MOBILE ===== */
  .loading-container {
    min-height: 200px;
  }

  /* ===== FILTROS ACTIVOS MOBILE ===== */
  .search-actions-card > div[style*="marginTop"] {
    gap: 6px !important;
    padding: 8px 0;
  }

  .search-actions-card span[style*="background: #FF6B00"],
  .search-actions-card span[style*="background: #1890ff"] {
    padding: 4px 12px !important;
    font-size: 13px !important;
    border-radius: 16px !important;
  }

  /* ===== EMPTY STATE MOBILE ===== */
  .precintos-content-area .ant-card {
    border-radius: 16px;
  }

  .precintos-content-area .ant-empty {
    padding: 32px 16px;
  }

  .precintos-content-area .ant-empty-description {
    font-size: 14px;
    color: #666;
  }
}

/* ===== EXTRA SMALL SCREENS (< 375px) ===== */
@media (max-width: 374px) {
  .precintos-detalle-page {
    padding: 6px;
  }

  .order-info h2 {
    font-size: 13px;
  }

  .stat-mini .stat-value {
    font-size: 16px;
  }

  .stat-mini .stat-label {
    font-size: 8px;
  }

  .tab-button {
    padding: 12px 8px;
    font-size: 12px;
    gap: 4px;
  }

  .placa-badge {
    font-size: 16px;
    padding: 6px 12px;
  }

  .placa-grande {
    font-size: 26px;
  }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .precintos-detalle-page {
    padding-bottom: env(safe-area-inset-bottom, 8px);
  }

  .precinto-form-modal .ant-modal-content {
    min-height: auto;
  }

  .precinto-form {
    padding: 12px;
  }

  .fotos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .camera-capture-box {
    aspect-ratio: 4/3;
    min-height: 100px;
  }

  .unidades-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .precintos-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== TOUCH DEVICE ENHANCEMENTS ===== */
@media (hover: none) and (pointer: coarse) {
  .precinto-unidad-card:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-color: transparent;
  }

  .camera-placeholder:hover {
    background: #fafafa;
  }

  /* Disable hover effects, rely on :active */
  .tab-button:hover {
    background: #f5f5f5;
  }

  .tab-button.active:hover {
    background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
  }
}

/* ===== MODAL AGREGAR PLACA MANUAL ===== */
.add-manual-modal .ant-modal-content {
  border-radius: 20px;
  overflow: hidden;
}

.add-manual-modal .ant-modal-body {
  padding: 0;
}

.add-manual-content {
  padding: 0;
}

.add-manual-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
  color: white;
  position: relative;
}

.add-manual-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-manual-header .close-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.add-manual-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.add-manual-body {
  padding: 24px 20px;
}

.add-manual-hint {
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #52c41a;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.add-manual-hint .anticon {
  font-size: 16px;
  margin-top: 2px;
}

.add-manual-field {
  margin-bottom: 16px;
}

.add-manual-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.add-manual-field .ant-input {
  height: 50px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 12px;
  text-align: center;
}

.add-manual-field .ant-select {
  width: 100%;
}

.add-manual-field .ant-select-selector {
  height: 50px !important;
  border-radius: 12px !important;
  padding-top: 9px !important;
}

.add-manual-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.add-manual-actions .ant-btn {
  height: 50px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
}

.add-manual-actions .cancel-btn {
  flex: 1;
  background: #f5f5f5;
  border-color: #e0e0e0;
  color: #666;
}

.add-manual-actions .submit-btn {
  flex: 2;
  background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
  border: none;
  color: white;
  box-shadow: 0 4px 16px rgba(82, 196, 26, 0.35);
}

.add-manual-actions .submit-btn:hover {
  background: linear-gradient(135deg, #73d13d 0%, #95de64 100%);
}

/* ===== MODAL VER FOTOS ===== */
.fotos-modal .ant-modal-content {
  border-radius: 20px;
  overflow: hidden;
}

.fotos-modal .ant-modal-body {
  padding: 0;
}

.fotos-modal-content {
  padding: 0;
}

.fotos-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
  color: white;
  position: relative;
}

.fotos-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.fotos-modal-header .close-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.fotos-modal-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.fotos-modal-body {
  padding: 20px;
}

.fotos-modal-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 10px;
}

.fotos-modal-info .placa-badge {
  font-size: 14px;
  padding: 6px 12px;
}

.fotos-modal-info .precinto-numero {
  font-size: 15px;
  font-weight: 600;
  color: #FF6B00;
  margin: 0;
}

.fotos-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.foto-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f0f0f0;
}

.foto-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.foto-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.fotos-empty {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.fotos-empty .anticon {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 12px;
}

.fotos-empty p {
  margin: 0;
  font-size: 14px;
}

/* ===== MOBILE RESPONSIVE PARA NUEVOS MODALES ===== */
@media (max-width: 768px) {
  .add-manual-modal,
  .fotos-modal {
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
  }

  .add-manual-modal .ant-modal-content,
  .fotos-modal .ant-modal-content {
    border-radius: 0 !important;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .add-manual-header,
  .fotos-modal-header {
    padding: 20px;
    padding-top: calc(env(safe-area-inset-top, 20px) + 8px);
  }

  .add-manual-body,
  .fotos-modal-body {
    padding: 20px;
    padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 8px);
  }

  .add-manual-field .ant-input {
    height: 56px;
    font-size: 22px;
  }

  .add-manual-field .ant-select-selector {
    height: 56px !important;
    padding-top: 12px !important;
  }

  .add-manual-actions .ant-btn {
    height: 56px;
    font-size: 16px;
  }

  .fotos-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .foto-item {
    border-radius: 16px;
    aspect-ratio: 16/10;
  }

  .foto-item-label {
    padding: 12px;
    font-size: 14px;
  }

  /* Botón agregar placa en tabs mobile */
  .precintos-tabs-container {
    flex-wrap: wrap;
    gap: 8px;
  }

  .tabs-left {
    flex: 1;
    min-width: 0;
  }

  .btn-add-placa {
    width: 100%;
    margin-top: 8px;
    padding: 12px 16px;
    font-size: 14px;
  }
}
/* src/private/modules/seguimiento-almacen/SeguimientoAlmacen.css */

/* ===== Variables de colores ===== */
:root {
  --sa-primary: #FF6B00;
  --sa-primary-dark: #e65a00;
  --sa-en-camino: #1890ff;
  --sa-en-almacen: #faad14;
  --sa-completado: #52c41a;
  --sa-alerta: #ff4d4f;
  --sa-card-bg: #ffffff;
  --sa-card-border: #f0f0f0;
  --sa-text-primary: #1f1f1f;
  --sa-text-secondary: #666666;
}

/* ===== Página principal ===== */
.seguimiento-almacen-page {
  padding: 16px;
  min-height: 100vh;
  background: #f5f5f5;
}

.page-breadcrumb {
  margin-bottom: 16px;
}

.page-title {
  margin: 0;
  font-size: 24px;
  color: var(--sa-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-subtitle {
  margin: 4px 0 0;
  color: var(--sa-text-secondary);
  font-size: 14px;
}

/* ===== Cards de estadísticas ===== */
.stats-header-card {
  margin-bottom: 16px;
  border-radius: 12px;
}

.stat-mini {
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  background: #f9f9f9;
}

.stat-mini .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--sa-text-primary);
}

.stat-mini .stat-label {
  font-size: 11px;
  color: var(--sa-text-secondary);
  text-transform: uppercase;
}

.stat-mini.en-camino {
  background: rgba(24, 144, 255, 0.1);
}
.stat-mini.en-camino .stat-value {
  color: var(--sa-en-camino);
}

.stat-mini.en-almacen {
  background: rgba(250, 173, 20, 0.1);
}
.stat-mini.en-almacen .stat-value {
  color: var(--sa-en-almacen);
}

.stat-mini.completado {
  background: rgba(82, 196, 26, 0.1);
}
.stat-mini.completado .stat-value {
  color: var(--sa-completado);
}

.stat-mini.con-alerta {
  background: rgba(255, 77, 79, 0.1);
}
.stat-mini.con-alerta .stat-value {
  color: var(--sa-alerta);
}

.stat-mini.tiempo {
  background: rgba(255, 107, 0, 0.08);
}

/* ===== Barra de búsqueda ===== */
.search-bar-card {
  margin-bottom: 16px;
  border-radius: 12px;
}

.btn-buscar {
  background: var(--sa-primary) !important;
  border-color: var(--sa-primary) !important;
}

.btn-buscar:hover {
  background: var(--sa-primary-dark) !important;
  border-color: var(--sa-primary-dark) !important;
}

/* ===== Tabs ===== */
.seguimiento-tabs-container {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.seguimiento-tabs-container .tab-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  background: white;
  border-radius: 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--sa-text-secondary);
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.seguimiento-tabs-container .tab-button:hover {
  background: #f9f9f9;
}

.seguimiento-tabs-container .tab-button.active {
  background: var(--sa-primary);
  color: white;
}

.seguimiento-tabs-container .tab-button .tab-badge {
  margin-left: 4px;
}

.seguimiento-tabs-container .tab-button.active .tab-badge .ant-badge-count {
  background: white;
  color: var(--sa-primary);
}

/* ===== Grid de cards ===== */
.seguimiento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  align-items: start;
}

/* ===== Cards de seguimiento ===== */
.seguimiento-card {
  background: var(--sa-card-bg);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.seguimiento-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.seguimiento-card.en-camino {
  border-left-color: var(--sa-en-camino);
}

.seguimiento-card.en-almacen {
  border-left-color: var(--sa-en-almacen);
}

.seguimiento-card.completado {
  border-left-color: var(--sa-completado);
}

.seguimiento-card.con-alerta,
.seguimiento-card.alerta-tiempo {
  border-left-color: var(--sa-alerta);
  background: rgba(255, 77, 79, 0.02);
}

.seguimiento-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.seguimiento-card .placa-turno,
.seguimiento-card .placa-estado {
  display: flex;
  align-items: center;
  gap: 8px;
}

.seguimiento-card .placa-badge {
  background: var(--sa-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.seguimiento-card .placa-badge.small {
  padding: 4px 10px;
  font-size: 13px;
}

.seguimiento-card .turno-badge {
  font-size: 18px;
}

.seguimiento-card .alerta-icon {
  color: var(--sa-alerta);
  font-size: 18px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.seguimiento-card .card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.seguimiento-card .btn-registrar-llegada,
.seguimiento-card .btn-registrar-salida {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.seguimiento-card .btn-registrar-llegada {
  background: var(--sa-en-almacen);
  color: #000;
}

.seguimiento-card .btn-registrar-llegada:hover {
  background: #d99a00;
}

.seguimiento-card .btn-registrar-salida {
  background: var(--sa-completado);
  color: white;
}

.seguimiento-card .btn-registrar-salida:hover {
  background: #3fb216;
}

.seguimiento-card .btn-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  color: var(--sa-text-secondary);
  transition: all 0.2s ease;
}

.seguimiento-card .btn-expand:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.seguimiento-card .check-icon {
  font-size: 24px;
}

/* Fila de tiempo */
.seguimiento-card .card-tiempo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(24, 144, 255, 0.06);
  border-radius: 8px;
  font-size: 14px;
  color: var(--sa-text-primary);
}

.seguimiento-card .card-tiempo-row .tiempo.excedido {
  color: var(--sa-alerta);
  font-weight: 600;
}

.seguimiento-card .card-tiempo-row .warning-icon {
  color: var(--sa-alerta);
  font-size: 16px;
}

/* Fila de info */
.seguimiento-card .card-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--sa-text-secondary);
}

.seguimiento-card .info-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.seguimiento-card .info-item.alerta {
  color: var(--sa-alerta);
  font-weight: 600;
}

/* Detalles expandibles */
.seguimiento-card .card-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--sa-card-border);
}

.seguimiento-card .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
}

.seguimiento-card .detail-label {
  color: var(--sa-text-secondary);
}

.seguimiento-card .detail-value {
  color: var(--sa-text-primary);
  font-weight: 500;
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seguimiento-card .pesos-comparacion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 12px 0;
}

.seguimiento-card .peso-col {
  text-align: center;
}

.seguimiento-card .peso-col label {
  display: block;
  font-size: 11px;
  color: var(--sa-text-secondary);
  margin-bottom: 4px;
}

.seguimiento-card .peso-col span {
  font-size: 16px;
  font-weight: 700;
  color: var(--sa-text-primary);
}

.seguimiento-card .alerta-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 77, 79, 0.08);
  border-radius: 8px;
  color: var(--sa-alerta);
  font-size: 12px;
  margin-top: 12px;
}

/* ===== Loading ===== */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

/* ===== Modales ===== */
.llegada-modal .ant-modal-content,
.salida-modal .ant-modal-content,
.mobile-search-modal .ant-modal-content {
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
}

.llegada-modal .ant-modal-body,
.salida-modal .ant-modal-body,
.mobile-search-modal .ant-modal-body {
  padding: 0;
}

.llegada-modal-content,
.salida-modal-content,
.mobile-search-content {
  padding: 0;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(135deg, var(--sa-primary), var(--sa-primary-dark));
  color: white;
}

.modal-header h3 {
  margin: 0;
  flex: 1;
  font-size: 18px;
}

.modal-header .header-icon {
  font-size: 24px;
}

.modal-header .close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-header .close-btn:hover {
  background: rgba(255,255,255,0.3);
}

/* Modal de llegada */
.llegada-info {
  padding: 24px;
  text-align: center;
}

.llegada-info .placa-grande {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--sa-primary);
  margin-bottom: 4px;
}

.llegada-info .empresa {
  font-size: 14px;
  color: var(--sa-text-secondary);
  margin-bottom: 20px;
}

.llegada-info .tiempo-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  padding: 16px;
  background: rgba(24, 144, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 12px;
}

.llegada-info .tiempo-esperado {
  font-size: 13px;
  color: var(--sa-text-secondary);
}

/* Modal de salida */
.salida-modal-content {
  max-height: 85vh;
  overflow-y: auto;
}

.unidad-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #f9f9f9;
}

.unidad-info-box .placa-grande {
  font-size: 28px;
  font-weight: 800;
  color: var(--sa-primary);
}

.unidad-info-box .empresa {
  font-size: 14px;
  color: var(--sa-text-secondary);
}

.peso-referencia {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(24, 144, 255, 0.08);
  margin: 0 20px;
  border-radius: 8px;
}

.peso-referencia label {
  font-size: 13px;
  color: var(--sa-text-secondary);
}

.peso-referencia .peso-valor {
  font-size: 18px;
  font-weight: 700;
  color: var(--sa-en-camino);
}

.salida-modal-content .form-field {
  padding: 0 20px;
  margin-top: 16px;
}

.salida-modal-content .form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--sa-text-secondary);
  margin-bottom: 6px;
}

.pesos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 20px;
  margin-top: 16px;
}

.pesos-grid .form-field {
  padding: 0;
  margin-top: 0;
}

.peso-diferencia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  margin: 16px 20px 0;
  background: rgba(82, 196, 26, 0.08);
  border-radius: 8px;
  font-size: 14px;
  color: var(--sa-completado);
  font-weight: 500;
}

.peso-diferencia.alerta {
  background: rgba(255, 77, 79, 0.08);
  color: var(--sa-alerta);
}

.peso-diferencia .warning-icon {
  animation: pulse 1.5s infinite;
}

.modal-actions {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: #f9f9f9;
  margin-top: 20px;
}

.modal-actions button {
  flex: 1;
}

.modal-actions .btn-confirmar {
  background: var(--sa-primary) !important;
  border-color: var(--sa-primary) !important;
}

.modal-actions .btn-confirmar:hover {
  background: var(--sa-primary-dark) !important;
  border-color: var(--sa-primary-dark) !important;
}

/* ===== Camera Capture ===== */
.camera-capture-box {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}

.camera-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 2px dashed #d9d9d9;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.camera-placeholder:hover {
  border-color: var(--sa-primary);
  background: rgba(255, 107, 0, 0.04);
}

.camera-placeholder .camera-icon {
  font-size: 32px;
  color: #999;
}

.camera-placeholder .camera-label {
  font-size: 13px;
  color: #666;
}

.foto-preview-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.foto-preview-container .foto-preview {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.foto-preview-container .foto-clear-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  cursor: pointer;
}

.foto-preview-container .foto-label-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 12px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 12px;
  border-radius: 4px;
}

/* ===== Mobile FAB ===== */
.mobile-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--sa-primary);
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.4);
  z-index: 100;
  transition: all 0.2s ease;
}

.mobile-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

/* ===== Mobile Search Modal ===== */
.mobile-search-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(135deg, var(--sa-primary), var(--sa-primary-dark));
  color: white;
}

.mobile-search-header h3 {
  margin: 0;
  flex: 1;
}

.mobile-search-header .search-header-icon {
  font-size: 24px;
}

.mobile-search-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-buscar-mobile {
  background: var(--sa-primary) !important;
  border-color: var(--sa-primary) !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .seguimiento-almacen-page {
    padding: 12px;
  }
  
  .page-title {
    font-size: 20px;
  }
  
  .stat-mini .stat-value {
    font-size: 20px;
  }
  
  .stat-mini .stat-label {
    font-size: 10px;
  }
  
  .seguimiento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .seguimiento-card {
    padding: 14px;
  }
  
  .seguimiento-card .placa-badge {
    font-size: 14px;
    padding: 5px 10px;
  }
  
  .seguimiento-card .btn-registrar-llegada,
  .seguimiento-card .btn-registrar-salida {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .pesos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .seguimiento-tabs-container .tab-button {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .seguimiento-tabs-container .tab-button span {
    display: none;
  }
}

@media (max-width: 480px) {
  .stat-mini .stat-value {
    font-size: 18px;
  }
  
  .llegada-info .placa-grande {
    font-size: 28px;
  }
  
  .unidad-info-box .placa-grande {
    font-size: 24px;
  }
}
/*! tailwindcss v4.0.0 | MIT License | https://tailwindcss.com */
@layer theme{:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-serif:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-red-100:oklch(.936 .032 17.717);--color-red-200:oklch(.885 .062 18.334);--color-red-300:oklch(.808 .114 19.571);--color-red-400:oklch(.704 .191 22.216);--color-red-500:oklch(.637 .237 25.331);--color-red-600:oklch(.577 .245 27.325);--color-red-700:oklch(.505 .213 27.518);--color-red-800:oklch(.444 .177 26.899);--color-red-900:oklch(.396 .141 25.723);--color-red-950:oklch(.258 .092 26.042);--color-orange-50:oklch(.98 .016 73.684);--color-orange-100:oklch(.954 .038 75.164);--color-orange-200:oklch(.901 .076 70.697);--color-orange-300:oklch(.837 .128 66.29);--color-orange-400:oklch(.75 .183 55.934);--color-orange-500:oklch(.705 .213 47.604);--color-orange-600:oklch(.646 .222 41.116);--color-orange-700:oklch(.553 .195 38.402);--color-orange-800:oklch(.47 .157 37.304);--color-orange-900:oklch(.408 .123 38.172);--color-orange-950:oklch(.266 .079 36.259);--color-amber-50:oklch(.987 .022 95.277);--color-amber-100:oklch(.962 .059 95.617);--color-amber-200:oklch(.924 .12 95.746);--color-amber-300:oklch(.879 .169 91.605);--color-amber-400:oklch(.828 .189 84.429);--color-amber-500:oklch(.769 .188 70.08);--color-amber-600:oklch(.666 .179 58.318);--color-amber-700:oklch(.555 .163 48.998);--color-amber-800:oklch(.473 .137 46.201);--color-amber-900:oklch(.414 .112 45.904);--color-amber-950:oklch(.279 .077 45.635);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-100:oklch(.973 .071 103.193);--color-yellow-200:oklch(.945 .129 101.54);--color-yellow-300:oklch(.905 .182 98.111);--color-yellow-400:oklch(.852 .199 91.936);--color-yellow-500:oklch(.795 .184 86.047);--color-yellow-600:oklch(.681 .162 75.834);--color-yellow-700:oklch(.554 .135 66.442);--color-yellow-800:oklch(.476 .114 61.907);--color-yellow-900:oklch(.421 .095 57.708);--color-yellow-950:oklch(.286 .066 53.813);--color-lime-50:oklch(.986 .031 120.757);--color-lime-100:oklch(.967 .067 122.328);--color-lime-200:oklch(.938 .127 124.321);--color-lime-300:oklch(.897 .196 126.665);--color-lime-400:oklch(.841 .238 128.85);--color-lime-500:oklch(.768 .233 130.85);--color-lime-600:oklch(.648 .2 131.684);--color-lime-700:oklch(.532 .157 131.589);--color-lime-800:oklch(.453 .124 130.933);--color-lime-900:oklch(.405 .101 131.063);--color-lime-950:oklch(.274 .072 132.109);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-200:oklch(.925 .084 155.995);--color-green-300:oklch(.871 .15 154.449);--color-green-400:oklch(.792 .209 151.711);--color-green-500:oklch(.723 .219 149.579);--color-green-600:oklch(.627 .194 149.214);--color-green-700:oklch(.527 .154 150.069);--color-green-800:oklch(.448 .119 151.328);--color-green-900:oklch(.393 .095 152.535);--color-green-950:oklch(.266 .065 152.934);--color-emerald-50:oklch(.979 .021 166.113);--color-emerald-100:oklch(.95 .052 163.051);--color-emerald-200:oklch(.905 .093 164.15);--color-emerald-300:oklch(.845 .143 164.978);--color-emerald-400:oklch(.765 .177 163.223);--color-emerald-500:oklch(.696 .17 162.48);--color-emerald-600:oklch(.596 .145 163.225);--color-emerald-700:oklch(.508 .118 165.612);--color-emerald-800:oklch(.432 .095 166.913);--color-emerald-900:oklch(.378 .077 168.94);--color-emerald-950:oklch(.262 .051 172.552);--color-teal-50:oklch(.984 .014 180.72);--color-teal-100:oklch(.953 .051 180.801);--color-teal-200:oklch(.91 .096 180.426);--color-teal-300:oklch(.855 .138 181.071);--color-teal-400:oklch(.777 .152 181.912);--color-teal-500:oklch(.704 .14 182.503);--color-teal-600:oklch(.6 .118 184.704);--color-teal-700:oklch(.511 .096 186.391);--color-teal-800:oklch(.437 .078 188.216);--color-teal-900:oklch(.386 .063 188.416);--color-teal-950:oklch(.277 .046 192.524);--color-cyan-50:oklch(.984 .019 200.873);--color-cyan-100:oklch(.956 .045 203.388);--color-cyan-200:oklch(.917 .08 205.041);--color-cyan-300:oklch(.865 .127 207.078);--color-cyan-400:oklch(.789 .154 211.53);--color-cyan-500:oklch(.715 .143 215.221);--color-cyan-600:oklch(.609 .126 221.723);--color-cyan-700:oklch(.52 .105 223.128);--color-cyan-800:oklch(.45 .085 224.283);--color-cyan-900:oklch(.398 .07 227.392);--color-cyan-950:oklch(.302 .056 229.695);--color-sky-50:oklch(.977 .013 236.62);--color-sky-100:oklch(.951 .026 236.824);--color-sky-200:oklch(.901 .058 230.902);--color-sky-300:oklch(.828 .111 230.318);--color-sky-400:oklch(.746 .16 232.661);--color-sky-500:oklch(.685 .169 237.323);--color-sky-600:oklch(.588 .158 241.966);--color-sky-700:oklch(.5 .134 242.749);--color-sky-800:oklch(.443 .11 240.79);--color-sky-900:oklch(.391 .09 240.876);--color-sky-950:oklch(.293 .066 243.157);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-300:oklch(.809 .105 251.813);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-blue-900:oklch(.379 .146 265.522);--color-blue-950:oklch(.282 .091 267.935);--color-indigo-50:oklch(.962 .018 272.314);--color-indigo-100:oklch(.93 .034 272.788);--color-indigo-200:oklch(.87 .065 274.039);--color-indigo-300:oklch(.785 .115 274.713);--color-indigo-400:oklch(.673 .182 276.935);--color-indigo-500:oklch(.585 .233 277.117);--color-indigo-600:oklch(.511 .262 276.966);--color-indigo-700:oklch(.457 .24 277.023);--color-indigo-800:oklch(.398 .195 277.366);--color-indigo-900:oklch(.359 .144 278.697);--color-indigo-950:oklch(.257 .09 281.288);--color-violet-50:oklch(.969 .016 293.756);--color-violet-100:oklch(.943 .029 294.588);--color-violet-200:oklch(.894 .057 293.283);--color-violet-300:oklch(.811 .111 293.571);--color-violet-400:oklch(.702 .183 293.541);--color-violet-500:oklch(.606 .25 292.717);--color-violet-600:oklch(.541 .281 293.009);--color-violet-700:oklch(.491 .27 292.581);--color-violet-800:oklch(.432 .232 292.759);--color-violet-900:oklch(.38 .189 293.745);--color-violet-950:oklch(.283 .141 291.089);--color-purple-50:oklch(.977 .014 308.299);--color-purple-100:oklch(.946 .033 307.174);--color-purple-200:oklch(.902 .063 306.703);--color-purple-300:oklch(.827 .119 306.383);--color-purple-400:oklch(.714 .203 305.504);--color-purple-500:oklch(.627 .265 303.9);--color-purple-600:oklch(.558 .288 302.321);--color-purple-700:oklch(.496 .265 301.924);--color-purple-800:oklch(.438 .218 303.724);--color-purple-900:oklch(.381 .176 304.987);--color-purple-950:oklch(.291 .149 302.717);--color-fuchsia-50:oklch(.977 .017 320.058);--color-fuchsia-100:oklch(.952 .037 318.852);--color-fuchsia-200:oklch(.903 .076 319.62);--color-fuchsia-300:oklch(.833 .145 321.434);--color-fuchsia-400:oklch(.74 .238 322.16);--color-fuchsia-500:oklch(.667 .295 322.15);--color-fuchsia-600:oklch(.591 .293 322.896);--color-fuchsia-700:oklch(.518 .253 323.949);--color-fuchsia-800:oklch(.452 .211 324.591);--color-fuchsia-900:oklch(.401 .17 325.612);--color-fuchsia-950:oklch(.293 .136 325.661);--color-pink-50:oklch(.971 .014 343.198);--color-pink-100:oklch(.948 .028 342.258);--color-pink-200:oklch(.899 .061 343.231);--color-pink-300:oklch(.823 .12 346.018);--color-pink-400:oklch(.718 .202 349.761);--color-pink-500:oklch(.656 .241 354.308);--color-pink-600:oklch(.592 .249 .584);--color-pink-700:oklch(.525 .223 3.958);--color-pink-800:oklch(.459 .187 3.815);--color-pink-900:oklch(.408 .153 2.432);--color-pink-950:oklch(.284 .109 3.907);--color-rose-50:oklch(.969 .015 12.422);--color-rose-100:oklch(.941 .03 12.58);--color-rose-200:oklch(.892 .058 10.001);--color-rose-300:oklch(.81 .117 11.638);--color-rose-400:oklch(.712 .194 13.428);--color-rose-500:oklch(.645 .246 16.439);--color-rose-600:oklch(.586 .253 17.585);--color-rose-700:oklch(.514 .222 16.935);--color-rose-800:oklch(.455 .188 13.697);--color-rose-900:oklch(.41 .159 10.272);--color-rose-950:oklch(.271 .105 12.094);--color-slate-50:oklch(.984 .003 247.858);--color-slate-100:oklch(.968 .007 247.896);--color-slate-200:oklch(.929 .013 255.508);--color-slate-300:oklch(.869 .022 252.894);--color-slate-400:oklch(.704 .04 256.788);--color-slate-500:oklch(.554 .046 257.417);--color-slate-600:oklch(.446 .043 257.281);--color-slate-700:oklch(.372 .044 257.287);--color-slate-800:oklch(.279 .041 260.031);--color-slate-900:oklch(.208 .042 265.755);--color-slate-950:oklch(.129 .042 264.695);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-gray-950:oklch(.13 .028 261.692);--color-zinc-50:oklch(.985 0 0);--color-zinc-100:oklch(.967 .001 286.375);--color-zinc-200:oklch(.92 .004 286.32);--color-zinc-300:oklch(.871 .006 286.286);--color-zinc-400:oklch(.705 .015 286.067);--color-zinc-500:oklch(.552 .016 285.938);--color-zinc-600:oklch(.442 .017 285.786);--color-zinc-700:oklch(.37 .013 285.805);--color-zinc-800:oklch(.274 .006 286.033);--color-zinc-900:oklch(.21 .006 285.885);--color-zinc-950:oklch(.141 .005 285.823);--color-neutral-50:oklch(.985 0 0);--color-neutral-100:oklch(.97 0 0);--color-neutral-200:oklch(.922 0 0);--color-neutral-300:oklch(.87 0 0);--color-neutral-400:oklch(.708 0 0);--color-neutral-500:oklch(.556 0 0);--color-neutral-600:oklch(.439 0 0);--color-neutral-700:oklch(.371 0 0);--color-neutral-800:oklch(.269 0 0);--color-neutral-900:oklch(.205 0 0);--color-neutral-950:oklch(.145 0 0);--color-stone-50:oklch(.985 .001 106.423);--color-stone-100:oklch(.97 .001 106.424);--color-stone-200:oklch(.923 .003 48.717);--color-stone-300:oklch(.869 .005 56.366);--color-stone-400:oklch(.709 .01 56.259);--color-stone-500:oklch(.553 .013 58.071);--color-stone-600:oklch(.444 .011 73.639);--color-stone-700:oklch(.374 .01 67.558);--color-stone-800:oklch(.268 .007 34.298);--color-stone-900:oklch(.216 .006 56.043);--color-stone-950:oklch(.147 .004 49.25);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-2xs:18rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--text-9xl:8rem;--text-9xl--line-height:1;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--radius-4xl:2rem;--shadow-2xs:0 1px #0000000d;--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--shadow-2xl:0 25px 50px -12px #00000040;--inset-shadow-2xs:inset 0 1px #0000000d;--inset-shadow-xs:inset 0 1px 1px #0000000d;--inset-shadow-sm:inset 0 2px 4px #0000000d;--drop-shadow-xs:0 1px 1px #0000000d;--drop-shadow-sm:0 1px 2px #00000026;--drop-shadow-md:0 3px 3px #0000001f;--drop-shadow-lg:0 4px 4px #00000026;--drop-shadow-xl:0 9px 7px #0000001a;--drop-shadow-2xl:0 25px 25px #00000026;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur-xs:4px;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--perspective-dramatic:100px;--perspective-near:300px;--perspective-normal:500px;--perspective-midrange:800px;--perspective-distant:1200px;--aspect-video:16/9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings);--color-tremor-brand-faint:#eff6ff;--color-tremor-brand-muted:#dbeafe;--color-tremor-brand-subtle:#bfdbfe;--color-tremor-brand:#3b82f6;--color-tremor-brand-emphasis:#1d4ed8;--color-tremor-brand-inverted:#fff;--color-tremor-background-muted:#f9fafb;--color-tremor-background-subtle:#f3f4f6;--color-tremor-background:#fff;--color-tremor-background-emphasis:#374151;--color-tremor-border:#e5e7eb;--color-tremor-ring:#e5e7eb;--color-tremor-content-subtle:#9ca3af;--color-tremor-content:#6b7280;--color-tremor-content-emphasis:#374151;--color-tremor-content-strong:#111827;--color-tremor-content-inverted:#fff;--shadow-tremor-input:0 1px 2px 0 #0000000d;--shadow-tremor-card:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-tremor-dropdown:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--radius-tremor-small:.375rem;--radius-tremor-default:.5rem;--radius-tremor-full:9999px;--font-size-tremor-label:.75rem;--font-size-tremor-default:.875rem;--font-size-tremor-title:1.125rem;--font-size-tremor-metric:1.875rem}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.\!container{width:100%!important}@media (width>=40rem){.\!container{max-width:40rem!important}}@media (width>=48rem){.\!container{max-width:48rem!important}}@media (width>=64rem){.\!container{max-width:64rem!important}}@media (width>=80rem){.\!container{max-width:80rem!important}}@media (width>=96rem){.\!container{max-width:96rem!important}}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mt-2{margin-top:calc(var(--spacing)*2)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-80{height:calc(var(--spacing)*80)}.max-w-4xl{max-width:var(--container-4xl)}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.transform\!{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)!important}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-tremor-content{color:var(--color-tremor-content)}.text-tremor-content-strong{color:var(--color-tremor-content-strong)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}}*{box-sizing:border-box;margin:0;padding:0}body{margin:0;padding:0}.ant-typography{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ant-btn-primary{background-color:#ff7f00!important;border-color:#ff7f00!important}.ant-btn-primary:hover,.ant-btn-primary:focus{background-color:#f93!important;border-color:#f93!important}.ant-btn-primary:active{background-color:#e66f00!important;border-color:#e66f00!important}.ant-btn-link{color:#ff7f00!important}.ant-btn-link:hover,.ant-btn-link:focus{color:#f93!important}.ant-btn-text{color:#ff7f00!important}.ant-btn-text:hover,.ant-btn-text:focus{color:#f93!important;background-color:#ff7f001a!important}.ant-btn-default:hover,.ant-btn-default:focus{color:#ff7f00!important;border-color:#ff7f00!important}@media (width<=576px){.ant-typography{white-space:nowrap;text-overflow:ellipsis;font-size:18px;overflow:hidden}}@media (width<=768px){.sider-bar{padding:0 16px;display:none}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
  