@charset "UTF-8";

#toast-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 60;
}

.toast {
  min-width: 200px;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: #16a34a;
}

.toast.error {
  background: #dc2626;
}

.toast.info {
  background: #0369a1;
}

:root {
  --app-mobile-gutter: clamp(0.9rem, 4vw, 1.2rem);
  --app-card-radius: 1.4rem;
  --app-card-border: rgba(148, 163, 184, 0.18);
  --app-card-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

html {
  max-width: 100%;
  overflow-x: hidden;
  background-color: #f8fafc;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}

body.app-shell-body {
  min-height: 100vh;
}

.app-shell-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}

.app-shell-nav__inner {
  padding-top: calc(0.85rem + env(safe-area-inset-top, 0px));
  padding-bottom: 0.85rem;
}

.app-shell-brand-copy {
  min-width: 0;
}

.app-shell-brand-copy h1 {
  line-height: 1.1;
}

.app-drawer {
  width: min(86vw, 20rem);
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

.app-shell-footer {
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

.dashboard-page {
  width: min(100%, 82rem);
}

.dashboard-card {
  border-radius: var(--app-card-radius);
  border-color: var(--app-card-border);
  box-shadow: var(--app-card-shadow);
}

.dashboard-metric-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
}

.dashboard-chip-button {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.55rem 0.9rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.dashboard-list-row {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-list-row:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.dashboard-list-meta {
  min-width: min(9rem, 100%);
}

.dashboard-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 transparent;
}

.inventory-panel {
  border-radius: var(--app-card-radius);
  border-color: var(--app-card-border);
  box-shadow: var(--app-card-shadow);
}

.dashboard-chip-button,
.inventory-chip-button {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.inventory-filters {
  backdrop-filter: blur(12px);
  padding: 0.9rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.inventory-toggle-editor {
  min-width: 2.75rem;
  min-height: 2.75rem;
}

.inventory-toolbar-copy {
  min-width: 0;
}

.inventory-filter-field {
  min-width: 0;
}

.inventory-filter-label {
  display: block;
  margin-bottom: 0.35rem;
  padding-left: 0.15rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.inventory-product-card {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.inventory-product-card--selected {
  border-color: rgba(37, 99, 235, 0.45);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.12);
}

.inventory-product-summary {
  min-width: min(11rem, 100%);
}

.pos-page {
  width: min(100%, 82rem);
}

.pos-panel {
  border-radius: var(--app-card-radius);
  border-color: var(--app-card-border);
  box-shadow: var(--app-card-shadow);
}

.pos-chip-button {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.cobranzas-page {
  width: min(100%, 82rem);
}

.cobranzas-panel {
  border-radius: var(--app-card-radius);
  border-color: var(--app-card-border);
  box-shadow: var(--app-card-shadow);
}

.cobranzas-tabla-wrapper {
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 transparent;
}

.cobranzas-row {
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.cobranzas-row:hover {
  transform: translateY(-1px);
}

.cobranzas-row--active {
  background: rgba(239, 246, 255, 0.92);
}

.reportes-page {
  width: min(100%, 82rem);
}

.reportes-panel {
  border-radius: var(--app-card-radius);
  border-color: var(--app-card-border);
  box-shadow: var(--app-card-shadow);
}

.reportes-tabs-nav,
.reportes-table-wrap,
.reportes-subtable-wrap {
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 transparent;
}

.reportes-tabs-nav .rpt-tab {
  flex: 0 0 auto;
}

.reportes-field {
  min-width: 0;
}

.reportes-action-button {
  min-width: 0;
}

.reportes-sale-row {
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.reportes-sale-row:hover {
  transform: translateY(-1px);
}

.reportes-summary {
  padding: 0.75rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.96));
}

.reportes-list-card {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.reportes-pres-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.85rem 1rem;
}

.reportes-pres-main {
  min-width: 0;
  align-self: start;
}

.reportes-pres-client {
  color: #0f172a;
}

.reportes-pres-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.reportes-pres-total {
  font-size: 1rem;
  line-height: 1;
}

.reportes-pres-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.reportes-pres-actions>* {
  flex: 0 0 auto;
}

.reportes-pres-actions button {
  white-space: nowrap;
}

.reportes-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#btn-menu {
  /* El botón de menú ahora es transparente porque el ícono de hamburguesa se maneja con CSS */
  background: transparent;
}

.burger {
  position: relative;
  width: 32px;
  height: 22px;
  background: transparent;
  cursor: pointer;
  display: block;
}

.burger input {
  display: none;
}

.burger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #f9fafb;
  /* blanco suave para el nav oscuro */
  border-radius: 999px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.burger span:nth-of-type(1) {
  top: 0;
  transform-origin: left center;
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.burger span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}

/* Estados animados cuando el checkbox está activo */
.burger input:checked~span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 1px;
  left: 4px;
}

.burger input:checked~span:nth-of-type(2) {
  width: 0;
  opacity: 0;
}

.burger input:checked~span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 21px;
  left: 4px;
}

/* Botón de eliminar compacto, rojo, con hover animado */
.btn-trash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 6px;
  background: rgba(248, 113, 113, 0.08);
  color: #ef4444;
  border: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.btn-trash:hover {
  transform: scale(1.07);
}

.btn-trash:active {
  transform: scale(0.96);
}

.btn-trash svg {
  width: 18px;
  height: 18px;
}

/* Variante compacta para usar en tablas de acciones (usuarios, etc.) */
.btn-trash--sm {
  width: 34px;
  height: 34px;
  border-radius: 6px;
}

.btn-trash--sm svg {
  width: 20px;
  height: 20px;
}

.fa-gear:hover {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.modal-backdrop {
  transition: opacity 0.2s ease;
}

.modal-panel {
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.modal-open .modal-panel {
  transform: scale(1);
  opacity: 1;
}

.modal-open .modal-backdrop {
  opacity: 1;
}

.inv-input-group {
  position: relative;
  margin-bottom: 0.75rem;
}

.inv-input {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 1rem;
  background: none;
  padding: 1.1rem 1rem 0.6rem 1rem;
  font-size: 0.875rem;
  color: #0f172a;
  transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.inv-input::placeholder {
  color: transparent;
}

.inv-label {
  position: absolute;
  left: 1rem;
  color: #64748b;
  pointer-events: none;
  transform: translateY(1.1rem);
  font-size: 0.75rem;
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.inv-input:focus,
.inv-input:not(:placeholder-shown) {
  outline: none;
  border: 1.5px solid #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.inv-input:focus+.inv-label,
.inv-input:not(:placeholder-shown)+.inv-label {
  transform: translateY(-50%) scale(0.8);
  background-color: #ffffff;
  padding: 0 0.25rem;
  color: #2563eb;
}

.inv-cat-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 0.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  max-height: 11rem;
  overflow-y: auto;
  z-index: 40;
}

.inv-cat-suggestions li {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  color: #0f172a;
  cursor: pointer;
  border-bottom: 1px solid #e2e8f0;
}

.inv-cat-suggestions li:last-child {
  border-bottom: none;
}

.inv-cat-suggestions li:hover {
  background-color: #f1f5f9;
}

.btn-ge-inv {
  padding-top: 10px;
}

.marcainv {
  padding-top: 9px;
}

/* Transición suave para mostrar/ocultar el panel de formulario de inventario */
#inventario-layout {
  transition: grid-template-columns 0.5s ease;
}

#panel-editor {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}

#panel-editor.inv-editor-collapsed {
  opacity: 0;
  transform: translateX(24px);
  overflow: hidden;
  pointer-events: none;
}

@media (max-width: 640px) {
  #panel-editor.inv-editor-collapsed {
    transform: translateY(18px);
  }
}

.compras-cat-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 0.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  max-height: 11rem;
  overflow-y: auto;
  z-index: 60;
}

.compras-cat-suggestions li {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  color: #0f172a;
  cursor: pointer;
  border-bottom: 1px solid #e2e8f0;
}

.compras-cat-suggestions li:last-child {
  border-bottom: none;
}

.compras-cat-suggestions li:hover {
  background-color: #f1f5f9;
}

/* Personalización de la interfaz */
.active-tab {
  background-color: white;
  border-bottom: 3px solid var(--brand-primary, #3b82f6);
  color: #1e293b;
}

.active-tab {
  background-color: white;
  border-bottom: 3px solid #3b82f6;
  color: #1e293b;
  font-weight: 800;
}

:root {
  --brand-primary: #2563eb;
  --brand-secondary: #0f172a;
  --brand-accent: #f97316;
}

/* Overrides suaves para usar la paleta configurada */
nav.bg-slate-900 {
  background-color: var(--brand-secondary, #0f172a) !important;
}

.bg-blue-600 {
  background-color: var(--brand-primary, #2563eb) !important;
}

/* Inputs marcados para mostrar siempre el texto en mayúsculas */
.input-upper {
  text-transform: uppercase;
}

/* Selects del POS con estilo consistente */
.select-pos {
  border-radius: 0.75rem;
  padding: 0.75rem 2.5rem 0.75rem 0.75rem;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  font-weight: 600;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7 9l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem 1rem;
}

.select-pos:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.bg-blue-700 {
  background-color: var(--brand-primary, #2563eb) !important;
  filter: brightness(0.92);
}

.text-blue-600 {
  color: var(--brand-primary, #2563eb) !important;
}

.border-blue-500 {
  border-color: var(--brand-primary, #3b82f6) !important;
}

/* Botón primario hover */
.hover\:bg-blue-700:hover {
  background-color: var(--brand-primary, #2563eb) !important;
  filter: brightness(0.92);
}

/* Badges y highlights */
.bg-emerald-100.text-emerald-700 {
  color: var(--brand-primary, #2563eb) !important;
  border-color: var(--brand-primary, #2563eb) !important;
}

.bg-emerald-100 {
  background-color: color-mix(in srgb, var(--brand-primary, #2563eb) 20%, white) !important;
}

/* Tabs POS (Venta / Devolución) con transición suave */
.pos-tab-btn {
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.pos-tab-group {
  position: relative;
}

.pos-tab-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 3px;
  background: var(--brand-primary, #2563eb);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
  transition: left 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pos-tab-group--dev .pos-tab-indicator {
  left: 50%;
}

/* Variante para tabs del historial (Ventas / Presupuestos) */
.hist-tab-group--pres .pos-tab-indicator {
  left: 50%;
}

#ventas-hoy,
#ventas-semana,
#total-bs {
  font-variant-numeric: tabular-nums;
}

#resultados li:last-child {
  border-bottom: none;
}

/* Scrollbar personalizado para los resultados */
#resultados::-webkit-scrollbar {
  width: 6px;
}

#resultados::-webkit-scrollbar-track {
  background: #f8fafc;
}

#resultados::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

#resultados::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Animaciones suaves */
section {
  transition: transform 0.2s ease-in-out;
}

#producto-info {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* index */
#venta-items-cuerpo tr {
  padding-top: 0;
  padding-bottom: 0;
}

#venta-items-cuerpo td {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

/* Botón "Agregar" del POS con animación de icono */
.btn-pos-add {
  width: 150px;
  height: 48px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #2563eb;
  border: none;
  border-radius: 10px;
  box-shadow: 1px 1px 3px rgba(255, 255, 255, 0.15);
}

.btn-pos-add .text {
  transform: translateX(35px);
  color: #ffffff;
  font-weight: bold;
}

.btn-pos-add .icon {
  position: absolute;
  border-left: 2px solid rgba(8, 116, 189, 0.5764705882);
  transform: translateX(110px);
  height: 35px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pos-add,
.btn-pos-add .icon {
  transition: 200ms;
}

.btn-pos-add .text {
  transition: none;
}

.btn-pos-add svg {
  width: 25px;
  height: 25px;
  fill: #eeeeee;
}

.btn-pos-add:hover {
  background: #2055c7;
}

.btn-pos-add:active {
  background: #2563eb;
}

.btn-pos-add:hover .text {
  color: transparent;
  opacity: 0;
  transition: 0.05s linear;
}

.btn-pos-add:hover .icon {
  width: 150px;
  border-left: none;
  transform: translateX(0);
}

.btn-pos-add:focus {
  outline: none;
}

.btn-pos-add:active .icon svg {
  transform: scale(0.8);
}

/* Animación suave para paneles al cambiar entre Venta / Devolución */
.tab-panel-animate {
  animation: tabPanelFade 0.22s ease-out;
}

/* Ajustes de layout para POS en pantallas pequeñas */
@media (max-width: 640px) {
  .app-shell-nav__inner {
    padding-left: var(--app-mobile-gutter);
    padding-right: var(--app-mobile-gutter);
    gap: 0.85rem;
  }

  .app-shell-brand-group {
    gap: 0.75rem;
  }

  .app-shell-brand-copy p {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }

  .app-shell-actions {
    gap: 0.55rem;
  }

  .app-shell-actions .admin-only-gear {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 1rem;
  }

  .app-drawer {
    max-width: calc(100vw - 1rem);
    border-top-right-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
  }

  .dashboard-page {
    padding-left: var(--app-mobile-gutter);
    padding-right: var(--app-mobile-gutter);
    padding-top: 1rem;
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
    gap: 1rem;
  }

  .dashboard-chip-button {
    width: 100%;
    justify-content: center;
  }

  .dashboard-card {
    padding: 1rem;
    border-radius: 1.2rem;
  }

  .dashboard-actions-inline,
  .dashboard-toolbar,
  .dashboard-filter-row {
    align-items: stretch;
  }

  .dashboard-actions-inline>*,
  .dashboard-filter-row>* {
    width: 100%;
  }

  .dashboard-page .dashboard-list-row,
  .dashboard-page .dashboard-list-meta {
    text-align: left;
  }

  .dashboard-page #ultimas-ventas .dashboard-list-row {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
  }

  .dashboard-page #ultimas-ventas .dashboard-list-row> :first-child {
    flex: 1 1 auto;
    min-width: 0;
  }

  .dashboard-page #ultimas-ventas .dashboard-list-meta {
    flex: 0 0 6.75rem;
    min-width: 6.75rem;
    margin-left: 0;
    text-align: right;
  }

  .dashboard-page #ultimas-ventas .dashboard-list-meta .text-sm {
    font-size: 0.94rem;
    line-height: 1.15;
  }

  .dashboard-page #ultimas-ventas .dashboard-list-meta .text-xs {
    font-size: 0.74rem;
    line-height: 1.05rem;
  }

  .dashboard-page #alertas-panel .grid.grid-cols-2,
  .dashboard-page #dash-margen .grid.grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .dashboard-page #dash-ranking-vendedores .dashboard-table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 17rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
  }

  .dashboard-page #dash-ranking-vendedores table {
    display: table;
    width: 100%;
    min-width: 100%;
    table-layout: fixed;
  }

  .dashboard-page #dash-ranking-vendedores thead {
    display: table-header-group;
  }

  .dashboard-page #dash-ranking-vendedores tbody {
    display: table-row-group;
  }

  .dashboard-page #dash-ranking-vendedores tr {
    display: table-row;
  }

  .dashboard-page #dash-ranking-vendedores th,
  .dashboard-page #dash-ranking-vendedores td {
    display: table-cell;
    width: auto;
    padding: 0.62rem 0.5rem;
    font-size: 0.71rem;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
  }

  .dashboard-page #dash-ranking-vendedores th {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .dashboard-page #dash-ranking-vendedores th:first-child,
  .dashboard-page #dash-ranking-vendedores td:first-child {
    width: 34%;
    max-width: 7.5rem;
  }

  .dashboard-page #dash-ranking-vendedores td:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dashboard-page #dash-ranking-vendedores th:not(:first-child),
  .dashboard-page #dash-ranking-vendedores td:not(:first-child) {
    width: 16.5%;
  }

  .dashboard-page #dash-ranking-vendedores td::before {
    content: none;
  }

  .inventario-page {
    padding-left: var(--app-mobile-gutter);
    padding-right: var(--app-mobile-gutter);
    padding-top: 1rem;
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }

  .inventario-page #inventario-layout {
    gap: 1rem;
  }

  .inventory-panel {
    padding: 1rem;
    border-radius: 1.2rem;
  }

  .inventario-page .inventory-toolbar__header {
    gap: 0.75rem;
  }

  .inventario-page .inventory-filters {
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .inventory-filters>* {
    width: 100%;
  }

  .inventory-toggle-editor {
    min-width: 0;
  }

  .inventario-page #btnInvTour {
    max-width: 100%;
  }

  .inventory-product-card,
  .inventory-product-summary {
    text-align: left;
  }

  .inventario-page .btn-ge-inv,
  .inventario-page .inventory-file-actions,
  .inventario-page .inventory-file-picker,
  .inventario-page .inventory-pagination {
    align-items: stretch;
  }

  .inventario-page .btn-ge-inv>*,
  .inventario-page .inventory-file-actions>*,
  .inventario-page .inventory-file-picker>*,
  .inventario-page .inventory-pagination>* {
    width: 100%;
  }

  .inventario-page #btnMoverDeposito {
    width: 100%;
    justify-content: center;
  }

  .pos-page {
    padding-left: var(--app-mobile-gutter);
    padding-right: var(--app-mobile-gutter);
    padding-top: 1rem;
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
    gap: 1rem;
  }

  .pos-panel {
    border-radius: 1.2rem;
    box-shadow: var(--app-card-shadow);
  }

  .pos-chip-button {
    width: 100%;
    justify-content: center;
  }

  .pos-page .btn-pos-add {
    width: 100%;
  }

  .pos-page #pv-deposito-wrapper,
  .pos-page #pv-marca-wrapper {
    width: 100%;
  }

  .pos-page #pv-deposito-wrapper select,
  .pos-page #pv-marca-wrapper select {
    min-width: 0;
  }

  .pos-page .pos-cart-table {
    overflow: visible;
  }

  .pos-page .pos-cart-table table,
  .pos-page .pos-cart-table thead,
  .pos-page .pos-cart-table tbody,
  .pos-page .pos-cart-table tr,
  .pos-page .pos-cart-table td {
    display: block;
    width: 100%;
  }

  .pos-page .pos-cart-table thead {
    display: none;
  }

  .pos-page .pos-cart-table tbody {
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .pos-page .pos-cart-table tr {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  }

  .pos-page .pos-cart-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.8rem;
    text-align: right;
  }

  .pos-page .pos-cart-table td:last-child {
    border-bottom: none;
    justify-content: flex-end;
  }

  .pos-page .pos-cart-table td::before {
    content: attr(data-label);
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: left;
  }

  .pos-page .pos-cart-table td[data-label="Descripción"] {
    text-align: left;
  }

  .pos-page .pos-cart-table td[data-label="Descripción"]::before {
    flex: 0 0 4.75rem;
  }

  .pos-page .pos-cart-table input[data-role="dev-qty"] {
    width: 5rem;
  }

  .pos-page #vacio-msg {
    padding: 2rem 1rem;
  }

  .cobranzas-page {
    padding-left: var(--app-mobile-gutter);
    padding-right: var(--app-mobile-gutter);
    padding-top: 1rem;
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
    gap: 1rem;
  }

  .cobranzas-panel {
    border-radius: 1.2rem;
  }

  .cobranzas-filtros-bar {
    padding: 1rem;
  }

  .cobranzas-filtros-main {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .cobranzas-filtros-main>* {
    min-width: 0;
  }

  .cobranzas-filtros-periodo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .cobranzas-filtros-periodo #cob-periodo-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: center;
  }

  .cobranzas-filtros-periodo #cob-periodo-controls button {
    width: 100%;
    justify-content: center;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .cobranzas-filtros-periodo #cob-periodo-label {
    display: none;
  }

  .cobranzas-refresh-btn {
    align-self: stretch;
    min-width: 3rem;
  }

  .cobranzas-tabla-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
  }

  .cobranzas-table {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .cobranzas-table thead {
    display: table-header-group;
  }

  .cobranzas-table tbody {
    display: table-row-group;
  }

  .cobranzas-table tr {
    display: table-row;
  }

  .cobranzas-table th,
  .cobranzas-table td {
    display: table-cell;
    width: auto;
    padding: 0.72rem 0.35rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.72rem;
    vertical-align: top;
  }

  .cobranzas-table th {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    padding: 0.7rem 0.35rem;
  }

  .cobranzas-table th:nth-child(1),
  .cobranzas-table td:nth-child(1) {
    width: 30%;
  }

  .cobranzas-table th:nth-child(2),
  .cobranzas-table td:nth-child(2) {
    width: 20%;
  }

  .cobranzas-table th:nth-child(3),
  .cobranzas-table td:nth-child(3) {
    width: 18%;
  }

  .cobranzas-table th:nth-child(4),
  .cobranzas-table td:nth-child(4) {
    width: 14%;
  }

  .cobranzas-table th:nth-child(5),
  .cobranzas-table td:nth-child(5) {
    width: 18%;
  }

  .cobranzas-table th:last-child,
  .cobranzas-table td:last-child {
    display: none;
  }

  .cobranzas-table td:nth-child(1),
  .cobranzas-table td:nth-child(2),
  .cobranzas-table td:nth-child(3) {
    text-align: left;
  }

  .cobranzas-table td:nth-child(4),
  .cobranzas-table td:nth-child(5) {
    text-align: right;
  }

  .reportes-page {
    padding-left: var(--app-mobile-gutter);
    padding-right: var(--app-mobile-gutter);
    padding-top: 1rem;
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }

  .reportes-panel {
    border-radius: 1.2rem;
  }

  .reportes-tabs-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .reportes-tabs-nav {
    width: 100%;
    gap: 0.3rem;
    padding-bottom: 0.35rem;
    margin-inline: 0;
    padding-inline: 0;
  }

  .reportes-tabs-nav .rpt-tab {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    font-size: 0.72rem;
    line-height: 1.1rem;
  }

  .reportes-chip-button {
    justify-content: center;
  }

  #btnReportesTour {
    align-self: flex-end;
    padding: 0.45rem 0.85rem;
  }

  .reportes-filtros-toolbar-actions {
    align-items: stretch;
  }

  .reportes-filtros-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .reportes-field--half {
    grid-column: span 1;
  }

  .reportes-field--full {
    grid-column: 1 / -1;
  }

  .reportes-period-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
  }

  .reportes-period-controls button {
    width: 100%;
    justify-content: center;
    min-height: 2.35rem;
  }

  .reportes-period-label {
    grid-column: 1 / -1;
    display: block;
    margin-left: 0;
    text-align: center;
  }

  .reportes-filtros-body input,
  .reportes-filtros-body select,
  .reportes-filtros-body .select-pos {
    min-width: 0;
  }

  .reportes-quick-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 0.45rem;
    align-items: stretch;
  }

  .reportes-quick-actions>* {
    width: 100%;
  }

  .reportes-quick-actions>.relative {
    min-width: 0;
  }

  .reportes-action-button {
    justify-content: center;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #btn-rango-rapido,
  #rpt-export {
    width: 100%;
    white-space: nowrap;
  }

  #rpt-filtrar {
    width: 100%;
  }

  #btn-reportes-filtros,
  .reportes-action-button {
    min-height: 2.35rem;
  }

  .reportes-pres-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem 0.8rem;
    padding: 0.9rem;
  }

  .reportes-pres-side {
    gap: 0.4rem;
  }

  .reportes-pres-total {
    font-size: 0.98rem;
  }

  .reportes-pres-actions button:not(.btn-trash) {
    font-size: 0.62rem;
    padding: 0.42rem 0.55rem;
  }

  .reportes-table {
    table-layout: fixed;
    min-width: 100%;
  }

  .reportes-table th,
  .reportes-table td {
    padding: 0.7rem 0.4rem;
    font-size: 0.7rem;
    vertical-align: top;
  }

  .reportes-table th:nth-child(1),
  .reportes-table td:nth-child(1) {
    width: 34%;
  }

  .reportes-table th:nth-child(2),
  .reportes-table td:nth-child(2) {
    width: 30%;
  }

  .reportes-table th:nth-child(6),
  .reportes-table td:nth-child(6),
  .reportes-table th:nth-child(7),
  .reportes-table td:nth-child(7) {
    width: 18%;
  }

  .reportes-table td:nth-child(1),
  .reportes-table td:nth-child(2) {
    text-align: left;
  }

  .reportes-table td:nth-child(6),
  .reportes-table td:nth-child(7) {
    text-align: right;
  }

  .reportes-sale-date .text-\[10px\],
  .reportes-table td .text-\[10px\] {
    line-height: 1.1rem;
  }

  .reportes-detail-cell {
    padding: 0.8rem;
  }

  .reportes-list-card {
    border-radius: 1rem;
  }

  .pos-main {
    padding: 0.75rem 0.55rem;
    gap: 0.75rem;
  }

  .pos-main section {
    border-radius: 1rem;
    padding: 0.9rem 0.95rem;
  }

  .pos-main .pos-tab-btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.75rem;
  }

  .pos-main input,
  .pos-main select,
  .pos-main .select-pos {
    font-size: 0.85rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  /* Carrito más compacto y legible en móvil */
  .pos-main #venta-items-cuerpo tr {
    font-size: 0.78rem;
  }

  .pos-main #venta-items-cuerpo td {
    padding: 0.12rem 0.35rem;
    font-size: 0.78rem;
  }

  .pos-main #venta-items-cuerpo td:first-child {
    padding-left: 0.25rem;
  }

  .pos-main #items-count {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
  }

  .pos-main .btn-pos-add {
    width: 130px;
    height: 44px;
  }

  .pos-main .btn-pos-add .text {
    transform: translateX(30px);
    font-size: 0.85rem;
  }

  .pos-main .btn-pos-add .icon {
    transform: translateX(100px);
    height: 32px;
    width: 32px;
  }

  /* Evitar que el panel derecho quede fijo en móviles largos */
  .pos-main section.sticky {
    position: static;
    top: auto;
  }
}

@keyframes tabPanelFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botón principal POS (Registrar venta / devolución) basado en cssbuttons-io-button */
.cssbuttons-io-button {
  background: #2563eb;
  color: #ffffff;
  font-family: inherit;
  padding: 0.35em 3.3em 0.35em 1.2em;
  font-size: 17px;
  font-weight: 600;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 1.6em -0.6em #2563eb;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  cursor: pointer;
  width: 100%;
  transition: box-shadow 0.2s ease, transform 0.15s ease, filter 0.2s ease;
}

.cssbuttons-io-button .cssbtn-label {
  position: relative;
  z-index: 1;
}

.cssbuttons-io-button:hover .cssbtn-label {
  color: transparent;
  opacity: 0;
  transition: opacity 0.15s linear, color 0.15s linear;
}

.cssbuttons-io-button .icon {
  background: #ffffff;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em #2563eb;
  right: 0.3em;
  transition: all 0.3s ease;
}

.cssbuttons-io-button .icon svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.3s ease;
  color: #2563eb;
}

.cssbuttons-io-button:hover .icon {
  width: calc(100% - 0.6em);
}

.cssbuttons-io-button:hover .icon svg {
  transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon {
  transform: scale(0.95);
}

/* Variante "inversa" para modo devolución */
.cssbuttons-io-button--dev {
  background: #ec3232;
  color: #ffffff;
  box-shadow: inset 0 0 1.6em -0.6em rgba(123, 82, 185, 0.35);
}

.cssbuttons-io-button--dev .icon {
  background: #ffffff;
  box-shadow: 0.1em 0.1em 0.6em 0.2em rgba(123, 82, 185, 0.55);
}

.cssbuttons-io-button--dev .icon svg {
  color: #ec3232;
  transform: rotate(180deg);
}

.cssbuttons-io-button--dev:hover .icon svg {
  transform: translateX(-0.1em) rotate(180deg);
}

/* Toggle switch personalizado para checkboxes (IVA, IGTF, ajustes) */
.switch {
  --switch-width: 46px;
  --switch-height: 24px;
  --switch-bg: rgb(148, 163, 184);
  --switch-checked-bg: #2563eb;
  --circle-diameter: 18px;
  --circle-bg: #ffffff;
  --circle-shadow: 1px 1px 2px rgba(146, 146, 146, 0.45);
  --circle-checked-shadow: -1px 1px 2px rgba(163, 163, 163, 0.45);
  --switch-offset: calc((var(--switch-height) - var(--circle-diameter)) / 2);
  --switch-transition: all 0.2s cubic-bezier(0.27, 0.2, 0.25, 1.51);
  --circle-transition: var(--switch-transition);
  --icon-transition: all 0.2s cubic-bezier(0.27, 0.2, 0.25, 1.51);
  --icon-cross-color: var(--switch-bg);
  --icon-cross-size: 6px;
  --icon-checkmark-color: var(--switch-checked-bg);
  --icon-checkmark-size: 10px;
  --effect-width: calc(var(--circle-diameter) / 2);
  --effect-height: calc(var(--effect-width) / 2 - 1px);
  --effect-bg: var(--circle-bg);
  --effect-border-radius: 1px;
  --effect-transition: all 0.2s ease-in-out;
  display: inline-block;
  position: relative;
}

.switch input {
  display: none;
}

.switch svg {
  transition: var(--icon-transition);
  position: absolute;
  height: auto;
}

.switch .checkmark {
  width: var(--icon-checkmark-size);
  color: var(--icon-checkmark-color);
  transform: scale(0);
}

.switch .cross {
  width: var(--icon-cross-size);
  color: var(--icon-cross-color);
}

.switch .slider {
  box-sizing: border-box;
  width: var(--switch-width);
  height: var(--switch-height);
  background: var(--switch-bg);
  border-radius: 999px;
  display: flex;
  align-items: center;
  position: relative;
  transition: var(--switch-transition);
  cursor: pointer;
}

.switch .circle {
  width: var(--circle-diameter);
  height: var(--circle-diameter);
  background: var(--circle-bg);
  border-radius: inherit;
  box-shadow: var(--circle-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--circle-transition);
  z-index: 1;
  position: absolute;
  left: var(--switch-offset);
}

.switch .slider::before {
  content: "";
  position: absolute;
  width: var(--effect-width);
  height: var(--effect-height);
  left: calc(var(--switch-offset) + var(--effect-width) / 2);
  background: var(--effect-bg);
  border-radius: var(--effect-border-radius);
  transition: var(--effect-transition);
}

.switch input:checked+.slider {
  background: var(--switch-checked-bg);
}

.switch input:checked+.slider .checkmark {
  transform: scale(1);
}

.switch input:checked+.slider .cross {
  transform: scale(0);
}

.switch input:checked+.slider::before {
  left: calc(100% - var(--effect-width) - var(--effect-width) / 2 - var(--switch-offset));
}

.switch input:checked+.slider .circle {
  left: calc(100% - var(--circle-diameter) - var(--switch-offset));
  box-shadow: var(--circle-checked-shadow);
}

.login-bg {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.nota-metodo {
  margin-top: 10px;
}

html,
body {
  height: 100%;
}

.notfound-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e1e24;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.notfound-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.card {
  --bg-color: #1e1e24;
  --bg-gradient: linear-gradient(135deg, #1e1e24 0%, #2a2a35 100%);
  --duck-body: #f4f4f5;
  --duck-wing: #e4e4e7;
  --duck-beak: #ff3b30;
  --duck-feet: #ff9f0a;
  --duck-eye: #18181b;
  --base-speed: 1s;
  --turbo-speed: 0.3s;
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 500px;
  background: var(--bg-gradient);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  --base-speed: var(--turbo-speed);
}

.card .error-container {
  text-align: center;
  z-index: 10;
  margin-bottom: 2rem;
  pointer-events: none;
}

.card .error-code {
  font-size: 10rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 0.8;
  transition: color 0.3s ease;
  letter-spacing: -5px;
}

.card:hover .error-code {
  color: rgba(255, 255, 255, 0.1);
}

.card .error-msg {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-top: -20px;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.card .home-btn {
  pointer-events: auto;
  display: inline-block;
  padding: 14px 32px;
  background-color: #fff;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.card .home-btn:hover {
  background-color: var(--duck-beak);
  color: white;
  transform: scale(1.05);
}

.card .duck__wrapper {
  display: grid;
  place-content: center;
  z-index: 5;
  transform: scale(0.85);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .duck__wrapper {
  transform: scale(0.85) rotate(5deg) translateX(20px);
}

.card .duck {
  display: flex;
  flex-direction: column;
  position: relative;
}

.card .duck__inner {
  display: flex;
  flex-direction: column;
  position: relative;
  animation: bird-up-down calc(var(--base-speed) / 2) linear infinite;
}

.card .duck__head {
  align-self: flex-end;
  width: 6rem;
  height: 4rem;
  border-radius: 8rem 8rem 0 0;
  background-color: var(--duck-body);
  position: relative;
  z-index: 1;
}

.card .duck__head::after,
.card .duck__head::before {
  content: "";
  position: absolute;
  border-radius: 1rem;
  background-color: var(--duck-body);
  width: 0.4rem;
  height: 2rem;
  top: 0;
}

.card .duck__head::after {
  left: 44%;
  transform: translate(-50%, -50%) rotate(-30deg);
}

.card .duck__head::before {
  left: 45%;
  transform: translate(-50%, -50%) rotate(10deg);
}

.card .duck__white {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  width: 0.6rem;
  height: 1.3rem;
  transform: rotate(40deg);
  border-radius: 50%;
  border-left: 0.2rem solid rgba(255, 255, 255, 0.8);
}

.card .duck__eye {
  position: absolute;
  bottom: 0.2rem;
  right: 1rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: var(--duck-eye);
  animation: eye-animation 2s infinite linear;
}

.card .duck__mouth {
  position: absolute;
  right: 0;
  top: 40%;
  width: 1rem;
  height: 1.2rem;
  transform: translate(90%, -50%);
  clip-path: polygon(0 0, 100% 40%, 100% 60%, 0% 100%);
  border-radius: 0 1rem 1rem 0;
  background-color: var(--duck-beak);
}

.card .duck__body {
  width: 9.5rem;
  height: 5rem;
  border-radius: 1rem 0 16rem 16rem;
  background-color: var(--duck-body);
  position: relative;
  overflow: hidden;
}

.card .duck__body::after {
  content: "";
  position: absolute;
  width: 105%;
  height: 200%;
  left: 50%;
  top: -95%;
  transform: translate(-50%, 0.02rem) rotate(-6deg);
  border-radius: 50%;
  border-bottom: 1rem solid #e4e4e7;
}

.card .duck__wing {
  position: absolute;
  left: 0.6rem;
  top: 55%;
  width: 4rem;
  height: 2.4rem;
  border-radius: 1rem 1rem 4rem 4rem;
  background-color: var(--duck-wing);
  transform: translate(0, -50%);
  transform-origin: right;
  animation: wing-animation var(--base-speed) linear infinite;
  z-index: 1;
}

.card .duck__foot {
  position: absolute;
  width: 0.6rem;
  height: 2rem;
  background-color: var(--duck-feet);
  z-index: -1;
}

.card .duck__foot::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 0.6rem;
  bottom: 0rem;
  left: -0.5rem;
  background-color: var(--duck-feet);
  border-radius: 1rem;
}

.card .duck__foot--1,
.card .duck__foot--2 {
  left: 40%;
  bottom: 0;
  transform: translate(-50%, 80%);
}

.card .duck__foot--1 {
  animation: foot-ans var(--base-speed) linear infinite;
}

.card .duck__foot--2 {
  animation: foot-ans var(--base-speed) calc(var(--base-speed) / 2) linear infinite;
}

.card .surface {
  position: absolute;
  bottom: -1.9rem;
  left: 55%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.2);
  width: 8rem;
  height: 0.5rem;
  border-radius: 1rem;
  animation: surface-animation calc(var(--base-speed) / 2) linear infinite;
  filter: blur(2px);
}

.card .orb {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  animation: orb-animation 8s linear infinite;
}

.card:hover .orb {
  width: 150px !important;
  height: 2px !important;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  animation-duration: 0.5s;
}

.card .orb--1 {
  top: 10%;
  width: 40px;
  height: 40px;
  animation-delay: 0s;
}

.card .orb--2 {
  top: 30%;
  width: 20px;
  height: 20px;
  animation-delay: -2s;
}

.card .orb--3 {
  top: 60%;
  width: 60px;
  height: 60px;
  animation-delay: -4s;
}

.card .orb--4 {
  top: 80%;
  width: 30px;
  height: 30px;
  animation-delay: -6s;
}

@keyframes surface-animation {

  0%,
  100% {
    transform: translateX(-50%) scaleX(0.9);
  }

  50% {
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes foot-ans {
  0% {
    transform: translate(-50%, 80%) rotate(0deg);
  }

  10% {
    transform: translate(-150%, 80%) rotate(10deg);
  }

  20% {
    transform: translate(-150%, 10%) rotate(10deg);
  }

  40% {
    transform: translate(400%, 10%) rotate(-20deg);
  }

  60% {
    transform: translate(600%, 60%) rotate(-20deg);
  }

  70% {
    transform: translate(500%, 60%) rotate(0deg);
  }
}

@keyframes bird-up-down {

  0%,
  100% {
    transform: translateY(0.4rem);
  }

  50% {
    transform: translateY(0rem);
  }
}

@keyframes wing-animation {

  0%,
  100% {
    transform: translate(0, -50%) rotate(16deg);
  }

  50% {
    transform: translate(0, -50%) rotate(-2deg);
  }
}

@keyframes eye-animation {

  0%,
  20% {
    transform: scaleY(1);
  }

  10% {
    transform: scaleY(0);
  }
}

@keyframes orb-animation {
  0% {
    transform: translateX(650px);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateX(-200px);
    opacity: 0;
  }
}

/*# sourceMappingURL=styles.css.map */