/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background-image: url("/static/businesses/background/background.cc7399daf8e7.svg");
    background-size: cover;           /* 🔹 Cubre toda la pantalla */
    background-repeat: no-repeat;
    background-attachment: fixed;     /* 🔹 Mantiene el fondo fijo */
    background-position: center;
    font-family: 'Rubik', sans-serif !important;
    min-height: 100dvh;               /* 🔹 Usa altura dinámica real en móviles */
    display: flex;
    flex-direction: column;
  }

  
  .layout-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100% !important;
  }
  
  /* Sidebar */
  .sidebar {
    background-image: url("/static/businesses/icons/sidebarBackground.8d8bd3700a81.svg");
    box-shadow: inset 0 0 30px rgba(0,0,0,0.25);
    width: 340px !important;
    height: 100vh;
    padding: 20px;
    color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Rubik', sans-serif;
    justify-content: space-between;
    position: fixed;   /* 👈 Esto lo hace fijo */
    top: 0;
    left: 0;
  }

  /* Header */
  .sidebar-header {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .sidebar-logo-fidelyt {
    width: 200px;
    height: auto;
  }

  .sidebar-logo {
    /* max-width: 140px; */
    height: 62px;
    width: 58px;
    height: auto;
  }

  /* Navegación */
  .sidebar-nav {
    width: 100%;
    margin-top: auto;
    text-align: left;
    /* padding: 10px; */
    font-size: 17px;
    color: #ffffff;
  }

  .sidebar-nav a {
    display: flex;                /* ahora usa flex para ícono + texto */
    align-items: center;
    gap: 12px;                    /* espacio entre ícono y texto */
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    transition: background-color 0.3s;
    font-weight: 400;
    font-size: 15px;
  }

  .sidebar-nav a:hover,
  .sidebar-nav a.active {
    background-color: #4a2b7c;
    /* background-color: #00758f; */
  }

  .sidebar-nav-item-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .sidebar-nav a.home .sidebar-nav-item-icon {
    background-image: url("/static/businesses/icons/home.74b2c68b0c37.svg");
  }
  
  .sidebar-nav a.promotion .sidebar-nav-item-icon {
    background-image: url("/static/businesses/icons/no-logo.80624fa5fb75.svg");
  }
  
  .sidebar-nav a.register .sidebar-nav-item-icon {
    background-image: url("/static/businesses/icons/pencil.62e6ea74b966.svg");
  }

  .sidebar-nav a.clients .sidebar-nav-item-icon {
    background-image: url("/static/businesses/icons/premio.8eedbb05aef4.svg");
  }

  .sidebar-nav a.profiles .sidebar-nav-item-icon {
    background-image: url("/static/businesses/icons/profile.1fcbbcd73235.svg");
  }

  .sidebar-nav a.logout .sidebar-nav-item-icon {
    background-image: url("/static/businesses/icons/close.a6159cfec1e5.svg");
  }

  .sidebar-nav-item {
    flex: 1;
  }

  /* Bottom business info */
  .sidebar-bottom {
    margin-top: auto; /* empuja hacia abajo */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .sidebar-bottom-container {
    display: flex;
    flex-direction: column; /* Primero info+logo (fila), luego separador (abajo) */
    width: 100%;
    gap: 8px;
  }

  /* Fila con texto a la izquierda y logo a la derecha */
  .sidebar-bottom-data {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
  }

  /* Info en columna */
  .sidebar-bottom-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-left: 10px;

    flex: 1;
    min-width: 0;
  }

  /* Estilos de los textos */
  .sidebar-bottom-business-name {
    font-size: 18px;
    color: #D4B5FF;
    margin-bottom: 4px;
    font-weight: 500;

    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .sidebar-bottom-business-name span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sidebar-bottom-business-name i {
    margin-right: 10px;
  }

  .sidebar-bottom-business-name .edit-profile-icon {
    flex-shrink: 0;
  }

  .sidebar-bottom-profile-name {
    font-size: 12px;
    color: #D4B5FF;
    margin-bottom: 4px;
    font-weight: 500;

    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Logo */
  .sidebar-bottom-logo-container {
    flex-shrink: 0;
  }

  .sidebar-bottom-logo {
    width: 60px;
    height: 58px;
    border-radius: 8px;

    display: block;
  }

  /* Separador */
  .sidebar-bottom-separator {
    width: 100%;
    height: 4px;
    background-image: url("/static/businesses/files/separator-sidebar.f6fce804da6e.svg");
    border-radius: 1px;
  }
  

  /* Footer */
  .sidebar-footer {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #D4B5FF;
    margin-top: 15px;
  }

.modal-overlay {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.6) !important;
  z-index: 3000 !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Mostrar modal activo */
.modal-overlay.active {
  display: flex !important;
}

/* Tarjeta principal */
.modal-card {
  background: #D6C4FF !important; /* tono lila suave */
  color: #1a1a1a !important;
  border-radius: 40px !important;
  padding: 40px 35px !important;
  width: 90% !important;
  max-width: 420px !important;
  position: relative !important;
  text-align: left !important;
  box-shadow: 0 0 25px rgba(0,0,0,0.3) !important;
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden !important;
}

/* Botón de cierre */
.close-btn {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  background: #fff !important;
  color: #1a1a1a !important;
  border: none !important;
  font-size: 24px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
  transition: transform 0.2s ease !important;
}

.close-btn:hover {
  transform: scale(1.1) !important;
}

/* Títulos */
.modal-subtitle {
  font-size: 1.2em;
  color: #1a1a1a;
  font-weight: 400;
  margin: 0;
}

.modal-title {
  font-size: 1.8em;
  color: #000;
  font-weight: 800;
  margin: 4px 0 20px;
}

/* Inputs */
.modal-card .form-group {
  margin-bottom: 18px !important;
}

.modal-card label {
  display: block !important;
  font-size: 1em !important;
  margin-bottom: 6px !important;
  color: #1a1a1a !important;
}

.modal-card input {
  width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  border: none !important;
  outline: none !important;
  font-size: 0.95em !important;
  background: #f8f5ff !important;
  font-style: italic !important;
  color: #333 !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* Botón de enviar */
.modal-submit {
  width: 100%;
  background: #000;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  padding: 14px 0;
  margin-top: 10px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s ease, transform 0.2s ease;
}

.modal-submit:hover {
  background: #2c2c2c;
  transform: translateY(-1px);
}

.modal-decor-top-left {
  position: absolute !important;
  top: -30px !important;      /* parte fuera del modal */
  left: -30px !important;    /* parte fuera del modal */
  width: 140px !important;   /* ajusta según el SVG */
  height: auto !important;
  z-index: 1 !important;      /* debajo del contenido */
  pointer-events: none !important;
  opacity: 0.9 !important;
}

.modal-decor-bottom-right {
  position: absolute !important;
  bottom: -30px !important;   /* parte fuera del modal */
  right: -30px !important;   /* parte fuera del modal */
  width: 140px !important; /* ajusta según el SVG */
  height: auto !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 0.9 !important;
}

.modal-card > * {
  position: relative;
  z-index: 2;
}

/* Fondo decorativo izquierdo */
.goal-bg-left-decor {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  user-select: none;
  z-index: 1;              /* ⬅️ capa decorativa */
  opacity: 0.35;
}

/* Fondo decorativo derecho */
.goal-bg-right-decor {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.35;
}

 .reward-complete-card {
  background-image: url("/static/businesses/files/reward_complete_back.950b5ba28c3e.png") !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.reward-complete-content {
  display: flex;
  flex-direction: column;
  align-items: center;   /* 👈 centra horizontalmente TODO */
  text-align: center;    /* 👈 centra el texto */
}

.reward-complete-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0px 0 10px;
  text-align: center;
  color: #ffffff
}

.reward-icon {
  margin-bottom: 10px;
}

.reward-icon-complete {
  width: 120px;
  display: block;
}

.reward-customer-name {
  position: relative;
  font-size: 2.4rem;
  font-weight: 900;
  margin: 40px 85px 30px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff
}

.reward-customer-name::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.136) 0deg 6deg,
    transparent 6deg 12deg
  );
  border-radius: 50%;
  z-index: -1;
  opacity: 0.9;
}

.reward-description {
  font-size: 0.9rem;
  opacity: 0.95;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #ffffff
}

.reward-footer {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff
}
  
  /* Main Content */
  .main-content {
    flex: 1;
    padding: 20px;
    /* background-color: #f2f6f8; */
    min-width: 300px !important;
    width: calc(100% - 340px) !important; /* Ajusta el ancho restando el ancho del sidebar */
    margin-left: 340px; /* Añade margen izquierdo igual al ancho del sidebar */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    position: relative;
    overflow-y: auto;
    align-items: center;
  }
  
  .header-section {
    background-color: #ffffff;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100% !important;
    min-width: 300px !important;
  }
  
  .header-section h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #004d66;
  }
  
  .header-section p {
    color: #666;
    font-size: 14px;
  }
  
  .card {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
  }
  
  .card h3 {
    font-size: 18px;
    color: #004d66;
    margin-bottom: 10px;
  }
  
  .card p {
    font-size: 22px;
    color: #333;
    font-weight: 600;
  }
  
  /* Recent Activity */
  .recent-activity {
    margin-top: 40px;
  }
  
  .recent-activity h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #004d66;
  }
  
  .recent-activity ul {
    list-style: none;
    padding-left: 0;
  }
  
  .recent-activity li {
    background-color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    color: #333;
    font-size: 14px;
  }

  .main-current-card-container {
    /* margin: 20px 0;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px; */
  }

  .main-card-container {
    /* margin: 20px 0;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px; */
  }

  .footer {
      margin-top: auto;
      padding: 10px 20px;
      background-color: #f2f6f8;
      color: #666;
      text-align: center;
      font-size: 14px;
      border-top: 1px solid #ddd;
  }


  @media (max-width: 768px) {
    .layout-wrapper {
      flex-direction: column;
    }

    .sidebar {
      position: fixed;
      left: -100%;
      top: 0;
      height: 100%;
      background-color: #004d66;
      z-index: 1000;
      transition: left 0.3s ease;
      /* width: 100% !important; */
    }

    .sidebar.active {
      left: 0;
    }

    .main-content {
      width: 100% !important;
      padding: 10px;
      margin-left: 0;
      min-width: 300px !important;
    }
  }
  #menu-toggle.hidden {
    display: none;
  }

  .grey-background {
    flex: 1;
    padding: 40px;
    min-width: 320px !important;
  }

  body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'Rubik', sans-serif;
  }

  .button_orange {
    width: 100%;
    padding: 12px;
    background-color: #FF6C00;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .button_orange:hover {
    background-color: #e65c00;
  }

  .button_basic {
    width: 100%;
    padding: 12px;
    background-color: #004d66;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .button_basic:hover {
    background-color: #00334d;
  }

  .button_rose {
    width: 100%;
    padding: 12px;
    background-color: #D9B3FF;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .button_rose:hover {
    background-color: #bf80ff;
  }

  .button_rose_dup {
    width: 100%;
    padding: 12px;
    background-color: #3D2F82;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .button_rose_dup:hover {
    background-color: #251a5d;
  }

  @supports not (height: 100dvh) {
    body {
      min-height: 100vh;
    }
  }

  /* Overlay */
.promo-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

/* Tarjeta principal */
.promo-card-dialog {
  background: linear-gradient(180deg, #c4b3f5 0%, #b89ee0 100%);
  border-radius: 40px;
  padding: 30px 30px 80px; /* más espacio inferior para el recorte */
  max-width: 420px;
  width: 90%;
  color: #000;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  overflow: hidden; /* 🔹 recorta la parte inferior de la imagen */
  margin: auto;
}

.promo-card-dialog.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

/* Botón cerrar */
.promo-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  color: #3b276b;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Contenido */
.promo-subtitle {
  font-size: 16px;
  margin-bottom: 6px;
  color: #30214f;
}

.promo-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1c102e;
}

.promo-text {
  font-size: 16px;
  color: #1e1130;
  margin: 14px 0;
}

/* Imagen */
.promo-img {
  position: absolute;
  bottom: -25px; /* 🔹 corta la imagen hacia abajo */
  left: -10px;   /* 🔹 ligeramente hacia la izquierda */
  width: 170px;
  z-index: 0;
  pointer-events: none;
  animation: popIn 0.6s ease forwards;
}

.promo-content {
  position: relative;
  z-index: 1;
}

/* Botón naranja */
.promo-btn {
  background: #ff7a00;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 5px 0 #c85e00;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 2;
}

.promo-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #a04d00;
}

/* Link “Más información” */
.promo-link {
  position: absolute;       /* 🔹 Saca el link del flujo normal */
  bottom: -50px;             /* 🔹 Lo coloca abajo del contenedor */
  right: -25px;              /* 🔹 Lo alinea a la derecha */
  color: #3b1b8f;
  font-weight: 600;
  text-decoration: underline;
  font-size: 15px;
  cursor: pointer;
  z-index: 3;               /* 🔹 Asegura que esté sobre la imagen */
}

@keyframes popIn {
  0% { transform: scale(0.8) rotate(-8deg); opacity: 0; }
  80% { transform: scale(1.05) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}

/* 🔸 Ajuste responsive para pantallas pequeñas */


/* Corrige el leve desplazamiento del Step 1 */
#promoStep1 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Mantiene centrado el contenido, sin afectar el megáfono */
#promoStep1 .promo-content {
  margin: 0 auto;
  width: 100%;
  max-width: 85%;
}

.goal-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

.goal-card-dialog {
  background: linear-gradient(180deg, #c4b3f5 0%, #b89ee0 100%);
  border-radius: 40px;
  padding: 40px 30px 50px;
  max-width: 420px;
  width: 90%;
  color: #1c102e;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  overflow: hidden;
  z-index: 0; /* 🔹 establece un contexto base */
}

/* Cuadro izquierdo */
.goal-bg-left {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  user-select: none;
  z-index: -1; /* 🔹 los manda detrás del contenido */
  opacity: 0.5; /* 🔹 leve transparencia */
  filter: brightness(0.95); /* 🔹 opcional: suaviza el contraste */
}

/* Cuadro derecho */
.goal-bg-right {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  user-select: none;
  z-index: -1;
  opacity: 0.5;
  filter: brightness(0.95);
}

.goal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  color: #3b276b;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.goal-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.goal-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  background: #fff;
  color: #333;
  margin-bottom: 22px;
}

.goal-label {
  display: block;
  font-weight: 700;
  font-size: 17px;
  color: #2c145d;
  margin-bottom: 6px;
  text-align: left;
}

.goal-help {
  background: #b89ee0;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 13px;
  margin-left: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.goal-help:hover {
  background: #a67cd9;
}

.goal-text {
  font-size: 16px;
  margin: 14px 0;
  color: #1e1130;
}

.goal-link {
  display: inline-block;
  margin-top: 20px;
  color: #3b1b8f;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

.inactive-promotion-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 🔹 centra verticalmente */
  align-items: center;     /* 🔹 centra horizontalmente */
  text-align: center;
  padding: 20px 25px;
  background: transparent;
}

/* Texto */
.inactive-promotion-content p {
  color: #d8cfff;
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.4;
}

/* Botón */
.inactive-promotion-content .promo-btn {
  background: #ff7a00;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 5px 0 #c85e00;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inactive-promotion-content .promo-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #a04d00;
}

.sidebar-bottom-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
}

/* Efecto hover opcional */
.sidebar-bottom-link:hover .sidebar-bottom-container {
  cursor: pointer;
}

.edit-profile-icon {
  font-size: 14px;          /* 👈 más pequeño */
  color: #c2a8ff;           /* mismo tono del dashboard */
  opacity: 0.8;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.edit-profile-icon:hover {
  color: #ffffff;
  transform: scale(1.1);
}

/* Contenedor base */
.sidebar-nav .nav-item {
  position: relative;
}

/* Tooltip */
.sidebar-nav .nav-item[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);

  background-color: #1a1a22;
  color: #d2b4ff;
  padding: 8px 12px;
  border-radius: 8px;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;

  width: auto;                  /* 👈 ancho automático */
  max-width: 200px;              /* 👈 ancho máximo */
  text-align: center;

  white-space: normal;           /* 👈 permite saltos */
  word-wrap: break-word;         /* 👈 rompe palabras largas */
  overflow-wrap: break-word;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  z-index: 999;
}

/* Flechita */
.sidebar-nav .nav-item::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  /* margin-left: 6px; */

  border-width: 6px;
  border-style: solid;
  border-color: transparent #1a1a22 transparent transparent;

  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 998;
}

/* Hover */
.sidebar-nav .nav-item:hover::after,
.sidebar-nav .nav-item:hover::before {
  opacity: 1;
}

.sidebar.collapsed .sidebar-nav .nav-item::after,
.sidebar.collapsed .sidebar-nav .nav-item::before {
  display: block;
}

.messages {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.messages li {
  background-color: #ffe0e0;
  color: #b20000;
  padding: 10px;
  border-radius: 6px;
}
.messages li.success {
  background-color: #e0ffe0;
  color: #006600;
}
.messages li.error {
  background-color: #ffe0e0;
  color: #b20000;
}
.messages li.warning {
  background-color: #fff3cd;
  color: #856404;
}
.messages li.info {
  background-color: #d1ecf1;
  color: #0c5460;
}