:root {

  /* =========================
     🔴 ROJOS PRINCIPALES
  ========================= */
  --color-primary: #EF0101;
  --color-primary-bright: #f10808;
  --color-primary-dark: #A40000;
  --color-primary-2: #d90000;
  --color-primary-3: #b80000;
  --color-primary-soft: #ef4d4d;
  --color-primary-deep: #af0606;
  --color-danger: #dc3545;
  --color-red-hover: #a80000;
  --color-red-soft: #d32f2f;
  --color-red-100: #f7cfcf;
  --color-red-200: #fff8f8;
  --color-red-300: #6a3a3a;
  --color-red-400: #5a2a2a;

  /* =========================
     🟠 AMARILLOS / NARANJAS
  ========================= */
  --color-warning: #ffca1b;
  --color-warning-dark: #FFC400;
  --color-orange: #ff9800;

  /* =========================
     🟢 VERDE
  ========================= */
  --color-verde: #28a745;
  --color-green-100: #cbe7d2;
  --color-green-200: #eef7f3;
  --color-green-300: #f6fbf7;
  --color-green-400: #2f5a3e;
  --color-green-500: #1f3a2b;
  --color-green-600: #4e7268;

  /* =========================
     🔵 AZULES / INFO
  ========================= */
  --color-info: var(--color-primary);
  --color-focus: var(--color-primary-soft);
  --color-blue-100: #c9d9e6;
  --color-blue-200: #eef3f8;
  --color-blue-300: #f6f9fc;
  --color-blue-400: #3a556b;
  --color-blue-500: #1f2f3a;

  /* =========================
     ⚪ BLANCOS Y GRISES CLAROS
  ========================= */
  --color-white: #ffffff;
  --color-gray-50: #f5f6fa;
  --color-gray-100: #f7f8fa;
  --color-gray-200: #eceff1;
  --color-gray-border: #EAEEF7;
  --color-gray-ui: #d0d7de;

  /* =========================
     ⚫ GRISES OSCUROS
  ========================= */
  --color-text: #777;
  --color-text-light: #939396;
  --color-text-muted: #c9c7c7;
  --color-dark: #555;
  --color-darker: #333;
  --color-black: #000;

  /* =========================
   🟣 MORADOS
  ========================= */
  --color-purple-100: #f3f0fa;
  --color-purple-200: #faf8fd;
  --color-purple-500: #5f547d;

  /* =========================
   🟤 MARRONES / TIERRA
  ========================= */
  --color-brown-100: #fcf5ef;
  --color-brown-200: #fdf9f5;
  --color-brown-500: #8a6241;

  /* =========================
     🧊 EFECTOS / OVERLAY
  ========================= */
  --color-black-0: rgba(0, 0, 0, 0.0);
  --color-black-10: rgba(0, 0, 0, 0.1);
  --color-black-12: rgba(0, 0, 0, 0.12);
  --color-black-20: rgba(0, 0, 0, 0.2);
  --color-black-25: rgba(0, 0, 0, 0.25);
  --color-black-30: rgba(0, 0, 0, 0.3);
  --color-black-35: rgba(0, 0, 0, 0.35);
  --color-black-38: rgba(0, 0, 0, 0.38);
  --color-black-50: rgba(0, 0, 0, 0.5);
  --color-black-70: rgba(0, 0, 0, 0.7);
  --color-black-85: rgba(0, 0, 0, 0.85);

  --color-white-05: rgba(255, 255, 255, 0.05);
  --color-white-15: rgba(255, 255, 255, 0.15);
  --color-white-20: rgba(255, 255, 255, 0.2);
  --color-white-30: rgba(255, 255, 255, 0.3);
  --color-white-40: rgba(255, 255, 255, 0.40);
  --color-white-98: rgba(255, 255, 255, 0.98);

  --color-gray-25: rgba(229, 241, 255, 0.25);
  --color-blue-25: var(--color-red-08);
  --color-red-08: rgba(255, 0, 0, 0.08);
  --color-yellow-40: rgba(255, 202, 27, 0.4);

  /* =========================
     🌈 GRADIENTES
  ========================= */
  --gradient-login: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  --webkit-login: -webkit-linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  --gradient-sidebar: linear-gradient(180deg, var(--color-primary-bright) 0%, var(--color-primary-2) 40%, var(--color-primary-3) 100%);
  --radial-gradient: radial-gradient(circle, var(--color-white-15) 0%, var(--color-white-05) 40%, transparent 70%);
  --linear-gradient: linear-gradient(to left, var(--color-primary-soft), var(--color-primary-deep));
  --moz-linear-gradient: -moz-linear-gradient(to left, var(--color-primary-soft), var(--color-primary-deep));
  --webkit-linear-gradient: -webkit-linear-gradient(to left, var(--color-primary-soft), var(--color-primary-deep));
  --o-linear-gradient: -o-linear-gradient(to left, var(--color-primary-soft), var(--color-primary-deep));
  --webkit-linear-gradient-2: -webkit-linear-gradient(to left, var(--color-primary-soft), var(--color-primary-deep), var(--color-primary-soft), var(--color-primary-deep));
  --o-linear-gradient-2: -o-linear-gradient(to left, var(--color-primary-soft), var(--color-primary-deep), var(--color-primary-soft), var(--color-primary-deep));
  --moz-linear-gradient-2: -moz-linear-gradient(to left, var(--color-primary-soft), var(--color-primary-deep), var(--color-primary-soft), var(--color-primary-deep));
  --linear-gradient-2: linear-gradient(to left, var(--color-primary-soft), var(--color-primary-deep), var(--color-primary-soft), var(--color-primary-deep));
  /* =========================
     🎨 Radius & Shadows
  ========================= */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px var(--color-black-10);
  --shadow-md: 0 4px 16px var(--color-black-20);
  --shadow-lg: 0 10px 30px var(--color-black-30);

  /* =========================
     GRISES / NEUTROS UIs
  ========================= */
  --color-gray-150: #e6e9ee;
  --color-gray-250: #dce3ea;
  --color-gray-450: #506070;
  --color-gray-050: #f9fbfd;
  --color-gray-300: #ccc;
  --color-gray-400: #888;
  --color-gray-500: #adadad;
  --color-gray-600: #999999;
  --color-gray-700: #5a5a5a;
  --color-gray-800: #838383;
  --color-gray-900: #495057;
  /* =========================
     BORDES / UI LIGERO
  ========================= */
  --color-border-light: #d2d2d2;
  --color-border-soft: #ddd;
  --color-border-muted: #e2e2e2;
  --color-border-surface: #e0e0e0;
  --color-border-img: #EAEEF7;
  /* =========================
     BACKGROUNDS / SUPERFICIES
  ========================= */
  --color-bg-light: #f0f0f0;
  --color-bg-lighter: #f4f4f4;
  --color-bg-soft: #efefef;
  --color-bg-page: #f5f5f5;
  --color-bg-surface: #f3f4f6;
  --color-bg-white-soft: #f9f9f9;
  --color-bg-muted: #f8f9fa;
  --color-bg-card: #f1f2f4;
  --color-bg-ghost: #eee;
  /* =========================
     ACCENT / LINKS / UI AZUL
  ========================= */
  --color-blue-accent: var(--color-primary);
  /* =========================
     ERROR / ALERTA
  ========================= */
  --color-error: #e74c3c;
}

@font-face {
  font-family: 'Poppins-Regular';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins-Medium';
  src: url('../fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins-SemiBold';
  src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins-Bold';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.modal-header {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: bold;
  font-size: 14px;
}

/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: Arial, "Poppins-Regular", "Montserrat", sans-serif;
  font-size: 12px;
  color: var(--color-text);
}

input {
  outline: none;
  border: none;
  /*text-transform: uppercase;*/
}

input[type="search"] {
  text-transform: uppercase;
}

button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

select {
  background: transparent;
  border: none;
}

select:focus {
  outline: none;
}

a {
  color: var(--color-gray-300);
  font-weight: 600;
}

a:hover {
  color: var(--color-gray-400);
  font-weight: 600;
}



/*---contenedor del Login---*/

.container-login {
  width: 100%;
  min-height: 100vh;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: var(--webkit-login);
  background: var(--gradient-login);
}

.wrap-login {
  width: 350px;
  background: var(--color-gray-200);
  border-radius: 20px;
  overflow: hidden;
  padding: 37px 45px 43px 45px;
  -webkit-box-shadow: 25px 40px 28px 0px var(--color-black-38);
}

/*----Formulario de user y password----*/

.login-form {
  width: 100%;
}

.login-form-title {
  display: block;
  font-family: Poppins-Bold;
  font-size: 35px;
  color: var(--color-dark);
  line-height: 1.5;
  text-align: center;
}

/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
  width: 100%;
  position: relative;
  border-bottom: 1px solid var(--color-gray-500);
  margin-bottom: 10px;
  margin-top: 10px;
}

.input100 {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: var(--color-dark);
  line-height: 1.2;

  display: block;
  width: 100%;
  height: 45px;
  background: transparent;
  padding: 0 5px;
}

/*---------------------------------------------*/
.focus-efecto {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-efecto::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  /*ancho de la linea que hace el efecto de barra de progeso en el input al hacer foco*/

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  background: var(--color-focus);
  background: var(--webkit-linear-gradient);
  background: var(--o-linear-gradient);
  background: var(--moz-linear-gradient);
  background: var(--linear-gradient);
}

.focus-efecto::after {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.2;

  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 16px;
  left: 0px;
  padding-left: 5px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.input100:focus+.focus-efecto::after {
  top: -15px;
}

.input100:focus+.focus-efecto::before {
  width: 100%;
}

.has-val.input100+.focus-efecto::after {
  top: -15px;
}

.has-val.input100+.focus-efecto::before {
  width: 100%;
}

/*---------------------------------------------*/

/*------------------------------------------------------------------
[ Button ]*/
.container-login-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 13px;
}

.wrap-login-form-btn {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 40px 5px;
  overflow: hidden;
  margin: 0 auto;
}

.login-form-bgbtn {
  position: absolute;
  z-index: -1;
  width: 300%;
  height: 100%;
  background: #a64bf4;
  background: var(--webkit-linear-gradient-2);
  background: var(--o-linear-gradient-2);
  background: var(--moz-linear-gradient-2);
  background: var(--linear-gradient-2);
  top: 0;
  left: -100%;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.login-form-btn {
  font-family: Poppins-Medium;
  font-size: 20px;
  color: var(--color-white);
  line-height: 1.2;
  text-transform: uppercase;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
}

.wrap-login-form-btn:hover .login-form-bgbtn {
  left: 0;
}

/*--- Para dispositivos small responsive ---*/

@media (max-width: 768px) {
  .wrap-login {
    padding: 37px 25px 33px 25px;
  }
}

.arrow {
  font-size: 12px;
}

/* LAYOUT GENERAL */
.layout {
  display: flex;
  height: 100vh;
  background: var(--color-gray-50);
  transition: all 0.3s ease;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: var(--gradient-sidebar);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  height: 100vh;
  /* fijo a la pantalla */
  position: relative;
  overflow: hidden;
  /* 🔹 Sombra sutil a la derecha */
  box-shadow: 2px 0 8px var(--color-black-25);
  transition: all 0.3s ease;
  border-radius: 0px !important;
}

.sidebar::before {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: var(--radial-gradient);
  transform: rotate(-15deg);
}

/* LOGO (parte fija) */
.sidebar .logo {
  padding: 16px;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  flex-shrink: 0;
  /* no se encoge */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* MENÚ (SCROLL AQUÍ) */
.sidebar .menu {
  flex: 1;
  /* ocupa todo el espacio restante */
  overflow-y: auto;
  /* 🔥 SCROLL VERTICAL */
  overflow-x: hidden;
  padding: 10px 20px 10px 20px;
  /* usa padding en vez de margin */
  position: relative;
  z-index: 1;
}

.sidebar .menu::-webkit-scrollbar {
  width: 6px;
}

.sidebar .menu::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar .menu::-webkit-scrollbar-thumb {
  background-color: var(--color-white-30);
  border-radius: 4px;
}

.submenu {
  padding-left: 35px;
}

.menu-item {
  padding: 4px 0px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
  gap: 0px;
  border-radius: 6px;
}

.menu-item:hover {
  background: var(--color-white-15);
  transform: translateX(-7px);
}

.submenu .menu-item:hover {
  transform: translateX(4px);
}

.menu-item:focus,
.menu-item.active {
  background: var(--color-white-20);
  font-weight: 600;
}

.menu-item i {
  font-size: 16px;
  min-width: 22px;
  margin-right: 0px;
  margin-left: 0px;
  text-align: center;
  vertical-align: middle;
}

.menu-item.active {
  background: var(--color-white-40);
  font-family: "Poppins-Medium";
  margin-left: -25px;
  padding-left: 25px;
}

/* Quitar la bolita solo de los padres */
.menu>li {
  list-style-type: none;
  /* quita el puntito por defecto */
}

/* CONTENEDOR PRINCIPAL */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s ease;
}

/**/

.accesos-wrapper {
  width: 62%;
  overflow-x: auto;
  /* scroll horizontal si no caben */
  padding: 0.5rem;
  -webkit-overflow-scrolling: touch;
  /* smooth scroll en móviles */
}

.accesos {
  display: flex;
  gap: 0.5rem;
  /* espacio entre botones */
  white-space: nowrap;
  /* evita que los items se rompan */
}

.accesos button {
  flex: 0 0 auto;
  /* no se achican los botones */
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: var(--color-bg-light);
  border-radius: 50%;
  font-size: 1rem;
  /* tamaño de icono */
}

/**/

/* TOPBAR */
.topbar {
  height: 60px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.topbar .accesos button {
  margin-right: 8px;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  background: var(--color-bg-light);
  cursor: pointer;
}

.topbar .accesos button:hover {
  background: var(--color-border-surface);
}

.topbar .usuario {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar .usuario>button {
  background: var(--color-white) !important;
  color: var(--color-dark) !important;
  padding: 6px 10px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}

.topbar .usuario>button:hover {
  background: var(--color-bg-lighter) !important;
  color: var(--color-dark) !important;
}

/* Fuerza dropdown de usuario en vertical y evita que herede estilo del botón antiguo */
.topbar .usuario.user-dropdown {
  position: relative;
}

.topbar .usuario.user-dropdown .user-dropdown-menu {
  position: absolute;
  top: 100%;
  margin-top: 8px;
  right: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  min-width: 180px;
  background: var(--color-white);
  border: 1px solid var(--color-border-soft);
  border-radius: 8px;
  box-shadow: 0 8px 24px var(--color-black-12);
  z-index: 1050;
  padding: 6px;
}

.topbar .usuario.user-dropdown .user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  color: var(--color-darker);
  border-radius: 6px;
  padding: 8px 10px;
}

.topbar .usuario.user-dropdown .user-dropdown-item:hover {
  background: var(--color-bg-lighter);
}

/* CONTENIDO CENTRAL */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
  overflow: hidden;
}

/* HEADER DEL CONTENIDO */
.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  /*padding: 12px 15px;*/
  padding: 10px 10px 5px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  border: 1px solid var(--color-bg-card);
  margin-top: -4px;
}

.content-header h2 {
  font-size: 18px;
}

.content-header .acciones button {
  border-radius: 4px;
  cursor: pointer;
}

/* MEDIA QUERY PARA MÓVIL */
@media (max-width: 768px) {
  .content-header {
    flex-direction: column;
    /* título arriba, botones abajo */
    align-items: stretch;
    /* ocupan todo el ancho */
  }

  .content-header h2 {
    margin-bottom: 10px;
  }

  .content-header .acciones {
    justify-content: center;
    /* centra los botones debajo */
  }
}

/* CUERPO DINÁMICO */
.content-body {
  flex: 1;
  background: var(--color-white);
  border-radius: 6px;
  border: 1px solid var(--color-bg-card);
  padding: 15px;
  overflow: auto;
}

/* FOOTER */
.footer {
  height: auto;
  /* altura flexible */
  background: var(--color-white);
  border-top: 1px solid var(--color-bg-card);
  display: flex;
  flex-wrap: wrap;
  /* permite que los items pasen a otra línea */
  align-items: center;
  padding: 5px 15px;
  font-size: 12px;
  color: var(--color-dark);
  justify-content: right;
  /* izquierda para móviles, se puede cambiar */
  gap: 5px;
  /* separa los items */
}

.footer-item {
  margin: 0;
  /* 20px a la izquierda y derecha de cada barra */
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .footer {
    font-size: 14px;
  }
}

.table th {
  text-align: center;
}

label {
  margin-bottom: 0;
  display: inline-block;
  font-weight: 500;
  font-size: 12px;
  color: var(--color-gray-700);
}

label.control-label {
  margin-top: 8px;
}

textarea.form-control {

  border: 1px solid var(--color-gray-border);
  color: var(--color-text-light);
  background-color: var(--color-gray-100);
  height: auto;
  font-size: 12px;
}

.form-select {  
  border: 1px solid var(--color-gray-border);
  color: var(--color-text-light);
  background-color: var(--color-gray-100);
  height: 26px;
  font-size: 12px;
}

.form-select:focus {
  color: var(--color-gray-800);
  background-color: var(--color-white);
  border-color: var(--color-border-light);
  outline: 0;
  box-shadow: 0 0 0 .3rem var(--color-gray-25)
}

.form-control {

  border: 1px solid var(--color-gray-border);
  color: var(--color-text-light);
  background-color: var(--color-gray-100);
  height: 26px;
  font-size: 12px;
}

.form-control:focus {
  color: var(--color-gray-800);
  background-color: var(--color-white);
  border-color: var(--color-border-light);
  outline: 0;
  box-shadow: 0 0 0 .3rem var(--color-gray-25)
}

::selection {
  background: var(--color-border-soft);
  /* rojo */
  color: var(--color-black);
  /* texto blanco */
}

::-moz-selection {
  background: var(--color-border-soft);
  color: var(--color-black);
}

/* Cambiar el color del placeholder solo en los campos con la clase .form-control */
.form-control::placeholder {
  color: var(--color-text-muted);
  /* Gris más oscuro */
  opacity: 1;
  /* Asegura que el texto no sea translúcido */
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
  border-color: var(--color-gray-border);
  padding-right: calc(1.5em + .75rem);
  background-image: none;
  background-repeat: no-repeat;
  background-position: center right calc(.375em + .1875rem);
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
  box-shadow: 0 0 0 .0rem var(--color-blue-25) !important;
}

.form-control.is-invalid:focus {
  color: var(--color-gray-900);
  background-color: var(--color-white);
  border-color: var(--color-blue-accent);
  outline: 0;
  box-shadow: 0 0 0 .0rem var(--color-blue-25) !important;
}

.btn {
  transition: none;
  height: 26px;
}

.input-btn-cuadrado {
  width: 26px;
  min-width: 26px;
  height: 26px;
  margin-left: 4px;
  border: 1px solid var(--color-border-light) !important;
  background: var(--color-bg-soft) !important;
  color: var(--color-dark) !important;
  padding: 0 !important;
  font-weight: 600;
  line-height: 1;
}

.input-btn-cuadrado:disabled {
  opacity: .65;
  cursor: not-allowed;
}

/******************************/

/* Sidebar colapsado */
.sidebar.collapsed {
  width: 0;
  /* desaparece */
  overflow: hidden;
  /* oculta scroll y contenido */
}

.sidebar+.main {
  margin-left: 0px;
  /* igual al ancho del sidebar */
}

.sidebar.collapsed+.main {
  margin-left: 0;
  /* ocupa todo el ancho cuando sidebar colapsa */
}

/* RESPONSIVE SIDEBAR - móviles */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: -75%;
    /* oculto por defecto */
    width: 75%;
    max-width: 260px;
    height: 100vh;
    z-index: 1050;
    /* encima de main */
    transition: left 0.3s ease;
    overflow-y: hidden;
    box-shadow: 2px 0 8px var(--color-black-30);
    background: var(--gradient-sidebar);
  }

  .sidebar.show {
    left: 0;
    /* visible */
  }

  /* overlay que cubre toda la pantalla */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-black-0);
    z-index: 1040;
    /* debajo del sidebar */
    transition: opacity 0.3s ease;
    opacity: 0;
    overflow: hidden;
    /* evita scroll adicional */
  }

  .sidebar-overlay.active {
    display: block;
    opacity: 1;
  }

  /* main ocupa toda la pantalla en móvil */
  .main {
    margin-left: 0 !important;
  }

  .sidebar .menu {
    overflow-y: auto;
  }
}

/* CLIENTES-VIEW */
/* BUSCAR PANEL RESPONSIVE */
.buscar-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  /* viewport dinámico */
  background-color: var(--color-white-98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-sizing: border-box;
}

/* Input de búsqueda */
.buscar-panel input {
  width: 100%;
  margin-bottom: 10px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--color-gray-border);
  border-radius: 4px;
  font-size: 13px;
}

/* Tabla con scroll */
.buscar-panel .table-wrapper {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  border: 1px solid var(--color-bg-light);
  border-radius: 6px;
}

/* Tabla */
.buscar-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.buscar-panel thead {
  background-color: var(--color-bg-page);
  position: sticky;
  top: 0;
  z-index: 1;
}

.buscar-panel th,
.buscar-panel td {
  padding: 12px 8px;
  /* más espacio entre filas */
  border-bottom: 1px solid var(--color-bg-ghost);
  text-align: center;
  vertical-align: middle;
  font-size: 12px;
}

.buscar-panel tbody tr:hover {
  background-color: var(--color-red-08);
  cursor: pointer;
}

/* Scroll custom */
.buscar-panel .table-wrapper::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.buscar-panel .table-wrapper::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}

.buscar-panel .table-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--color-white-30);
  border-radius: 4px;
}

.buscar-panel .table-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--color-red-hover);
}

/* BOTÓN CERRAR */
.buscar-panel .btn-cerrar {
  flex: 0 0 auto;
  margin-top: 10px;
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: bold;
  border-radius: 6px;
  height: 32px;
}

/* CONTROLES DATATABLES */
.dt-controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
  font-size: 12px;
  align-items: center;
}

.dt-length select,
.dt-goto input {
  margin-left: 5px;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid var(--color-gray-border);
  font-size: 12px;
  flex: 1;
}

.dt-goto {
  display: flex;
  align-items: baseline;
  /* Alinea verticalmente */
  gap: 10px;
  /* Espacio entre input y control */
}

/* PAGINACIÓN */
.dt-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.dt-pagination button {
  padding: 6px 10px;
  border-radius: 6px;
  border: none;
  background: var(--color-bg-surface);
  font-size: 12px;
  transition: all 0.2s;
}

.dt-pagination button.active {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: bold;
}

.dt-pagination button:hover:not(:disabled) {
  background: var(--color-red-hover);
  color: var(--color-white);
}

.dt-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* INFO DE REGISTROS */
.dt-info {
  text-align: center;
  font-size: 12px;
  margin-top: 6px;
  color: var(--color-dark);
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .dt-controls {
    flex-direction: column;
    align-items: flex-start;
    font-size: 11px;
  }

  .dt-pagination button {
    font-size: 11px;
    padding: 4px 6px;
  }

  .buscar-panel th,
  .buscar-panel td {
    padding: 10px 6px;
    font-size: 11px;
  }

  .buscar-panel .btn-cerrar {
    font-size: 13px;
    height: 30px;
  }
}

/*****************/
/* AUTO COMPLETE */
/*****************/
.autocomplete-container {
  position: relative;
  display: inline-block;
  width: 100%;
  z-index: 1;
  /* asegurar que quede por encima de otros elementos */
}

.autocomplete-input {
  width: 100%;
  /* input ocupa todo el contenedor */
  box-sizing: border-box;
  /* padding y borde incluidos */
}

.autocomplete-list {
  position: absolute;
  margin-top: 3px;
  border: 1px solid var(--color-gray-border);
  max-height: 150px;
  overflow-y: auto;
  background: var(--color-white);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
  color: var(--color-text-light);

  list-style: none;
  /* 🔥 quita viñetas */
  padding-left: 0;
  /* 🔥 quita indentación */
  margin-bottom: 0;
  /* evita espacio inferior */
}

.autocomplete-list li {
  padding: 6px 10px;
  cursor: pointer;
  list-style: none;
}

.autocomplete-list li.hovered,
.autocomplete-list li:hover {
  background-color: var(--color-red-soft);
  color: var(--color-white);
}

/* Scroll personalizado */
.autocomplete-list::-webkit-scrollbar {
  width: 6px;
}

.autocomplete-list::-webkit-scrollbar-track {
  background: transparent;
}

.autocomplete-list::-webkit-scrollbar-thumb {
  background-color: var(--color-black-20);
  border-radius: 4px;
}

.autocomplete-list::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-black-35);
}

.form-control:disabled,
.form-control[readonly] {
  background-color: var(--color-gray-100) !important;
}

select option:checked,
select option:hover {
  background-color: var(--color-red-soft);
  color: var(--color-white);
}

/* ESTILOS PARA LOS BOTONES HEADERS */
.acciones-imagenes {
  display: flex;
  /*gap: 15px;*/
  /* Espacio entre las imágenes */
}

.acciones-imagenes div {
  display: inline-block;
  /* Ajuste al contenido */
  border: 1px solid var(--color-border-muted);
  /* Borde alrededor de la imagen */
  padding: 7px;
  /* Espacio entre el borde y la imagen */
  background-color: var(--color-bg-light);
  /* Fondo gris suave */
  border-radius: 4px;
  /* Esquinas redondeadas */
  /*margin: 3px; /* Espacio entre los contenedores de las imágenes */
  margin-left: 3px;
  margin-right: 3px;
  cursor: pointer;
  /* Hace que la imagen sea clickeable */
}

.accion-icono {
  display: block;
  /* Elimina el espacio debajo de la imagen */
  height: 16px;
  /* Mantiene la proporción original */
  width: 16px;
}

.acciones-imagenes div:hover {
  /*transform: scale(1.05); /* Efecto de aumento */
  box-shadow: var(--shadow-md);
  /* Aumentar sombra al pasar el mouse */
}

/* INGRESO INTERNO */
.ingreso-interno .table input,
.ingreso-interno .table select {
  padding: 2px 5px;
  font-size: 0.875rem;
}

.ingreso-interno .cabecera input {
  display: inline-block;
  /*margin-right: 5px;*/
}

.no-estilo {
  all: unset !important;
  /* resetea todas las propiedades CSS */
  display: contents;
  /* opcional, para que el div desaparezca visualmente y solo deje sus hijos */
}

/* Clases para preview */
.pdf-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black-70);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pdf-modal {
  width: 95%;
  height: 95%;
  background: #c7c7c7;
  display: flex;
  flex-direction: column;
}

.pdf-modal-header {
  padding: 8px 4px 8px 14px;
  background: var(--color-border-muted);
  font-size: 14px;
}

.pdf-controls button {
  margin: 0 2px;
}

.pdf-controls {
  display: flex;
  /* asegura que los botones estén en fila */
  align-items: center;
  /* alinea verticalmente */
  gap: 8px;
  /* espacio entre botones, ajusta a tu gusto */
}

.pdf-canvas-wrapper {
  flex: 1;
  overflow: auto;
  text-align: center;
  padding: 10px;
}

.pdf-canvas-wrapper canvas {
  border: 1px solid var(--color-gray-300);
}

.pdf-controls button img {
  transition: transform 0.2s ease;
  /* animación suave */
}

.pdf-controls button img:hover {
  transform: scale(1.2);
  /* aumenta un 20% al pasar el mouse */
  cursor: pointer;
  /* cambia el cursor a puntero */
}

.producto-imagen-main {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border: 1px solid var(--color-border-img);
  background: var(--color-bg-white-soft);
  cursor: pointer;
}

.producto-menu-imagen {
  position: fixed;
  z-index: 3000;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  min-width: 140px;
  box-shadow: 0 6px 18px var(--color-black-20);
}

.producto-menu-imagen button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  border: 0;
  background: var(--color-white);
  color: var(--color-darker);
}

.producto-menu-imagen button:hover {
  background: var(--color-bg-page);
}

.producto-visor-overlay {
  position: fixed;
  inset: 0;
  z-index: 3100;
  background: var(--color-black-85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.producto-visor-img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
}

.producto-visor-close {
  position: fixed;
  top: 16px;
  right: 20px;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
  font-weight: 700;
}

.table-responsive {
  overflow-x: auto;
  /* mantiene scroll horizontal de la tabla */
  overflow-y: visible;
  /* permite que dropdowns se vean */
  position: relative;
  /* necesario para elementos absolutos dentro */
}

.loader-white {
  height: 16px;
  width: 16px;
  /* fuerza un tamaño fijo */
  display: inline-block;
  /* asegura que el margen funcione */
  margin-right: 0.5rem;
  /* separación real del texto */
  filter: brightness(0);
  /* para que sea negro */
  vertical-align: middle;
  /* alinea con el texto */
}

.btn-buscar {
  background-color: var(--color-warning);
  /* rojo más sobrio */
  border-color: var(--color-warning-dark);
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

.btn-buscar:hover:not(:disabled) {
  background-color: var(--color-warning);
  border-color: var(--color-warning-dark);
  box-shadow: var(--shadow-md);
}

.btn-buscar:hover:active {
  background-color: var(--color-warning);
  /* dorado presionado */
}

.btn-buscar:focus {
  outline: none;
  /* quita el borde azul por defecto en algunos navegadores */
  background-color: var(--color-warning) !important;
  box-shadow: 0 0 0 3px var(--color-yellow-40);
  /* sombra de foco personalizada */
}

.btn-buscar:hover:focus {
  outline: none;
  /* quita el borde azul por defecto en algunos navegadores */
}

.btn-buscar:disabled {
  opacity: 1;
  cursor: not-allowed;
}

/* Style para barra de progreso */
/* Barra tipo Gmail arriba */
/* barra tipo Gmail */
.fsw-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
  pointer-events: none;
  background: transparent;
}

.fsw-progress {
  height: 100%;
  width: 10%;
  /* inicia visible */
  background-color: var(--color-primary);
  transition: width 0.4s ease-out;
  opacity: 1;
  /* ya visible */
}

/* Loader inmediato antes de montar Vue */
.boot-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 10000;
  pointer-events: none;
  background: transparent;
}

.boot-loader-bar {
  height: 100%;
  width: 35%;
  background-color: var(--color-primary);
  animation: boot-loader-slide 1.1s ease-in-out infinite;
  transform-origin: left center;
}

@keyframes boot-loader-slide {
  0% {
    transform: translateX(-120%) scaleX(0.6);
    opacity: 0.8;
  }

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

  100% {
    transform: translateX(240%) scaleX(0.7);
    opacity: 0.8;
  }
}

.form-label {
  margin-bottom: 0rem;
}

/* LOOKUP MODAL */
.lookup-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-black-50);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lookup-modal {
  background: var(--color-white);
  width: 450px;
  max-width: 95%;
  border-radius: 8px;
  padding: 15px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.lookup-header {
  background: var(--color-bg-muted);
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid var(--color-border-soft);
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 13px;
  color: var(--color-darker);
}

.lookup-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.kardex-modal {
  width: 95vw;
  max-width: 1200px;
  height: 85vh;
}

.kardex-modal .lookup-body .table-wrapper {
  flex: 1;
  overflow: auto;
  min-height: 0;
}

.lookup-footer {
  margin-top: 15px;
}

.bg-mi-primary {
  background-color: var(--color-info) !important;
  color: var(--color-white);
}

.nav-link {
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: var(--bs-nav-link-font-size);
  font-weight: var(--bs-nav-link-font-weight);
  color: var(--color-gray-900) !important;
  text-decoration: none;
  background: 0 0;
  border: 0;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.tab-head {
  position: relative;
  /* padding equivalente a py-1 px-2 */
  padding: .25rem .5rem .25rem 50px;
  /* estilos del header */
  background-color: var(--color-info) !important;
  color: var(--color-white);
  /* flex */
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* extras que usted agregó */
  height: 26px;
  font-weight: 600;
}

.tab-ico {
  position: absolute;
  left: 10px;
  top: -4px;
}


.modal-90 {
  max-width: 90% !important;
}

.modal-95 {
  max-width: 95% !important;
}

.modal-97 {
  max-width: 97% !important;
}

.modal-100 {
  max-width: 100% !important;
}

.swal2-timer-progress-bar {
  background: var(--color-error) !important;
  /* rojo */
}

/* ========================================================================= */
/* CSS RESPONSIVE TABLA DETALLE (DESKTOP)                                    */
/* ========================================================================= */
.inferior {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.izquierda {
  flex: 1;
  order: 1;
}

.derecha {
  flex: 1;
  order: 2;
}

.totales {
  flex: 1;
  order: 3;
}

/* ========================================================================= */
/* CSS RESPONSIVE TABLA DETALLE (MÓVIL)                                      */
/* ========================================================================= */
@media (max-width: 768px) {
  .inferior {
    flex-direction: column;
  }

  .totales {
    order: 1;
    width: 100%;
  }

  .derecha {
    order: 2;
  }

  .izquierda {
    order: 3;
  }
}

/* ========================================================================= */
/* CSS PARA FILAS DE BOTONES ASOGNACION                                      */
/* ========================================================================= */
.fila {
  all: unset !important;
}

.fila div {
  margin-bottom: 8px;
}

/* ========================================================================= */
/* CSS PARA DROPDOWN DE PRODUCTOS (ejemplo para productos-view)              */
/* ========================================================================= */
.dropdown-productos {
  position: fixed;
  z-index: 9999;
  max-height: 220px;
  overflow: auto;
}

/* ========================================================================= */
/* CSS PARA DESHABILITAR BOTÓN CON OPACIDAD Y GRAYSCALE                      */
/* ========================================================================= */
.btn-toolbar.disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(100%);
  cursor: not-allowed;
}

/* ========================================================================= */
/* COLORES DE LOS ESTADOS_CAN                                                */
/* ========================================================================= */
.form-control.naranja {
  background-color: var(--color-orange) !important;
}

.form-control.verde {
  background-color: var(--color-verde) !important;
}

.form-control.rojo {
  background-color: var(--color-danger) !important;
}

.form-control.gris {
  background-color: var(--color-gray-100) !important;
}

/* ========================================================================= */
/* CSS TIPOCANCEL
/* ========================================================================= */
/* BTN PRIMARY */
.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-red-hover);
  border-color: var(--color-primary-dark);
}

/* BTN OUTLINE PRIMARY */
.btn-outline-primary {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* MODAL HEADER ROJO */
.modal-rojo-header {
  background: var(--gradient-sidebar);
  color: var(--color-white);
  border-bottom: 1px solid var(--color-primary-dark);
}

/* CHECKBOX / RADIO */
.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem var(--color-red-08);
}

.form-check-input:active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* BOTONES RADIO (CONTADO / CRÉDITO) */
.btn-check:checked+.btn-outline-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn-check:focus+.btn-outline-primary {
  box-shadow: 0 0 0 0.2rem var(--color-red-08);
}

/* BOTÓN CERRAR MODAL */
.btn-close {
  filter: invert(1);
  opacity: 0.9;
}

.btn-close:hover {
  opacity: 1;
}

/* FIX DEFINITIVO BTN RADIO (CONTADO / CRÉDITO) */
/* Hover del label (Bootstrap override fuerte) */
.btn-check+.btn-outline-primary:hover {
  background: var(--color-white) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

/* Focus del label */
.btn-check+.btn-outline-primary:focus,
.btn-check+.btn-outline-primary.focus {
  background: var(--color-white) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  box-shadow: 0 0 0 0.2rem var(--color-red-08) !important;
}

/* Hover cuando ya está checked */
.btn-check:checked+.btn-outline-primary:hover {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-white) !important;
}

/* ========================================================================= */
/* CSS BOTON ROJO
/* ========================================================================= */
.btn-primary {
  background-color: var(--color-primary-bright) !important;
  /* rojo suave */
  border-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  box-shadow: none !important;
  transition: all .15s ease;
}

/* click */
.btn-primary:active,
.btn-primary.active,
.btn-primary.show {
  background-color: var(--color-primary-dark) !important;
  /* rojo fuerte */
  border-color: var(--color-primary-dark) !important;
}

/* ========================================================================= */
/* ESTILO PARA SECCIONES                                                     */
/* ========================================================================= */
.card {
  border-radius: 8px;
  /* overflow: hidden;*/
  border: 1px solid var(--color-gray-150);
}

/* NOTAS */
.seccion-notas .card-header {
  background: var(--color-red-100);
  color: var(--color-red-400);
}

.seccion-notas .table thead th {
  background: var(--color-red-200);
  color: var(--color-red-300);
}

/* COMPROBANTES */
.seccion-comprobantes .card-header {
  background: var(--color-blue-100);
  color: var(--color-blue-500);
}

.seccion-comprobantes .table thead th {
  background: var(--color-blue-300);
  color: var(--color-blue-400);
}

/* PAGOS */
.seccion-pagos .card-header {
  background: var(--color-green-100);
  color: var(--color-green-500);
}

.seccion-pagos .table thead th {
  background: var(--color-green-300);
  color: var(--color-green-400);
}

/* CABECERA PEDIDO */
.seccion-cabecera .card-header {
  background: var(--color-blue-200);
  color: var(--color-gray-450);
  font-weight: 600;
}

.seccion-cabecera .form-control {
  background: var(--color-gray-050);
  border-color: var(--color-gray-250);
}

/* DETALLE PRODUCTOS */
.seccion-detalle .card-header {
  background: var(--color-purple-100);
  color: var(--color-purple-500);
  font-weight: 600;
}

.seccion-detalle .table thead th {
  background: var(--color-purple-200);
  color: var(--color-purple-500);
}

/* OBSERVACION */
.seccion-observacion .card-header {
  background: var(--color-green-200);
  color: var(--color-green-600);
  font-weight: 600;
}

/* HISTORIAL */
.seccion-historial .card-header {
  background: var(--color-brown-100);
  color: var(--color-brown-500);
  font-weight: 600;
}

.seccion-historial .table thead th {
  background: var(--color-brown-200);
  color: var(--color-brown-500);
}

/* ========================================================================= */
/* CSS PARA AUTOCOMPLETE CON SCROLL */
/* ========================================================================= */
/* Contenedor del autocomplete */
.gs-autocomplete {
    max-height: 200px;      /* Limita la altura máxima del listado */
    overflow-y: auto;       /* Activa scroll vertical cuando excede la altura */
}
/* Scrollbar personalizado (solo Chrome / Edge / Safari) */
.gs-autocomplete::-webkit-scrollbar {
    width: 8px;             /* Grosor del scroll */
}
/* Pulgar del scrollbar (parte arrastrable) */
.gs-autocomplete::-webkit-scrollbar-thumb {
    background: #c0c0c0;    /* Color gris del scroll */
    border-radius: 8px;     /* Bordes redondeados */
}
/* Efecto hover sobre el scrollbar */
.gs-autocomplete::-webkit-scrollbar-thumb:hover {
    background: var(--color-red-soft);  /* Cambia a color rojo suave */
}
/* Estilo cuando se pasa el mouse sobre un item del listado */
.gs-autocomplete .list-group-item-action:hover {
    background-color: var(--color-red-soft); /* Fondo rojo suave */
    color: var(--color-white);                             /* Texto en blanco */
}

/* Estilo select view pdf */
.pdf-select {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-border);
    border-radius: 5px;
    padding: 6px 28px 6px 10px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    color: var(--color-darker);
    cursor: pointer;

    /* apariencia moderna */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* icono flecha personalizado */
    background-image: linear-gradient(45deg, transparent 50%, var(--color-gray-800) 50%),
                      linear-gradient(135deg, var(--color-gray-800) 50%, transparent 50%),
                      linear-gradient(to right, var(--color-gray-50), var(--color-gray-50));
    background-position:
        calc(100% - 14px) 50%,
        calc(100% - 9px) 50%,
        100% 0;
    background-size:
        5px 5px,
        5px 5px,
        2.5em 100%;
    background-repeat: no-repeat;
}