@charset "UTF-8";
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/*'Outfit', sans-serif;*/
/* Border */
/*Transition*/
/** Media Queries **/
:root {
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid #e5e7eb;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1;
  letter-spacing: -0.025em;
  font-size: 0.875rem;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

.hidden {
  display: none;
}

.warning-message {
  /*@if type-of($color-map) == map */
  color: #FFC107;
  font-size: 14px;
  margin-top: 5px;
}

.no-datos {
  text-align: center;
  font-size: 1.5rem;
}

#loading div {
  font-weight: bold;
  animation: fadeInOut 1.5s infinite;
}

.alert {
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: none;
}
.alert__success {
  background: #bae4c4;
  padding: 1rem;
  color: green;
  border-left: 5px solid;
  display: block;
}
.alert__error {
  background: #ebc4c4;
  padding: 1rem;
  color: #d32f2f;
  border-left: 5px solid;
  display: block;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.swal2-popup {
  font-size: 1.5rem !important;
}

.no-scroll {
  overflow: hidden;
}

@view-transition {
  navigation: auto;
}
@keyframes fade-back {
  from {
    opacity: 1;
    scale: 1;
  }
  to {
    opacity: 0.5;
    scale: 0.8;
  }
}
@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0.5;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
::view-transition-old(root) {
  animation: 1s cubic-bezier(0.87, 0, 0.13, 1) both fade-back;
}

::view-transition-new(root) {
  animation: 1s cubic-bezier(0.87, 0, 0.13, 1) both slide-in;
}

h1, h2, h3 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 900;
  margin: 2rem 0;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

.text-center {
  text-align: center;
}

[class$=__heading] {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 900;
  margin: 2rem 0;
  display: flex;
  justify-content: space-between;
}

[class$=__subtitulo] {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  margin: 2rem 0;
}

[class$=__heading]:before, [class$=__heading]:after {
  content: "";
  background: black;
  width: 10%;
  height: 2px;
  display: block;
  margin: auto 5%;
}

[class$=__descripcion] {
  margin: 6rem 0 3rem 0;
  font-size: 1.8rem;
  text-align: center;
  font-weight: 300;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin-bottom: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  order: 1;
  flex: 1;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
}
@media (min-width: 768px) {
  .logo {
    flex: none;
  }
}
.logo__icon {
  width: 28px;
  height: 28px;
  /*@if type-of($color-map) == map */
  color: #28A745;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1rem;
}
.logo__text {
  font-weight: 700;
  font-size: 1.5rem;
  /*@if type-of($color-map) == map */
  color: #030712;
}
.logo__text--footer {
  font-weight: 600;
  font-size: 1rem;
}
.logo.logo-auth {
  justify-content: center;
}

.header {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  border-bottom: 1px solid #E1E5E9;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__container {
  width: min(90%, 80rem);
  margin: 0 auto;
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 1440px) {
  .header__container {
    width: min(90%, 80rem);
    margin: 0 auto;
    gap: 0;
  }
}
.header__nav {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100dvh;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  flex-direction: column;
  gap: 0;
  padding: 0;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  order: 2;
}
@media (min-width: 768px) {
  .header__nav {
    position: relative;
    width: auto;
    height: auto;
    box-shadow: none;
    transform: none;
    gap: 2rem;
    /*flex: 1;*/
    justify-content: center;
    visibility: visible;
    opacity: 1;
    z-index: 40;
  }
}
.header__nav.mobile-menu-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  animation: slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.header__nav.mobile-menu-closing {
  animation: slide-out 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-items {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 768px) {
  .nav-items {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.nav-item {
  display: flex;
  padding: 1rem;
  border-radius: 0;
  justify-content: flex-start;
  width: 100%;
  gap: 0.8rem;
  align-items: center;
  border-bottom: 1px solid #F1F3F4;
  /*@if type-of($color-map) == map */
  color: #6c757d;
}
@media (min-width: 768px) {
  .nav-item {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    border-radius: 0.4rem;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    margin: 0;
    width: auto;
    border: 0;
  }
}
.nav-item:last-child {
  border-bottom: none;
}
.nav-item:hover {
  /*@if type-of($color-map) == map */
  background-color: #DCFCE7;
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.nav-item--active {
  /*@if type-of($color-map) == map */
  background-color: #DCFCE7;
  /*@if type-of($color-map) == map */
  color: #28A745;
}
@media (min-width: 768px) {
  .nav-item--active span.nav-item__text {
    display: block;
  }
}
.nav-item__icon {
  width: 20px;
  height: 20px;
  line-height: 0;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .nav-item__icon {
    width: 16px;
    height: 16px;
  }
}
.nav-item__text {
  display: block;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .nav-item__text {
    display: none;
  }
}
@media (min-width: 1024px) {
  .nav-item__text {
    font-size: 0.9rem;
    display: block;
  }
}

.header__user {
  flex-shrink: 0;
  order: 2;
  position: relative;
  right: -2rem;
  cursor: pointer;
  z-index: 50;
}
@media (min-width: 768px) {
  .header__user {
    right: 5px;
  }
}
@media (min-width: 768px) {
  .header__user {
    order: 3;
  }
}

/*
        .user-avatar {
            width: 40px;
            height: 40px;
            background: #48bb78;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 2px solid transparent;
        }
*/
.user-avatar {
  width: 20px;
  height: 20px;
  /*@include color-variant(principal, base, background-color);
  @include color-variant(texto, light, color);*/
  background-color: rgb(220, 252, 231);
  color: #1e7e34;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 1rem;
}

.user-avatar.active, .user-avatar:hover {
  border-color: #48bb78;
  box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: -0.5rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1001;
  min-width: 180px;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: white;
  border: 1px solid #e2e8f0;
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}

.dropdown__header {
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown__user-name {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
}

.dropdown__user-email {
  font-size: 14px;
  color: #718096;
}

.dropdown__user-role {
  font-size: 12px;
  color: #a0aec0;
  margin-top: 2px;
}

.dropdown__menu {
  padding: 0;
}

.dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #4a5568;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.dropdown__item:hover {
  background-color: #f7fafc;
  color: #2d3748;
}

.dropdown__item--logout {
  color: #e53e3e;
  border-top: 1px solid #f1f5f9;
}

.dropdown__item--logout:hover {
  background-color: #fed7d7;
  color: #c53030;
}

.dropdown__icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* Overlay para cerrar el dropdown */
.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 999;
  display: none;
}

.dropdown-overlay.active {
  display: block;
  background-color: rgba(212, 237, 218, 0.63);
  z-index: 45;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(2px);
}

.user-info {
  display: flex;
  flex-direction: column;
}
.user-info__name {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 0.9rem;
}
.user-info__email {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.8rem;
}

@keyframes slide-in-menu {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slide-out-menu {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes fade-content {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0.5;
    transform: scale(0.95);
  }
}
@keyframes restore-content {
  from {
    opacity: 0.5;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
body {
  transition: none;
}
body.mobile-menu-open {
  overflow: hidden;
}
body.mobile-menu-open #main-content {
  transform: translateX(-84px) scale(0.8);
  opacity: 0.5;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.mobile-menu-closing #main-content {
  animation: fade-forward 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  order: 3;
}
@media (min-width: 768px) {
  .hamburger-btn {
    display: none;
  }
}
.hamburger-btn__line {
  width: 24px;
  height: 2px;
  /*@if type-of($color-map) == map */
  background-color: #2C3E50;
  margin: 2px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.hamburger-btn.active .hamburger-btn__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn.active .hamburger-btn__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.active .hamburger-btn__line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #E1E5E9;
  width: 100%;
}
@media (min-width: 768px) {
  .mobile-menu-header {
    display: none;
  }
}
.mobile-menu-header__logo .logo__text {
  font-size: 1rem;
}

.mobile-menu-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
.mobile-menu-close:hover {
  background-color: #F1F3F4;
}
.mobile-menu-close__icon {
  font-size: 1.2rem;
  /*@if type-of($color-map) == map */
  color: #4B5563;
}

.mobile-menu-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid #E1E5E9;
  margin-top: auto;
  width: 100%;
}
@media (min-width: 768px) {
  .mobile-menu-user {
    display: none;
  }
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(212, 237, 218, 0.63);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(2px);
}
.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
  visibility: visible;
}
@media (min-width: 768px) {
  .mobile-menu-overlay {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.filters {
  margin-bottom: 1.5rem;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
}
.filters__container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .filters__container {
    flex-direction: row;
    align-items: center;
  }
}

.search-box {
  position: relative;
  flex: 1;
  display: flex;
  gap: 1rem;
}
.search-box__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 1rem;
  background-color: transparent;
}
.search-box__input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #E1E5E9;
  border-radius: 8px;
  font-size: 0.95rem;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  transition: border-color 0.3s ease;
}
.search-box__input::placeholder {
  /*@if type-of($color-map) == map */
  color: #4B5563;
}
.search-box__input:focus {
  outline: none;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.search-btn {
  padding: 0.75rem 1rem;
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}
.search-btn:hover {
  /*@if type-of($color-map) == map */
  background-color: #155724;
}

.filters-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 768px) {
  .filters-group {
    flex-direction: column;
    align-items: stretch;
  }
}

.filter-select,
.filter-date {
  padding: 0.5rem 0.75rem;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  font-size: 0.85rem;
  min-width: 150px;
  transition: border-color 0.2s ease;
}
.filter-select:focus,
.filter-date:focus {
  outline: none;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
}
@media (max-width: 768px) {
  .filter-select,
  .filter-date {
    min-width: auto;
    width: 100%;
  }
}

.filter-dropdown {
  position: relative;
  min-width: 180px;
}
.filter-dropdown__select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid #E1E5E9;
  border-radius: 8px;
  font-size: 0.95rem;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.filter-dropdown__select:focus {
  outline: none;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
.filter-dropdown__icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.8rem;
  pointer-events: none;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid gray;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1;
}
.btn--primary {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
}
.btn--primary:hover {
  /*@if type-of($color-map) == map */
  background-color: #1E7E34;
  /*@if type-of($color-map) == map */
  border-color: #1E7E34;
}
.btn--secondary {
  /*@if type-of($color-map) == map */
  background-color: #FFFFFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  /*@if type-of($color-map) == map */
  color: #030712;
}
.btn--secondary:hover {
  /*@if type-of($color-map) == map */
  background-color: #F3F4F6;
}
.btn--delete {
  /*@if type-of($color-map) == map */
  background-color: #DC3545;
  /*@if type-of($color-map) == map */
  border-color: #DC3545;
}
.btn--delete:hover {
  background-color: #C20B0B;
  border-color: #C20B0B;
}
.btn--shadow {
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 0.6rem 1.9rem;
}
.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.btn__icon {
  font-size: 1rem;
  align-self: flex-end;
}
.btn--flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.btn--full {
  width: 100%;
}
.btn:has(.loading-spinner) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn--search {
  padding: 0.5rem;
  background-color: var(--primary-color, #007bff);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.btn--search:hover:not(:disabled) {
  background-color: var(--primary-hover, #0056b3);
}
.btn--search:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn--search .loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto !important;
}

.btn-mobile {
  display: block;
  margin-top: 1rem;
}
.btn-mobile .btn {
  width: 100%;
}
@media (min-width: 768px) {
  .btn-mobile {
    display: none;
  }
}

.btn-action {
  display: inline;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #E1E5E9;
  border-radius: 6px;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-action:hover {
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #28A745;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn-action__icon {
  font-size: 0.75rem;
}
.btn-action__text {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .btn-action {
    padding: 0.5rem;
    min-width: 40px;
    justify-content: center;
  }
}

/*

// Buttons
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;

    &--primary {
        @include color-variant(principal, base, background-color);
        @include color-variant(texto, light, color);

        &:hover {
            @include color-variant(principal, hover, background-color);
        }
    }

    &--sm {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    &__icon {
        font-size: 0.9rem;
    }
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    @include color-variant(texto, secundario, color);
    transition: all 0.3s ease;

    &:hover {
        background-color: #F1F3F4;
    }
}

// Links
.link-secondary {
    @include color-variant(texto, secundario, color);
    text-decoration: none;
    font-weight: 500;

    &:hover {
        @include color-variant(principal, base, color);
    }
}*/
/*
// Back Button
.btn-back {
    width: 40px;
    height: 40px;
    border: 1px solid #E1E5E9;
    border-radius: 8px;
    @include color-variant(fondo, principal, background-color);
    @include color-variant(texto, secundario, color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;

    &:hover {
        @include color-variant(principal, base, border-color);
        @include color-variant(principal, base, color);
    }

    &__icon {
        font-size: 1.2rem;
    }
}*/
.shipment {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  background-color: white;
  transition: all, 0.3s, ease;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .shipment {
    flex-direction: row;
    /*&__actions {
        align-self: flex-end;
    }*/
  }
}
.shipment:hover {
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
  cursor: pointer;
}
.shipment__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  flex: auto;
}
@media (min-width: 768px) {
  .shipment__main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.shipment__info {
  flex: 1;
}
.shipment__name {
  font-size: 1.1rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #030712;
  margin: 0;
}
.shipment__address {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  margin: 0 0 0.2rem;
  line-height: 1.4;
}
.shipment__name, .shipment__address {
  margin-bottom: 0.5rem;
}
.shipment__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .shipment__meta {
    flex-direction: column;
    gap: 0.25rem;
  }
}
.shipment__tracking {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-family: "Courier New", monospace;
  font-weight: 500;
}
.shipment__date {
  /*@if type-of($color-map) == map */
  color: #4B5563;
}
.shipment__price {
  /*@if type-of($color-map) == map */
  color: #28A745;
  font-weight: 600;
  font-size: 0.9rem;
}
.shipment__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.status-badge--delivered {
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
  /*@if type-of($color-map) == map */
  color: #155724;
}
.status-badge--transit {
  background-color: #FFF3E0;
  color: #F57C00;
}
.status-badge--pending {
  background-color: #FFF3E0;
  color: #FF9800;
}
.status-badge--cancelled {
  background-color: #FFEBEE;
  color: #D32F2F;
}
.status-badge--active {
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
  /*@if type-of($color-map) == map */
  color: #155724;
}
.status-badge--low-balance {
  background-color: #FFF3E0;
  color: #F57C00;
}
.status-badge--negative {
  background-color: #FFEBEE;
  color: #D32F2F;
}
.status-badge--suspended {
  background-color: #F5F5F5;
  color: #757575;
}
.status-badge--withdrawn {
  background-color: #E3F2FD;
  color: #1976D2;
}
.status-badge--delivered {
  background-color: #E8F5E8;
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.status-badge--requested {
  background-color: #FFF3E0;
  color: #F57C00;
}
.status-badge--in-transit {
  background-color: #F3E5F5;
  color: #7B1FA2;
}
.status-badge__icon {
  font-size: 0.75rem;
}
.status-badge__text {
  font-weight: 500;
}
.status-badge__indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  animation: pulse 2s infinite;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-row--full {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

/* Form Grid 
    gap: 20px;
}

.form-grid--two-columns {
    grid-template-columns: 1fr 1fr;
}*/
/* Form Sections */
.form-section {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
  margin-bottom: 35px;
  padding-bottom: 0;
}
.form-section__title {
  font-size: 1.2rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #030712;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-section__title-icon {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 1.1rem;
}

.form-group {
  flex: 1;
  margin-bottom: 1.5rem;
}
.form-group__label {
  display: block;
  font-weight: 500;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.form-group__input, .form-group__select, .form-group__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E1E5E9;
  border-radius: 8px;
  font-size: 0.95rem;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  transition: border-color 0.3s ease;
}
.form-group__input::placeholder, .form-group__select::placeholder, .form-group__textarea::placeholder {
  /*@if type-of($color-map) == map */
  color: #4B5563;
}
.form-group__input:focus, .form-group__select:focus, .form-group__textarea:focus {
  outline: none;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
.form-group__help {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.8rem;
  margin: 0.2rem 0 0 0.2rem;
}
.form-group__textarea {
  resize: vertical;
  min-height: 80px;
}
.form-group__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group--full-width {
  grid-column: 1/-1;
}

/*.form-group__wrapper > input {
    padding-left: 2.5rem;
}*/
.form-group__icon--left, .form-group__icon--right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /*@if type-of($color-map) == map */
  color: #adb5bd;
  font-size: 1rem;
  background-color: transparent;
  transition: color 0.3s ease;
}

.form-group__icon--left {
  left: 1rem;
}

.form-group__icon--right {
  right: 1rem;
}

.form-group__wrapper:has(.form-group__icon--left) > input, .form-group__wrapper:has(.form-group__icon--left) > textarea {
  padding-left: 2.5rem;
}

.form-group__wrapper:has(.form-group__icon--right) > input, .form-group__wrapper:has(.form-group__icon--right) > textarea {
  padding-right: 2.5rem;
}

.form-group__input:focus {
  outline: none;
  border-width: 2px;
  border-style: solid;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
}

.form-group__input::placeholder, .form-group__textarea::placeholder {
  /*@if type-of($color-map) == map */
  color: #adb5bd;
  font-weight: 400;
}

.form-group__input--error {
  /*@if type-of($color-map) == map */
  border-color: #DC3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group__input:focus + .form-group__icon {
  /*@if type-of($color-map) == map */
  color: #28A745;
}

.form-group__toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  /*@if type-of($color-map) == map */
  color: #ced4da;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: color 0.3s ease;
}

.form-group__toggle:hover {
  /*@if type-of($color-map) == map */
  color: #6c757d;
}

.form-group__error {
  /*@if type-of($color-map) == map */
  color: #DC3545;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.form-group__error--show {
  display: block;
}

.form-label {
  display: block;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.form-input:focus {
  outline: none;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
}
.form-input::placeholder {
  /*@if type-of($color-map) == map */
  color: #6B7280;
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}
@media (max-width: 480px) {
  .form-actions {
    flex-direction: column;
  }
}

.form-group__success {
  /*@if type-of($color-map) == map */
  color: #28A745;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.form-group__success--show {
  display: block;
}

/* Agregar al final del archivo */
/* Indicador de orden de campos */
.form-group--required-first::before {
  content: "1";
  position: absolute;
  top: 0;
  left: -25px;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.form-group--required-second::before {
  content: "2";
  position: absolute;
  top: 0;
  left: -25px;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.form-group--required-third::before {
  content: "3";
  position: absolute;
  top: 0;
  left: -25px;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Estado de campo deshabilitado hasta completar anteriores */
.form-group--pending {
  opacity: 0.6;
  pointer-events: none;
}

.form-group--pending .form-group__input,
.form-group--pending .form-group__select {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

/* Indicador de búsqueda automática */
.auto-search-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--primary-color);
  margin-top: 5px;
}

.auto-search-indicator .loading-spinner {
  width: 12px;
  height: 12px;
  border-width: 2px;
}

/* Body scroll lock when modal is open */
body.modal-open {
  overflow: hidden;
}

/*
.modal {

    &__content {
        @include color-variant(fondo, principal, background-color);
        border-radius: 12px;
        width: 90%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    }

    &__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid #F1F3F4;
    }

    &__title {
        @include color-variant(texto, principal, color);
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0;
    }

    &__close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        @include color-variant(texto, secundario, color);
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color 0.2s ease;

        &:hover {
            background-color: #F5F5F5;
        }
    }

    &__body {
        padding: 2rem;
    }
}*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal--active {
  opacity: 1;
  visibility: visible;
}
.modal__content {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  border-radius: 12px;
  width: 95%;
  max-height: 70vh;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  overflow-y: auto;
  scrollbar-width: thin;
}
@media (min-width: 768px) {
  .modal__content {
    width: 90%;
    max-width: 500px;
  }
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid;
  /*@if type-of($color-map) == map */
  border-color: #e9ecef;
}
.modal__title {
  font-size: 1.5rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #343a40;
  margin: 0;
}
.modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  /*@if type-of($color-map) == map */
  color: #ced4da;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.modal__close:hover {
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.modal__body {
  margin-bottom: 2rem;
}
.modal__footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.modal--active .modal__content {
  transform: translateY(0);
}

/* Page Loader Styles */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-icon {
  margin-bottom: 20px;
  animation: truck-drive 2s ease-in-out infinite;
  transform-origin: center;
}

.loader-icon svg {
  color: #3498db;
}

/* Animación del camión avanzando */
@keyframes truck-drive {
  0% {
    transform: translateX(-30px) scale(0.9);
  }
  25% {
    transform: translateX(-10px) translateY(-3px) scale(0.95);
  }
  50% {
    transform: translateX(10px) translateY(-5px) scale(1);
  }
  75% {
    transform: translateX(20px) translateY(-3px) scale(1.05);
  }
  100% {
    transform: translateX(30px) scale(1.1);
  }
}
/* Animación alternativa con vibración de motor */
@keyframes truck-moving {
  0%, 100% {
    transform: translateX(-20px) rotate(-1deg);
  }
  25% {
    transform: translateX(-10px) rotate(0deg) translateY(-2px);
  }
  50% {
    transform: translateX(0px) rotate(1deg);
  }
  75% {
    transform: translateX(10px) rotate(0deg) translateY(-2px);
  }
  85% {
    transform: translateX(20px) rotate(-1deg);
  }
}
/* Efecto de humo/polvo detrás del camión */
.loader-icon::after {
  content: "";
  position: absolute;
  left: -40px;
  top: 50%;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: dust-trail 2s ease-in-out infinite;
  transform: translateY(-50%);
}

@keyframes dust-trail {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
    left: -40px;
  }
  20% {
    opacity: 0.6;
    transform: translateY(-50%) scale(1);
  }
  60% {
    opacity: 0.3;
    transform: translateY(-50%) scale(1.5);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(2);
    left: -60px;
  }
}
/* Hacer que el loader-icon sea relative para el pseudo-elemento */
.loader-icon {
  position: relative;
  display: inline-block;
}

.spinner-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
}

.spinner-dots span {
  width: 10px;
  height: 10px;
  background-color: #3498db;
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}

.spinner-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.spinner-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%, 60%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  30% {
    transform: scale(1.5);
    opacity: 0.7;
  }
}
.loader-text {
  color: #666;
  font-size: 16px;
  margin: 0;
}

/* Ocultar el contenido del formulario inicialmente */
.progress-steps,
.form-steps {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.progress-steps.loaded,
.form-steps.loaded {
  opacity: 1;
}

/* Spinner alternativo simple (si prefieres usar el spinner circular) */
.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Loading spinner pequeño para botones */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Línea de carretera */
.road-line {
  width: 150px;
  height: 3px;
  background: #ddd;
  margin: -10px auto 20px;
  position: relative;
  overflow: hidden;
}

.road-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 20px;
  height: 100%;
  background: repeating-linear-gradient(90deg, #666 0px, #666 10px, transparent 10px, transparent 20px);
  animation: road-move 1s linear infinite;
}

@keyframes road-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(40px);
  }
}
.main {
  width: 100%;
  min-height: calc(100vh - 65px);
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
  padding: 1.5rem 0;
  overflow-x: hidden;
}
.main__container {
  width: min(90%, 80rem);
  margin: 0 auto;
}
@media (min-width: 1440px) {
  .main__container {
    width: min(90%, 80rem);
    margin: 0 auto;
  }
}

.dashboard {
  display: grid;
  grid-template-columns: 400px 1fr;
  grid-template-rows: auto 1fr;
  gap: 1.5rem;
  grid-template-areas: "stats stats stats " "balance shipments shipments" "balance shipments shipments";
}
.dashboard--users {
  grid-template-columns: 1fr;
  gap: 1.5rem;
  grid-template-areas: "stats stats " "shipments shipments";
}
.dashboard__stats {
  grid-area: stats;
}
.dashboard__balance {
  grid-area: balance;
}
.dashboard__shipments {
  grid-area: shipments;
}
@media (max-width: 1024px) {
  .dashboard {
    grid-template-columns: 1fr;
    grid-template-areas: "stats" "balance" "shipments";
  }
}

.stats-grid {
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(0, 1fr));*/
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-card {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
}
.stat-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-card__title {
  /*@if type-of($color-map) == map */
  color: #000000;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}
.stat-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.stat-card__icon--blue {
  background-color: #E3F2FD;
}
.stat-card__icon--orange {
  background-color: #FFF3E0;
}
.stat-card__icon--green {
  background-color: #E8F5E8;
}
.stat-card__icon--yellow {
  background-color: #FFFBF0;
}
.stat-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
}

/*

// Responsive
@media (max-width: 768px) {
    .header {
        &__container {
            flex-direction: column;
            gap: 1rem;
        }

        &__nav {
            order: 2;
            flex-direction: column;
            gap: 0.5rem;
        }
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }


}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}*/
.shipments {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
}

.shipments-section__header {
  display: block;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .shipments-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.shipments-section__title {
  font-size: 1.5rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #030712;
  margin-top: 0;
  margin-bottom: 1rem;
}
.shipments-section__footer {
  text-align: center;
  margin-top: 1.5rem;
}

.shipments-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.breadcrumb__link {
  /*@if type-of($color-map) == map */
  color: #28A745;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb__link:hover {
  /*@if type-of($color-map) == map */
  color: #155724;
}
.breadcrumb__separator {
  /*@if type-of($color-map) == map */
  font-weight: 300;
}
.breadcrumb__current {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-weight: 500;
}

.shipment-header {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
  margin-bottom: 1.5rem;
}
.shipment-header__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .shipment-header__main {
    flex-direction: column;
    gap: 1rem;
  }
}
.shipment-header__info {
  flex: 1;
}
.shipment-header__title {
  font-size: 2rem;
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 0.5rem 0;
}
@media (max-width: 768px) {
  .shipment-header__title {
    font-size: 1.5rem;
  }
}
.shipment-header__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.95rem;
}
@media (max-width: 480px) {
  .shipment-header__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}
.shipment-header__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .shipment-header__actions {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .shipment-header__actions {
    flex-direction: column;
  }
}

.shipment-date,
.shipment-company {
  font-weight: 500;
}

.shipment-separator {
  /*@if type-of($color-map) == map */
}
@media (max-width: 480px) {
  .shipment-separator {
    display: none;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.shipment-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}
@media (max-width: 1024px) {
  .shipment-content {
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .shipment-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.shipment-content__main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.shipment-content__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 1.5rem 0;
}
.section-title__icon {
  font-size: 1.5rem;
}

.tracking-section {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
}

.tracking-timeline {
  position: relative;
}
.tracking-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-principal-base) 0%, var(--color-principal-base) 75%, #E0E0E0 75%, #E0E0E0 100%);
}

.timeline-item {
  position: relative;
  padding-left: 4rem;
  padding-bottom: 2rem;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item__indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-item__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #E0E0E0;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}
.timeline-item--completed .timeline-item__dot {
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  position: relative;
}
.timeline-item--completed .timeline-item__dot::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 10px;
  font-weight: bold;
}
.timeline-item--current .timeline-item__dot {
  animation: currentPulse 2s infinite;
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
}
.timeline-item__content {
  padding-top: 0.25rem;
}
.timeline-item__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}
.timeline-item__title {
  font-size: 1.1rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0;
}
.timeline-item__time {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
.timeline-item__description {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
}
.timeline-item__location, .timeline-item__agent, .timeline-item__vehicle, .timeline-item__recipient, .timeline-item__signature {
  /*@if type-of($color-map) == map */
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.timeline-item__signature .signature-link {
  /*@if type-of($color-map) == map */
  color: #28A745;
  text-decoration: none;
}
.timeline-item__signature .signature-link:hover {
  text-decoration: underline;
}

@keyframes currentPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}
.package-section {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .package-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.package-detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.package-detail__label {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.package-detail__value {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-weight: 600;
  font-size: 1rem;
}

.notes-section {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.note-item {
  padding: 1.5rem;
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
  border-radius: 8px;
  border-left: 4px solid var(--color-principal-base);
}
.note-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}
.note-item__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.note-item__time {
  /*@if type-of($color-map) == map */
  font-size: 0.85rem;
  white-space: nowrap;
}
.note-item__content {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  line-height: 1.6;
  margin: 0;
}

.note-author__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.note-author__info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.note-author__name {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-weight: 600;
  font-size: 0.9rem;
}
.note-author__role {
  /*@if type-of($color-map) == map */
  font-size: 0.8rem;
}

.add-note {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.add-note__input {
  width: 100%;
  min-height: 80px;
  padding: 1rem;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  transition: border-color 0.2s ease;
}
.add-note__input:focus {
  outline: none;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
}
.add-note__input::placeholder {
  /*@if type-of($color-map) == map */
}

.quick-info,
.contact-info,
.related-shipments {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
}

.quick-info__title {
  font-size: 1.1rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 1.25rem 0;
}
.quick-info__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quick-info__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F1F3F4;
}
.quick-info__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.quick-info__label {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.9rem;
}
.quick-info__value {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-weight: 600;
  text-align: right;
}
.quick-info__value--price {
  /*@if type-of($color-map) == map */
  color: #28A745;
  font-size: 1.1rem;
}

.payment-status {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}
.payment-status--paid {
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
  /*@if type-of($color-map) == map */
  color: #155724;
}
.payment-status--pending {
  background-color: #FFF3E0;
  color: #F57C00;
}

.contact-info__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 1.25rem 0;
}
.contact-info__icon {
  font-size: 1.2rem;
}

.contact-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-details {
  flex: 1;
}

.contact-name {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.contact-email {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.85rem;
  margin: 0;
}

.contact-field {
  display: flex;
  gap: 0.5rem;
}
.contact-field__label {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 70px;
}
.contact-field__value {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 0.85rem;
  flex: 1;
}

.related-shipments__title {
  font-size: 1.1rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 1.25rem 0;
}
.related-shipments__view-all {
  /*@if type-of($color-map) == map */
  color: #28A745;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  display: inline-block;
}
.related-shipments__view-all:hover {
  text-decoration: underline;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.related-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.related-item:hover {
  background-color: #F5F5F5;
  transform: translateX(4px);
}
.related-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.related-item__id {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-weight: 600;
  font-size: 0.85rem;
}
.related-item__date {
  /*@if type-of($color-map) == map */
  font-size: 0.8rem;
}
.related-item__status {
  display: flex;
  align-items: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-dot--delivered {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
}
.status-dot--transit {
  background-color: #FF9800;
}
.status-dot--pending {
  background-color: #F57C00;
}
.status-dot--cancelled {
  background-color: #D32F2F;
}

@media (max-width: 768px) {
  .shipment-content__sidebar {
    order: -1;
  }
  .timeline-item {
    padding-left: 3rem;
  }
  .timeline-item__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .package-grid {
    grid-template-columns: 1fr;
  }
  .note-item__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .quick-info__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .quick-info__value {
    text-align: left;
  }
}
@media (max-width: 480px) {
  .shipment-header {
    padding: 1.5rem;
  }
  .tracking-section,
  .package-section,
  .notes-section {
    padding: 1.5rem;
  }
  .quick-info,
  .contact-info,
  .related-shipments {
    padding: 1.25rem;
  }
}
.progress-steps {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 2rem;
  max-width: 60rem;
  width: 60rem;
  gap: 1rem;
}
@media (min-width: 768px) {
  .progress-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 58rem;
  }
}
@media (min-width: 1024px) {
  .progress-steps {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 2rem auto;
    width: 57rem;
  }
}
@media (min-width: 1440px) {
  .progress-steps {
    width: 60rem;
  }
}

.step {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 1rem;
}
.step__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /*background-color: #F1F3F4;*/
  border: 2px solid #bcbdbd;
  /*@if type-of($color-map) == map */
  color: #4B5563;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}
.step__content {
  display: flex;
  align-items: center;
  position: relative;
}
.step__title {
  margin-left: 1rem;
  font-weight: 500;
  /*@if type-of($color-map) == map */
  color: #4B5563;
  white-space: nowrap;
  font-size: 0.9rem;
  /*@media (max-width: 768px) {
      display: none;
  }*/
}
.step__line {
  width: 5rem;
  height: 0.25rem;
  background-color: #E1E5E9;
  margin-left: 1rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .step__line {
    width: 60px;
    margin-left: 0.5rem;
  }
}
.step:last-child .step__line {
  display: none;
}
.step--active .step__icon {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
  border: 0;
}
.step--active .step__title {
  /*@if type-of($color-map) == map */
  color: #28A745;
  font-weight: 600;
}
.step--completed .step__icon {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
  border: none;
}
.step--completed .step__line {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
}

.form-steps {
  max-width: 60rem;
  margin: 0 auto;
}

.form-step {
  display: none;
}
.form-step--active {
  display: block;
}
.form-step__instructions {
  margin-bottom: 1.5rem;
  /*@if type-of($color-map) == map */
  color: #fd7e14;
}

.form-card {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 0.5rem;
}
.form-card__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #030712;
  margin: 0;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.form-card__icon {
  font-size: 1.2rem;
}

.phone-input {
  position: relative;
}
.phone-input__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  /*@if type-of($color-map) == map */
  color: #4B5563;
}
.phone-input__field {
  padding-left: 2.5rem;
}

.phone-input-whatsapp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.span-whatsapp {
  display: flex;
  gap: 0.3rem;
}

.phone-input > input[type=tel] {
  padding-left: 2.5rem;
  width: 83%;
}

.select-wrapper {
  position: relative;
}
.select-wrapper__icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.8rem;
  pointer-events: none;
}

.destination-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.destination-info__icon {
  font-size: 1.2rem;
}
.destination-info__content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.destination-info__label {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.9rem;
}
.destination-info__value {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
}
.destination-info__zone {
  background-color: #E8F5E8;
  /*@if type-of($color-map) == map */
  color: #28A745;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.currency-input {
  position: relative;
}
.currency-input__symbol {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-weight: 500;
}
.currency-input__field {
  padding-left: 2rem;
}

.package-sizes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.package-size {
  display: block;
  border: 2px solid #E1E5E9;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  width: 100%;
  /*&:hover {
      @include color-variant(principal, base, border-color);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }*/
}
.package-size--selected {
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
  padding: 1rem 1rem 0.5rem 1rem;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.package-size--selected .package-size__code {
  /*@if type-of($color-map) == map */
  background-color: #dee2e6;
  /*@if type-of($color-map) == map */
  color: #000000;
}
.package-size input[type=radio] {
  display: none;
}
.package-size__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.package-size__code {
  background-color: #F1F3F4;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
}
.package-size__title {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
}
.package-size__specs {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.8rem;
  line-height: 1.4;
}
.package-size__specs p {
  margin: 0 0 0.25rem 0;
}

.check-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  top: 8px;
  right: 8px;
  animation: checkMarkAppear 0.3s ease;
}

@keyframes checkMarkAppear {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.package-size--selected .check-mark, .payment-method .check-mark {
  opacity: 1;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-method {
  display: flex;
  align-items: center;
  border: 2px solid #E1E5E9;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.payment-method input[type=radio] {
  display: none;
}
.payment-method:hover {
  /*@if type-of($color-map) == map */
  border-color: #28A745;
}
.payment-method--selected {
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
}
.payment-method__content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}
.payment-method__icon {
  font-size: 1.1rem;
}
.payment-method__text {
  font-weight: 500;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
}

.coordinates-section {
  margin: 1.5rem 0;
}
.coordinates-section__title {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
}

.coordinates-tabs {
  display: flex;
  border-bottom: 1px solid #E1E5E9;
  margin-bottom: 1rem;
}

.coordinates-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  /*@if type-of($color-map) == map */
  color: #4B5563;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
.coordinates-tab:hover {
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.coordinates-tab--active {
  /*@if type-of($color-map) == map */
  color: #28A745;
  /*@if type-of($color-map) == map */
  border-bottom-color: #28A745;
}
.coordinates-tab__icon {
  font-size: 1rem;
}
.coordinates-tab__text {
  font-weight: 500;
  font-size: 0.9rem;
}

.map-container {
  display: none;
  border: 1px solid #E1E5E9;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 8;
}
.map-container--active {
  display: block;
}

.map-placeholder {
  height: 300px;
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-loading {
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #E1E5E9;
  border-top: 3px solid;
  /*@if type-of($color-map) == map */
  border-top-color: #28A745;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-text {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  margin: 0;
  font-size: 0.9rem;
}

.location-selected {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
  border-top: 1px solid #E1E5E9;
}
.location-selected__icon {
  font-size: 1.2rem;
}
.location-selected__title {
  font-weight: 500;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
}
.location-selected__coords {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  margin: 0;
  font-size: 0.8rem;
  font-family: "Courier New", monospace;
}

.coordinates-manual {
  display: none;
  padding: 1rem;
  border: 1px solid #e9e9e9;
  border-radius: 0.5rem;
}
.coordinates-manual--active {
  display: block;
}

.price-breakdown__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.price-breakdown__title {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 1rem;
}

.zone-badge {
  background-color: #E8F5E8;
  /*@if type-of($color-map) == map */
  color: #28A745;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.price-breakdown__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
.price-item--total {
  border-top: 1px solid #E1E5E9;
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.price-item--total .price-item__label,
.price-item--total .price-item__value {
  font-weight: 700;
  font-size: 1.1rem;
}
.price-item--total .price-item__value {
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.price-item__label {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.9rem;
}
.price-item__value {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 0.9rem;
}

.form-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .form-step-actions {
    flex-direction: column;
    gap: 1rem;
  }
}

#step-1 > div > div.form-card__content > div.form-group {
  margin: 0;
}

@media (max-width: 768px) {
  .package-sizes {
    grid-template-columns: 1fr;
  }
  .coordinates-tab__text {
    display: none;
  }
}
.secondary-contact {
  margin-top: 1.5rem;
}

.btn-search-address {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  /*@if type-of($color-map) == map */
  color: #ced4da;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: color 0.3s ease;
}

.route-info-display {
  padding: 16px;
  display: block;
  width: 100%;
}

.route-info h4 {
  margin: 0 0 12px 0;
  color: #1e293b;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.route-info h4 i {
  color: #3b82f6;
}

.route-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.route-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.route-label {
  color: #64748b;
  font-size: 14px;
}

.route-value {
  font-weight: 600;
  color: #1e293b;
}

.route-local {
  color: #10b981;
}

.route-note {
  margin-top: 12px;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

.route-info.provincial {
  background: #fef3c7;
  border: 1px solid #fbbf24;
}

.route-info.provincial h4 {
  color: #92400e;
}

.route-info.provincial p {
  margin: 0;
  color: #78350f;
  font-size: 14px;
}

.marker-origin {
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 16px;
  color: #3b82f6;
}

/* Package Size Checkbox Styles */
.package-size input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.package-size__content {
  position: relative;
}

/*
.package-size__check {
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    font-size: 1.2rem;
    display: none;
}
.package-size:has(input:checked) .package-size__check {
    display: block;
}

.package-size:has(input:checked) {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.package-size:has(input:checked) .package-size__header {
    background-color: var(--primary-color);
    color: white;
}
*/
/* Quantity Controls */
.package-quantity {
  background-color: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  border: 2px solid #28a745;
  border-top: none;
}

.quantity-label {
  display: block;
  font-size: 0.875rem;
  color: #6c757d;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  width: 32px;
  height: 25px;
  border: 1px solid #dee2e6;
  background: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.2rem;
  color: #495057;
}

.quantity-btn:hover {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #fefefe;
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-input {
  width: 60px;
  height: 25px;
  text-align: center;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Remove spinner from number input */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input[type=number] {
  -moz-appearance: textfield;
}

.shipping-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.shipping-type {
  display: block;
  border: 2px solid #E1E5E9;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.shipping-type:hover {
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.shipping-type--selected {
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
}
.shipping-type--selected .shipping-type__price {
  /*@if type-of($color-map) == map */
  color: #28A745;
  font-weight: 600;
}
.shipping-type input[type=radio] {
  display: none;
}
.shipping-type__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.shipping-type__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}
.shipping-type__icon {
  font-size: 1.5rem;
}
.shipping-type__title {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 1rem;
  flex: 1;
}
.shipping-type__details {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.85rem;
  line-height: 1.4;
}
.shipping-type__details p {
  margin: 0 0 0.25rem 0;
}
.shipping-type__price {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-weight: 500;
}

#shipping-type-group {
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-group--checkbox {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.checkbox-container input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  cursor: pointer;
  /*@if type-of($color-map) == map */
  accent-color: #28A745;
}
.checkbox-container .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-weight: 500;
}
.checkbox-container .checkbox-label svg {
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.checkbox-container:hover .checkbox-label {
  /*@if type-of($color-map) == map */
  color: #28A745;
}

.secondary-contact-section {
  margin-top: 1.5rem;
  animation: slideDown 0.3s ease forwards;
}
.secondary-contact-section .secondary-contact {
  margin-top: 0;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.map-lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.5s ease;
}
.map-lock-overlay--unlocking {
  opacity: 0;
  transform: scale(1.05);
}

.map-lock-content {
  text-align: center;
  padding: 2rem;
}
.map-lock-content .map-lock-icon {
  margin-bottom: 1rem;
  animation: lockPulse 2s ease-in-out infinite;
}
.map-lock-content .map-lock-icon svg {
  /*@if type-of($color-map) == map */
  color: #4B5563;
}
.map-lock-content .map-lock-message {
  font-size: 1.1rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin-bottom: 0.5rem;
}
.map-lock-content .map-lock-submessage {
  font-size: 0.9rem;
  /*@if type-of($color-map) == map */
  color: #4B5563;
}

@keyframes lockPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}
.map-unlocked-notification {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #4CAF50;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  z-index: 1001;
  animation: slideDownMap 0.5s ease forwards;
}
.map-unlocked-notification svg {
  flex-shrink: 0;
}
.map-unlocked-notification--fade-out {
  animation: fadeOutMap 0.3s ease forwards;
}

@keyframes slideDownMap {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes fadeOutMap {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
}
.btn-search-address--highlight {
  animation: pulseHighlight 0.5s ease-in-out 3;
  box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.7);
}

@keyframes pulseHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb), 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
    transform: scale(1);
  }
}
.balance-overview {
  margin-bottom: 2rem;
}

.balance-cards {
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(0, 1fr));*/
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .balance-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.withdrawal {
  margin-bottom: 2rem;
}
.withdrawal .form-group {
  margin: 0;
}
.withdrawal__card {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
}
.withdrawal__title {
  font-size: 1.5rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #030712;
  margin: 0 0 1rem 0;
  line-height: 1;
}
.withdrawal__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .withdrawal__form {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.amount-input {
  position: relative;
}
.amount-input__field {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 1px solid #E1E5E9;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  transition: border-color 0.3s ease;
}
.amount-input__field:focus {
  outline: none;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
.amount-input__field::placeholder {
  /*@if type-of($color-map) == map */
  color: #4B5563;
}
.amount-input__currency {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-weight: 500;
  pointer-events: none;
}

.btn--withdrawal {
  padding: 0.75rem 2rem;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .btn--withdrawal {
    width: 100%;
    justify-content: center;
  }
}

.balance-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 1024px) {
  .balance-content {
    grid-template-columns: 1fr;
  }
}

.section-card {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  border-radius: 0.4rem;
  padding: 1.5rem;
  border-width: 1px;
  border-style: solid;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.section-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #030712;
  margin: 0;
}
.section-card__content {
  padding: 1.5rem 0;
}
.section-card__footer {
  text-align: center;
  margin-top: 1.5rem;
}

.withdrawal-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.withdrawal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 1rem 0;
  border-bottom: 1px solid #F1F3F4;
}
.withdrawal-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.withdrawal-item:first-child {
  padding-top: 0;
}
.withdrawal-item__info {
  flex: 1;
}
.withdrawal-item__amount {
  font-size: 1.1rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin-bottom: 0.25rem;
}
.withdrawal-item__date {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.85rem;
}
.withdrawal-item__status {
  flex-shrink: 0;
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 0 1rem 0;
  border-bottom: 1px solid #F1F3F4;
}
.transaction-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.transaction-item:first-child {
  padding-top: 0;
}
.transaction-item__icon {
  width: 40px;
  height: 40px;
  /*background-color: #E8F5E8;*/
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.transaction-item__info {
  flex: 1;
  min-width: 0;
}
.transaction-item__description {
  font-weight: 500;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.3;
  word-break: break-word;
}
.transaction-item__date {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.8rem;
}
.transaction-item__amount {
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}
.transaction-item__amount--positive {
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.transaction-item__amount--negative {
  color: #DC3545;
}

.status-badge--pending {
  background-color: #FFF3E0;
  color: #F57C00;
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}
.status-badge--completed {
  background-color: #E8F5E8;
  /*@if type-of($color-map) == map */
  color: #28A745;
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}
.status-badge--rejected {
  background-color: #FFEBEE;
  color: #DC3545;
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}

.balance-card {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
  padding: 1rem 1.5rem;
}
.balance-card--available .balance-card__amount {
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.balance-card--total .balance-card__amount {
  color: #1976D2;
}
.balance-card--pending .balance-card__amount {
  color: #F57C00;
}
.balance-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.balance-card__title {
  /*@if type-of($color-map) == map */
  color: #000000;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}
.balance-card__icon {
  width: 32px;
  height: 32px;
  /*background-color: #E8F5E8;
  border-radius: 8px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.balance-card__amount {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.balance-card__subtitle {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.75rem;
  margin: 0;
}

.page-header {
  margin-bottom: 1.5rem;
}
.page-header__content {
  display: block;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .page-header__content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
}
.page-header__info {
  flex: 1;
}
.page-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #000000;
  margin-bottom: 0rem;
  margin-top: 0;
  line-height: 1.5;
}
.page-header__subtitle {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 1rem;
  line-height: 1;
}
.page-header__icon {
  background-color: transparent;
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.page-header__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .page-header__actions {
    width: 100%;
  }
}

/* Edit Profile Form */
.edit-profile__form {
  margin-bottom: 25px;
}

/* Form Sections */
.form-section__title:first-child {
  margin-top: 0;
}

/* Logo Upload */
.logo-upload {
  display: block;
}
.logo-upload__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .logo-upload__container {
    flex-direction: row;
    gap: 3rem;
  }
}
.logo-upload__preview {
  width: 200px;
  height: 200px;
  border: 3px dashed;
  /*@if type-of($color-map) == map */
  border-color: #dee2e6;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /*@if type-of($color-map) == map */
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.logo-upload__preview:hover {
  /*@if type-of($color-map) == map */
  border-color: #155724;
  background: rgba(44, 95, 124, 0.05);
}
.logo-upload__preview--has-image {
  border-style: solid;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
}
.logo-upload__preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.logo-upload__preview-placeholder {
  text-align: center;
  /*@if type-of($color-map) == map */
}
.logo-upload__preview-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}
.logo-upload__preview-text {
  font-size: 0.8rem;
  font-weight: 500;
}
.logo-upload__input {
  display: none;
}
.logo-upload__info {
  /*@if type-of($color-map) == map */
  color: #6c757d;
  font-size: 0.8rem;
  margin-top: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .logo-upload__info {
    text-align: left;
  }
}

.logo-upload__remove {
  display: none;
  /*@if type-of($color-map) == map */
  background-color: #DC3545;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
}
.logo-upload__remove--show {
  display: block;
}
.logo-upload__remove:hover {
  color: white;
  background: #940311;
}

/* Password Change Section */
.password-change {
  /*@if type-of($color-map) == map */
  background-color: #f8f9fa;
  border-radius: 0.625rem;
  padding: 25px;
  margin-top: 20px;
  margin-bottom: 1.5rem;
}

.password-change__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.password-change__checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid;
  /*@if type-of($color-map) == map */
  border-color: #ced4da;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.password-change__checkbox--checked {
  /*@if type-of($color-map) == map */
  background-color: #155724;
  /*@if type-of($color-map) == map */
  border-color: #155724;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
}

.password-change__label {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #495057;
}

.password-change__fields {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 1.5rem;
}

.password-change__fields--show {
  display: grid;
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 8px;
  display: none;
}

.password-strength--show {
  display: block;
}

.password-strength__bar {
  height: 4px;
  /*@if type-of($color-map) == map */
  background-color: #e9ecef;
  border-radius: 0.375rem;
  overflow: hidden;
  margin-bottom: 5px;
}

.password-strength__fill {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 0.375rem;
}

.password-strength__fill--weak {
  width: 33%;
  /*@if type-of($color-map) == map */
  background-color: #DC3545;
}

.password-strength__fill--medium {
  width: 66%;
  /*@if type-of($color-map) == map */
  background-color: #FFC107;
}

.password-strength__fill--strong {
  width: 100%;
  /*@if type-of($color-map) == map */
  background-color: #28A745;
}

.password-strength__text {
  font-size: 0.75rem;
  /*@if type-of($color-map) == map */
  color: #6c757d;
}

/* Action Buttons */
.edit-profile__actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.edit-profile__button {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/*
.edit-profile__button--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.edit-profile__button--primary:hover {
    background: linear-gradient(135deg, #1e4a5f, #3a7a8a);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(44, 95, 124, 0.3);
}

.edit-profile__button--secondary {
    background: var(--gray-500);
    color: var(--white);
}

.edit-profile__button--secondary:hover {
    background: var(--gray-600);
    transform: translateY(-1px);
}*/
.edit-profile__button:active {
  transform: translateY(0);
}

.edit-profile__button:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.edit-profile__button:disabled {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.edit-profile__button--loading {
  color: transparent;
}

.edit-profile__button--loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid;
  /*@if type-of($color-map) == map */
  border-color: #FFF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .form-grid--two-columns {
    grid-template-columns: 1fr;
  }
  .password-change__fields {
    grid-template-columns: 1fr;
  }
  .edit-profile__actions {
    flex-direction: column;
  }
  .edit-profile__button {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .edit-profile__title {
    font-size: 1.6rem;
  }
  .edit-profile__subtitle {
    font-size: 0.9rem;
  }
  .logo-upload {
    gap: 15px;
  }
  .logo-upload__preview {
    width: 100px;
    height: 100px;
  }
}
.users-list {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
  overflow-x: auto;
}
.users-list table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}
.users-list th, .users-list td {
  padding: 1rem 0.75rem;
  transition: background-color 0.2s ease;
}
.users-list th {
  /*@if type-of($color-map) == map */
  background-color: #DCFCE7;
  /*@if type-of($color-map) == map */
  color: #155724;
  position: sticky;
  top: top;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
.users-list td {
  border-bottom: 1px solid;
  /*@if type-of($color-map) == map */
  border-bottom-color: #e9ecef;
}
.users-list tr:hover:not(.no-hover) {
  /*@if type-of($color-map) == map */
  background-color: #fefefe;
}
.users-list tr:nth-child(even) {
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
}
.users-list td.nousers {
  height: 20rem;
  text-align: center;
  font-style: italic;
  /*@if type-of($color-map) == map */
  color: #6B7280;
  border: none;
}
@media (min-width: 480px) {
  .users-list {
    min-width: unset;
  }
  .users-list table {
    min-width: unset;
    width: 100%;
  }
  .users-list th, .users-list td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
}

/*
// Stats Grid
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;

    @media (max-width: 768px) {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

// Stat Cards
.stat-card {
    @include color-variant(fondo, principal, background-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #F1F3F4;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    &__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    &__title {
        font-size: 0.9rem;
        font-weight: 500;
        @include color-variant(texto, secundario, color);
    }

    &__icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;

        &--users {
            background-color: #E3F2FD;
            color: #1976D2;
        }

        &--shipments {
            @include color-variant(principal, light, background-color);
            @include color-variant(principal, base, color);
        }

        &--revenue {
            background-color: #E8F5E8;
            color: #2E7D32;
        }

        &--pending {
            background-color: #FFF3E0;
            color: #F57C00;
        }
    }

    &__value {
        font-size: 2rem;
        font-weight: 700;
        @include color-variant(texto, principal, color);
    }
}
*/
.management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
@media (max-width: 768px) {
  .management-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.management-card {
  /*@include color-variant(fondo, principal, background-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border: 1px solid #F1F3F4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;*/
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
  /*&:hover {
          transform: translateY(-2px);
          box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      }
  */
}
.management-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.management-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.management-card--billing {
  background: #f0fdf4;
  background: linear-gradient(90deg, #f0fdf4, #dcfce7);
}
.management-card--shipments {
  background: #eff6ff;
  background: linear-gradient(90deg, #eff6ff, #dbeafe);
}
.management-card--users {
  background: #faf5ff;
  background: linear-gradient(90deg, #faf5ff, #f3e8ff);
}
.management-card--billing .management-card__icon {
  /*@include color-variant(principal, light, background-color);*/
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.management-card--shipments .management-card__icon {
  background-color: #E3F2FD;
  color: #1976D2;
}
.management-card--users .management-card__icon {
  background-color: #F3E5F5;
  color: #7B1FA2;
}
.management-card__title {
  font-size: 1.4rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0;
}
.management-card--billing .management-card__title {
  color: #166534;
}
.management-card__description {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
  font-size: 0.9rem;
}
.management-card__btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.management-card__btn--green {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
}
.management-card__btn--green:hover {
  /*@if type-of($color-map) == map */
  background-color: #155724;
}
.management-card__btn--blue {
  background-color: #1976D2;
  color: white;
}
.management-card__btn--blue:hover {
  background-color: #1565C0;
}
.management-card__btn--disabled {
  background-color: #9E9E9E;
  color: white;
  cursor: not-allowed;
}
.management-card__btn--disabled:hover {
  background-color: #9E9E9E;
}

.status-section {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
  margin-bottom: 3rem;
}
.status-section__title {
  font-size: 1.3rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 1.5rem 0;
}

.status-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .status-grid {
    justify-content: center;
  }
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 100px;
}
.status-item__indicator {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  position: relative;
}
.status-item__indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: currentColor;
}
.status-item--requested .status-item__indicator {
  background-color: #FFF3E0;
  color: #F57C00;
}
.status-item--collected .status-item__indicator {
  background-color: #E3F2FD;
  color: #1976D2;
}
.status-item--transit .status-item__indicator {
  background-color: #FFF3E0;
  color: #FF9800;
}
.status-item--delivered .status-item__indicator {
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.status-item--cancelled .status-item__indicator {
  background-color: #FFEBEE;
  color: #D32F2F;
}
.status-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.status-item__label {
  font-size: 0.85rem;
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-weight: 500;
}
.status-item__value {
  font-size: 1.5rem;
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
}

.recent-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 968px) {
  .recent-data {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.recent-users,
.recent-shipments {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #F1F3F4;
}

.recent-section__title {
  font-size: 1.1rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 1.5rem 0;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #F1F3F4;
}
.recent-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.recent-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.recent-item__name {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 0.9rem;
}
.recent-item__email {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.8rem;
}
.recent-item__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  text-align: right;
}
.recent-item__user {
  font-weight: 500;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 0.85rem;
}
.recent-item__date {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.8rem;
}

.recent-shipment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #F1F3F4;
}
.recent-shipment:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.recent-shipment__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.recent-shipment__name {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 0.9rem;
}
.recent-shipment__date {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.8rem;
}
.recent-shipment__amount {
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #28A745;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .page-header__title {
    font-size: 1.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .status-grid {
    gap: 0.5rem;
  }
  .status-item {
    min-width: 80px;
  }
  .status-item__indicator {
    width: 40px;
    height: 40px;
  }
  .status-item__indicator::after {
    width: 20px;
    height: 20px;
  }
  .status-item__value {
    font-size: 1.2rem;
  }
  .status-item__label {
    font-size: 0.75rem;
  }
  .recent-item,
  .recent-shipment {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .recent-item__meta,
  .recent-shipment__meta {
    align-items: flex-start;
    text-align: left;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .status-grid {
    justify-content: space-around;
  }
}
.balance-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .balance-summary {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .balance-summary {
    grid-template-columns: 1fr;
  }
}

.summary-card {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #F1F3F4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.summary-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.summary-card__title {
  font-size: 0.9rem;
  font-weight: 500;
  /*@if type-of($color-map) == map */
  color: #4B5563;
}
.summary-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.summary-card--available .summary-card__icon {
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.summary-card--committed .summary-card__icon {
  background-color: #FFF3E0;
  color: #F57C00;
}
.summary-card--pending .summary-card__icon {
  background-color: #FFEBEE;
  color: #D32F2F;
}
.summary-card--total .summary-card__icon {
  background-color: #E8F5E8;
  color: #2E7D32;
}
.summary-card__value {
  font-size: 2rem;
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin-bottom: 0.75rem;
}
@media (max-width: 480px) {
  .summary-card__value {
    font-size: 1.5rem;
  }
}
.summary-card__change {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.summary-card__change--positive {
  color: #2E7D32;
}
.summary-card__change--negative {
  color: #D32F2F;
}
.summary-card__change--neutral {
  /*@if type-of($color-map) == map */
  color: #4B5563;
}

.change-indicator {
  font-size: 1rem;
}

.charts-section {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #F1F3F4;
}

.chart-title {
  font-size: 1.25rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0 0 1.5rem 0;
}

.chart-placeholder {
  width: 100%;
  height: 300px;
  border: 2px dashed #E0E0E0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#balanceCanvas {
  width: 100%;
  height: 100%;
}

.balance-table-section {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #F1F3F4;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .table-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.table-title {
  font-size: 1.25rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  margin: 0;
}

.table-actions {
  display: flex;
  gap: 0.75rem;
}

.table-container {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
}

.balance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.balance-table th {
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  padding: 1rem 0.75rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid #E0E0E0;
  white-space: nowrap;
}
.balance-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}
.balance-table th.sortable:hover {
  background-color: #F5F5F5;
}
.balance-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid #F1F3F4;
  vertical-align: middle;
}
.balance-table tr:last-child td {
  border-bottom: none;
}

.sort-indicator {
  margin-left: 0.5rem;
  opacity: 0.5;
  font-size: 0.8rem;
}

.balance-row {
  transition: background-color 0.2s ease;
}
.balance-row:hover {
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
}
.balance-row--warning {
  background-color: rgba(255, 193, 7, 0.05);
}
.balance-row--danger {
  background-color: rgba(220, 53, 69, 0.05);
}

.balance-amount {
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.balance-amount--positive {
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.balance-amount--negative {
  color: #D32F2F;
}
.balance-amount--low {
  color: #F57C00;
}
.balance-amount--total {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-size: 1rem;
}

.last-activity {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.85rem;
  white-space: nowrap;
}

.actions-cell {
  width: 120px;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-btn--view {
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
  /*@if type-of($color-map) == map */
  color: #4B5563;
}
.action-btn--view:hover {
  background-color: #E3F2FD;
  color: #1976D2;
}
.action-btn--adjust {
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
  /*@if type-of($color-map) == map */
  color: #4B5563;
}
.action-btn--adjust:hover {
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
  /*@if type-of($color-map) == map */
  color: #28A745;
}
.action-btn--history {
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
  /*@if type-of($color-map) == map */
  color: #4B5563;
}
.action-btn--history:hover {
  background-color: #FFF3E0;
  color: #F57C00;
}

.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F3F4;
}
@media (max-width: 768px) {
  .table-pagination {
    flex-direction: column;
    gap: 1rem;
  }
}

.pagination-info {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.85rem;
}

.pagination-controls {
  display: flex;
  gap: 0.5rem;
}

.pagination-btn {
  padding: 0.5rem 0.75rem;
  border: 1px solid #E0E0E0;
  background-color: white;
  /*@if type-of($color-map) == map */
  color: #4B5563;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.pagination-btn:hover:not(:disabled) {
  /*@if type-of($color-map) == map */
  background-color: #D4EDDA;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
}
.pagination-btn--active {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
}
.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.movements-section {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #F1F3F4;
}

.movements-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.movement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  /*@if type-of($color-map) == map */
  background-color: #F8F9FA;
  border-radius: 8px;
  border-left: 4px solid transparent;
}
.movement-item--credit {
  border-left-color: #2E7D32;
}
.movement-item--debit {
  border-left-color: #D32F2F;
}
.movement-item--adjustment {
  border-left-color: #F57C00;
}

.movement-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.movement-details {
  flex: 1;
}

.movement-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}
@media (max-width: 768px) {
  .movement-header {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.movement-type {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-weight: 600;
  font-size: 0.95rem;
}

.movement-amount {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}
.movement-amount--positive {
  color: #2E7D32;
}
.movement-amount--negative {
  color: #D32F2F;
}

.movement-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.movement-user {
  font-weight: 500;
}

.movement-separator {
  /*@if type-of($color-map) == map */
}

.movement-reason {
  /*@if type-of($color-map) == map */
  font-size: 0.85rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .balance-table {
    font-size: 0.8rem;
  }
  .balance-table th, .balance-table td {
    padding: 0.75rem 0.5rem;
  }
  /*.user-info {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
  }

  .user-avatar {
      width: 32px;
      height: 32px;
      font-size: 0.8rem;
  }

  .action-buttons {
      flex-direction: column;
      gap: 0.25rem;
  }*/
  .action-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .movement-item {
    padding: 0.75rem;
  }
  .movement-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .page-header__title {
    font-size: 1.5rem;
  }
  .summary-card {
    padding: 1.25rem;
  }
  .summary-card__value {
    font-size: 1.25rem;
  }
  .balance-table-section,
  .charts-section,
  .movements-section {
    padding: 1.5rem;
  }
}
.user-cell {
  min-width: 200px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/*
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    @include color-variant(principal, base, background-color);
    @include color-variant(texto, light, color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}
*/
.user-details {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.user-name {
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-weight: 600;
  font-size: 0.9rem;
}

.user-email {
  /*@if type-of($color-map) == map */
  font-size: 0.8rem;
}

/* Navigation Tabs */
.nav-tabs {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
  padding: 0.5rem;
  margin: 1.5rem 0;
}
.nav-tabs__list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}
.nav-tabs__item {
  flex: 1;
}
.nav-tabs__button {
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  /*@if type-of($color-map) == map */
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.nav-tabs__button--active {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  /*@if type-of($color-map) == map */
  border-color: #28A745;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
}
.nav-tabs__button--active:hover {
  /*@if type-of($color-map) == map */
  background-color: #1E7E34;
  /*@if type-of($color-map) == map */
  border-color: #1E7E34;
}
.nav-tabs__button:hover:not(.nav-tabs__button--active) {
  /*@if type-of($color-map) == map */
  background-color: #e9ecef;
  /*@if type-of($color-map) == map */
  color: #343a40;
}

/* Content Panels */
.content-panel {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
  display: none;
}
.content-panel--active {
  display: block;
}
.content-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.5rem 0 1.5rem;
}
.content-panel__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

/* Price Matrix Table */
.price-matrix {
  overflow-x: auto;
}
.price-matrix__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.price-matrix__header {
  /*@if type-of($color-map) == map */
  background-color: #e9ecef;
}
.price-matrix__header-cell {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #495057;
}
.price-matrix__header-cell:first-child {
  text-align: left;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
}
.price-matrix__size-header {
  text-align: center;
}
.price-matrix__size-code {
  font-size: 1.1rem;
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #343a40;
  margin-bottom: 0.25rem;
}
.price-matrix__size-name {
  font-size: 0.8rem;
  /*@if type-of($color-map) == map */
  color: #6c757d;
}
.price-matrix__row:nth-child(even) {
  /*@if type-of($color-map) == map */
  background-color: #f8f9fa;
}
.price-matrix__cell {
  padding: 1rem;
  text-align: center;
}
.price-matrix__zone-cell {
  text-align: left;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  background-color: #FFF;
}
.price-matrix__zone-code {
  font-size: 1.1rem;
  /*@if type-of($color-map) == map */
  color: #343a40;
  margin-bottom: 0.25rem;
}
.price-matrix__zone-name {
  font-size: 0.8rem;
  /*@if type-of($color-map) == map */
  color: #6c757d;
}
.price-matrix__price {
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #343a40;
}
.price-matrix__input {
  width: auto;
  padding: 8px;
  border: 1px solid;
  /*@if type-of($color-map) == map */
  border-color: #f8f9fa;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}
.price-matrix__input:focus {
  outline: none;
  /*@if type-of($color-map) == map */
  background-color: #28A745;
  box-shadow: 0 0 0 2px rgba(44, 95, 124, 0.1);
}

td.price-matrix__cell, th.price-matrix__header-cell {
  border: 1px solid;
  /*@if type-of($color-map) == map */
  border-color: #e9ecef;
}

/* Zone List */
.zone-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.zone-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 0.4rem;
  border: 1px solid;
  /*@if type-of($color-map) == map */
  border-color: #e9ecef;
  transition: all 0.3s ease;
}
@media (min-width: 768px) {
  .zone-item {
    align-items: center;
    gap: 1rem;
  }
}
.zone-item__info {
  display: block;
}
@media (min-width: 768px) {
  .zone-item__info {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

.zone-item__badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
  font-size: 0.9rem;
}
.zone-item__badge--a, .zone-item__badge--b, .zone-item__badge--c, .zone-item__badge--d, .zone-item__badge--e {
  margin-bottom: 0.5rem;
}
.zone-item__badge--a {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
}
.zone-item__badge--b {
  /*@if type-of($color-map) == map */
  background-color: #17A2B8;
}
.zone-item__badge--c {
  /*@if type-of($color-map) == map */
  background-color: #FFC107;
}
.zone-item__badge--d {
  /*@if type-of($color-map) == map */
  background-color: #DC3545;
}
.zone-item__badge--e {
  /*@if type-of($color-map) == map */
  background-color: #6f42c1;
}

.zone-item__details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  /*@if type-of($color-map) == map */
  color: #343a40;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.zone-item__details p {
  font-size: 0.9rem;
  /*@if type-of($color-map) == map */
  color: #6c757d;
}

.zone-item__provinces {
  font-size: 0.8rem;
  /*@if type-of($color-map) == map */
  color: #adb5bd;
  margin-top: 0.25rem;
}

.zone-item__action {
  background: none;
  border: none;
  /*@if type-of($color-map) == map */
  color: #ced4da;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.zone-item__action:hover {
  /*@if type-of($color-map) == map */
  color: #28A745;
}

/* Size Cards */
.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.size-card {
  border: 2px solid;
  /*@if type-of($color-map) == map */
  border-color: #e9ecef;
  border-radius: 0.4rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}
.size-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.size-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #343a40;
  margin-bottom: 1rem;
  margin-top: 0;
}
.size-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.size-card .size-card__action {
  background: none;
  border: none;
  /*@if type-of($color-map) == map */
  color: #ced4da;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}
.size-card .size-card__action:hover {
  /*@if type-of($color-map) == map */
  color: #28A745;
}

.size-card__badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  /*@if type-of($color-map) == map */
  color: #FFFFFF;
}
.size-card__badge--bb {
  /*@if type-of($color-map) == map */
  background-color: #28A745;
}
.size-card__badge--bg {
  /*@if type-of($color-map) == map */
  background-color: #17A2B8;
}
.size-card__badge--bm {
  /*@if type-of($color-map) == map */
  background-color: #FFC107;
}

.size-card__spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.size-card__spec-label {
  color: var(--gray-600);
}
.size-card__spec-value {
  font-weight: 600;
  color: var(--gray-800);
}

/* Province Grid */
.province-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.province-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid;
  /*@if type-of($color-map) == map */
  border-color: #e9ecef;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}
.province-item__info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}
.province-item__info p {
  font-size: 0.8rem;
  color: var(--gray-500);
}
.province-item__action {
  background: none;
  border: none;
  /*@if type-of($color-map) == map */
  color: #ced4da;
  font-size: 1rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.province-item__action:hover {
  /*@if type-of($color-map) == map */
  color: #28A745;
}

/*
/* Form Styles
.form-group {
    margin-bottom: 1.5rem;
}

.form-group__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group__input:focus {
    outline: none;
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-group__input::placeholder {
    color: var(--gray-400);
}

.form-group__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-group__textarea:focus {
    outline: none;
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-group__select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
    cursor: pointer;
}

.form-group__select:focus {
    outline: none;
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row .form-row {
    grid-template-columns: 1fr 1fr 1fr;
}*/
/* Responsive Design */
@media (max-width: 768px) {
  .nav-tabs__list {
    flex-wrap: wrap;
  }
  .nav-tabs__item {
    flex: 1 1 calc(50% - 0.25rem);
  }
  .price-matrix {
    font-size: 0.8rem;
  }
  .size-grid {
    grid-template-columns: 1fr;
  }
  .province-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .nav-tabs__item {
    flex: 1 1 100%;
  }
}
.front-header {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.front-header__container {
  width: min(90%, 80rem);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 0;
}
.front-header .mobile-menu-header {
  padding-top: 2.2rem;
  padding-bottom: 1rem;
}
.front-header__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  text-decoration: none;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
  font-weight: 500;
}
.nav-link:hover {
  /*@if type-of($color-map) == map */
  color: #28A745;
}

.page-container {
  background: #F0FDF4;
  background: linear-gradient(52deg, rgb(240, 253, 244) 0%, rgb(220, 252, 231) 100%);
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.page-main {
  min-height: calc(100dvh - 223px);
}

.hero {
  padding: 5.5rem 0 2.5rem;
  text-align: center;
}
.hero__content {
  width: min(90%, 80rem);
  margin: 0 auto;
}
.hero__title {
  font-size: 3.75rem;
  font-weight: 800;
  margin: 0 0 1.35rem;
  line-height: 1;
  letter-spacing: 1px;
  /*@if type-of($color-map) == map */
  color: #000000;
}
@media (max-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
  }
}
.hero__description {
  font-size: 1rem;
  /*@if type-of($color-map) == map */
  color: #4B5563;
  margin-bottom: 2rem;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .hero__description {
    font-size: 1.25rem;
  }
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.text-accent {
  /*@if type-of($color-map) == map */
  color: #28A745;
}

.features {
  padding: 0 0 3rem;
}
.features .container {
  width: min(90%, 80rem);
  margin: 0 auto;
}
.features__grid {
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .features__grid {
    gap: 2rem;
  }
}
@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.feature-card {
  text-align: center;
  padding: 2rem 1rem;
}
.feature-card__icon {
  margin-bottom: 1.5rem;
}
.feature-card__title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  /*@if type-of($color-map) == map */
  color: #2C3E50;
}
.feature-card__description {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  line-height: 1.5;
  font-size: 0.9rem;
}

.icon-box {
  width: 50px;
  height: 50px;
  /*@if type-of($color-map) == map */
  background-color: #22C55E;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto;
  color: white;
}

.footer {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  padding: 2.5rem 0;
  border-top: 1px solid #E9ECEF;
}
.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer__text {
  /*@if type-of($color-map) == map */
  color: #4B5563;
  font-size: 0.9rem;
  order: 2;
}

/*
// Responsive
@media (max-width: 768px) {

  .hero {
    padding: 2rem 0 3rem;

    &__actions {
      flex-direction: column;
      align-items: center;
    }
  }

  .features__grid {
    grid-template-columns: 1fr;
  }
}*/
.btn--frontpage {
  padding: 1rem 2rem;
  width: 100%;
}
@media (min-width: 768px) {
  .btn--frontpage {
    width: auto;
  }
}

.auth {
  width: 100vw;
  min-height: 100dvh;
  background: #F0FDF4;
  background: linear-gradient(52deg, rgb(240, 253, 244) 0%, rgb(220, 252, 231) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}
.auth__container {
  /*@if type-of($color-map) == map */
  background-color: #FFF;
  /*@if type-of($color-map) == map */
  border-color: #E5E7EB;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.4rem;
  padding: 1.5rem;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  animation: slideUp 0.6s ease-out;
  width: 90%;
  max-width: 28rem;
  animation: slideUp 0.6s ease-out;
}
.auth__body {
  text-align: center;
}
.auth__texto {
  font-size: 0.9rem;
  line-height: 1.5;
}

/*.auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

/* auth Header */
.auth__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.auth__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--success-color), #20c997);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}

.auth__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: 1px;
}

.auth__title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.auth__subtitle {
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 400;
}

/* auth Form */
.auth__form {
  margin-bottom: 25px;
}

.auth__button {
  position: relative;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
}

.auth__button:active {
  transform: translateY(0);
}

.auth__button:focus-visible {
  outline: 2px solid #28A745;
  outline-offset: 2px;
}

.auth__button--loading {
  color: transparent;
  cursor: not-allowed;
}

.auth__button--loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgb(255, 255, 255);
  border-top: 2px solid rgba(255, 255, 255, 0.4196078431);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* auth Footer */
.auth__footer {
  text-align: center;
  margin-top: 25px;
}

.auth__register-link {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.9rem;
  /*@if type-of($color-map) == map */
  color: #6c757d;
}

.auth__register-link-anchor {
  color: var(--success-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.auth__register-link-anchor:hover {
  color: #218838;
  text-decoration: underline;
}

/* Demo Credentials */
.demo-credentials {
  background: var(--gray-100);
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
  border-left: 4px solid var(--success-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.demo-credentials:hover {
  background: var(--gray-200);
}

.demo-credentials__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-credentials__info {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.demo-credentials__info strong {
  color: var(--gray-700);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Responsive Design */
@media (max-width: 480px) {
  .auth__title {
    font-size: 1.6rem;
  }
  .auth__subtitle {
    font-size: 0.9rem;
  }
  .form-group-auth__input {
    padding: 12px 14px;
    padding-left: 40px;
    font-size: 0.9rem;
  }
  .form-group-auth__icon {
    left: 14px;
    font-size: 0.9rem;
  }
  .auth__button {
    padding: 14px;
    font-size: 0.95rem;
  }
}
.register {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 450px;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.6s ease-out;
}

/* Register Button 
.register__button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
}

.register__button:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}*/
.register__button {
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
  position: relative;
}

.register__button:active {
  transform: translateY(0);
}

.register__button:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.register__button:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.register__button--loading {
  color: transparent;
}

.register__button--loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgb(255, 255, 255);
  border-top: 2px solid rgba(255, 255, 255, 0.4196078431);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Register Footer */
.register__footer {
  text-align: center;
  margin-top: 25px;
}

.register__login-link {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.register__login-link-anchor {
  color: var(--success-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.register__login-link-anchor:hover {
  color: #218838;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
  .register {
    padding: 30px 25px;
    margin: 10px;
  }
  .register__title {
    font-size: 1.6rem;
  }
  .register__subtitle {
    font-size: 0.9rem;
  }
  .register__button {
    padding: 14px;
    font-size: 0.95rem;
  }
}
/*# sourceMappingURL=app.css.map */
