:root {
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 100px;
    --guinda-170: #3a0a1e;
    --guinda-160: #611232;
    --guinda-150: #9b2247;
    --guinda-110: #f0eced;
    --dorado-110: #a57f2c;
    --dorado-210: #e6d194;
    --blanco: #fefefe;
    --sidebar-text: #ffffff;
    --top-navbar-height: 50px;
    --transition: all 0.3s ease;
    --icon-size: 28px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto sans", sans-serif;
  background-color: var(--main-content-bg);
}

/* .fondo { */
  /* width: 100%; */
  /* height: 100vh; */
  /* position: absolute; */
  /* background-color: #33333361; */
  /* z-index: 1000; */
/* }  */

.navbar {
  position: sticky;
  z-index: -1;
}

.page-content {
  width: 85%;
  margin: 0 auto;
  padding: 0px;
}

.tab-content {
  min-height: auto !important;
}

.tituloSeccion {
  margin-bottom: 3rem;
  text-align: center;
}

.radio {
  width: 100%;
  max-width: 750px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-evenly;
  margin: 0 auto;
}

.container-cards {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  margin-top: 1rem;
}

.card-radio {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.card-radioPromocion {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.card-area {
  width: 33%;
  max-width: 140px;
  min-width: 120px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 10px !important;
  border: 2px solid var(--guinda-170);
  border-radius: 10px;
  font-family: "Noto Sans", sans-serif;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-align: center;
  text-wrap: balance;
  text-transform: capitalize;
  color: var(--guinda-170) !important;
  background-color: #ffffff;
  transition: all 0.3s ease;
  user-select: none;
  cursor: pointer;

  i {
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* Estado seleccionado de la card */
.card-area.selected {
  color: #ffffff !important;
  background-color: var(--guinda-160);
  transform: translateY(-8px);
  box-shadow: rgba(0, 0, 0, 0.17) 0px 23px 25px 0px inset,
    rgba(0, 0, 0, 0.15) 0px 36px 30px 0px inset,
    rgba(0, 0, 0, 0.1) 0px 79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
    rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
    rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;

  transform: scale(1.02);
  i {
    filter: brightness(0) invert(1);
  }
}

/* Estado hover de la card */
.card-area:hover {
  color: #ffffff !important;
  background-color: var(--guinda-160);
  transform: translateY(-8px);
  box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset,
    rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset,
    rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
    rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
    rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;

  i {
    filter: brightness(0) invert(1);
  }
}

/* Estado hover cuando está seleccionada */
.card-area.selected:hover {
  background-color: var();
  transform: scale(1.02) translateY(-8px);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.card-area--1 {
  i {
    width: 38.96px;
    height: 50px;
    background-image: url("../Content/images/electricidad.svg");
  }
}

.card-area--2 {
  i {
    width: 41.03px;
    height: 50px;
    background-image: url("../Content/images/petroliferos.svg");
  }
}

.card-area--3 {
  i {
    width: 41.03px;
    height: 50px;
    background-image: url("../Content/images/gasnatural.svg");
  }
}

.card-area--4 {
  i {
    width: 41.03px;
    height: 50px;
    background-image: url("../Content/images/gaslp.svg");
  }
}

.card-area--7 {
  i {
    width: 41.03px;
    height: 50px;
    background-image: url("../Content/images/verificacion.svg");
  }
}

.card-promocion {
  width: 33%;
  max-width: 130px;
  min-width: 110px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 10px !important;
  border: 2px solid var(--guinda-170);
  border-radius: 10px;
  font-family: "Noto Sans", sans-serif;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-align: center;
  text-wrap: balance;
  text-transform: capitalize;
  color: var(--guinda-170) !important;
  background-color: #ffffff;
  transition: all 0.3s ease;
  user-select: none;
  cursor: pointer;

  i {
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* Estado seleccionado de la card */
.card-promocion.selected {
  color: #ffffff !important;
  background-color: var(--guinda-160);
  transform: translateY(-8px);
  box-shadow: rgba(0, 0, 0, 0.17) 0px 23px 25px 0px inset,
    rgba(0, 0, 0, 0.15) 0px 36px 30px 0px inset,
    rgba(0, 0, 0, 0.1) 0px 79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
    rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
    rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;

  transform: scale(1.02);
  i {
    filter: brightness(0) invert(1);
  }
}

/* Estado hover de la card */
.card-promocion:hover {
  color: #ffffff !important;
  background-color: var(--guinda-160);
  transform: translateY(-8px);
  box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset,
    rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset,
    rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
    rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
    rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;

  i {
    filter: brightness(0) invert(1);
  }
}

/* Estado hover cuando está seleccionada */
.card-promocion.selected:hover {
  background-color: var();
  transform: scale(1.02) translateY(-8px);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.card-promocion--3 {
  i {
    width: 51px;
    height: 40px;
    background-image: url("../Content/images/solicitud-permiso.svg");
  }
}

.card-promocion--4 {
  i {
    width: 40px;
    height: 40px;
    background-image: url("../Content/images/registro.svg");
  }
}

.card-promocion--5 {
  i {
    width: 40px;
    height: 40px;
    background-image: url("../Content/images/obligaciones-empresa.svg");
  }
}

.card-promocion--6 {
  i {
    width: 53px;
    height: 40px;
    background-image: url("../Content/images/obligacion.svg");
  }
}

.card-promocion--7 {
  i {
    width: 53px;
    height: 40px;
    background-image: url("../Content/images/emision-documento.svg");
  }
}

.card-promocion--9 {
  i {
    width: 32.5px;
    height: 40px;
    background-image: url("../Content/images/actualizacion-permiso.svg");
  }
}

.card-promocion--10 {
  i {
    width: 38px;
    height: 40px;
    background-image: url("../Content/images/modificacion-permiso.svg");
  }
}

.card-promocion--11 {
  i {
    width: 40px;
    height: 40px;
    background-image: url("../Content/images/otros-tramites.svg");
  }
}

.card-promocion--12 {
  i {
    width: 40px;
    height: 40px;
    background-image: url("../Content/images/autorizacion.svg");
  }
}

.card-promocion--13 {
  i {
    width: 40px;
    height: 40px;
    background-image: url("../Content/images/modificacion-autorizacion.svg");
  }
}

.descripciones {
  display: block;
  width: 100%;
  max-width: 750px;
  height: auto;
  margin: 0 auto;
  margin-top: 2rem;
  border: 3px solid var(--dorado-110);
  border-radius: 10px;

  .descripciones__titulo {
    width: 100%;
    height: auto;
    background-color: var(--dorado-110);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    P {
      font-size: 18px;
      font-weight: 500;
      text-align: center;
      color: white;
    }
  }

  .descripciones__detalle {
    height: auto;
    max-height: 200px;
    overflow-y: scroll;
    padding: 1rem;
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
  }
}

.deshabilitado {
  display: none;
}

.botones-formulario {
  width: 100%;
  max-width: 750px;
  height: auto;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: 2rem;
}

.boton {
  all: unset;
  width: auto;
  height: auto;
  align-content: center;
  padding: 0.7rem 2rem 0.7rem 2rem;
  border: 2px solid var(--guinda-160);
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}

.boton--primario {
  background-color: var(--guinda-160);
  color: white;

  img {
    margin-left: 1rem;
  }
}

.boton--primario:hover {
  background-color: var(--guinda-150);
  border: 2px solid var(--guinda-150);
}

.boton--secundario {
  background-color: var(--blanco);
  color: var(--guinda-160);
  border: 2px solid var(--guinda-160);

  img {
    margin-right: 1rem;
    align-content: center;
    align-self: center;
  }
}

.boton--secundario:hover {
    background-color: var(--guinda-160);
    border: 2px solid var(--guinda-160);
    color: var(--blanco);
}

.boton--terciario {
  border: 2px solid #bcbebe;
  color: #696969;
}

.boton--terciario:hover {
  border: 2px solid #bcbebe;
  background-color: #bcbebe;
  color: white;
}

.boton--disabled {
  border: 2px solid #bcbebe;
  background-color: #bcbebe;
  color: white;
  cursor: no-drop;
}

.terminos {
  width: 100%;
  max-width: 750px;
  height: auto;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 1rem;
  border: 2px solid #d6d6d6;
  border-radius: 10px;
  cursor: pointer;

  label {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    gap: 10px;
    cursor: pointer;
    user-select: none;
  }

  input[type="checkbox"] {
    accent-color: var(--guinda-150);
    width: 25px;
    height: 25px;
    margin-left: 10px;
  }
}

.terminos:hover {
  background-color: #d6d6d67b;
}

/* Sidebar Container */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--guinda-170);
  color: var(--sidebar-text);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset,
    rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset,
    rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
    rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
    rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed-width);
}

/* Sidebar Header */
.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--guinda-160);
  background: rgba(0, 0, 0, 0.1);
  position: relative;
}

.sidebar-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--guinda-160),
    transparent
  );
}

.sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--sidebar-text);
  font-weight: bold;
  font-size: 18px;
}

.brand-image {
  width: 80%;
  filter: brightness(0) invert(1);
}

.brand-text {
  font-size: 20px;
  font-weight: 600;
}

.version-badge {
  margin-top: 3rem;
  background: var(--guinda-150);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--sidebar-text);
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: var(--transition);
}

.sidebar-toggle:hover {
  background: var(--guinda-150);
}

/* Sidebar Content */
.sidebar-content {
  flex: 1;
  padding: 20px 0;
}

.user-info {
  display: flex;
  align-items: center;
}

/* User Info */
.user-info,
.guest-info {
  display: flex;
  padding: 15px 20px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-left: 15px;
  margin-right: 15px;
  min-height: 60px;
}

.user-avatar,
.guest-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--guinda-150);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
}

.user-details,
.guest-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.user-name,
.guest-text {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--sidebar-text);
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.2;
  max-width: 100%;
}

.user-role {
  display: block;
  font-size: 12px;
  color: #bdc3c7;
  margin-top: 2px;
}

.btn-logout {
  background: none;
  border: none;
  color: White;
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: var(--transition);
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-logout:hover {
  background: rgba(231, 76, 60, 0.1);
  color: White;
}

/* Navigation Menu */
.sidebar-nav {
  padding: 0 0;
  position: relative;
  border-top: 1px solid var(--guinda-150);
  padding-top: 10px;
}

.sidebar-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15px;
  right: 15px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--guinda-160),
    transparent
  );
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin-bottom: 8px;
  position: relative;
  cursor: pointer;
}

.nav-link {
  all: unset;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--sidebar-text);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.nav-link:hover {
  background: var(--guinda-150);
  color: var(--sidebar-text);
  text-decoration: none;
}

.nav-link.active {
  background: var(--guinda-150);
  color: white;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: white;
  border-radius: 0 2px 2px 0;
}

.nav-link i {
  width: var(--icon-size);
  height: var(--icon-size);
  margin-right: 12px;
  text-align: center;
  font-size: 16px;
  background: var(--guinda-150);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.nav-link span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Submenu */
.has-submenu .nav-link {
  position: relative;
}

.submenu-toggle {
  margin-left: 1rem;
  font-size: 12px;
  transition: var(--transition);
}

.has-submenu.active .submenu-toggle {
  transform: rotate(180deg);
}

.submenu {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  margin-top: 5px;
  margin-left: 15px;
  border-left: 2px solid var(--guinda-160);
  display: none;
}

.has-submenu.active .submenu {
  display: block;
}

.submenu-item {
  margin: 0;
}

.submenu-link {
  all: unset;
  display: flex;
  align-items: center;
  padding: 8px 15px 8px 20px;
  color: #bdc3c7;
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
  border-radius: 4px;
  margin: 2px 8px;
  position: relative;
}

.submenu-link:hover {
  background: var(--guinda-150);
  color: var(--sidebar-text);
  text-decoration: none;
}

.submenu-link:hover i {
  color: var(--sidebar-text);
  border-color: var(--sidebar-text);
}

.submenu-link.active {
  background: var(--guinda-150);
  color: white;
}

.submenu-link.active i {
  color: white;
  border-color: white;
}

.submenu-link i {
  width: 8px;
  height: 8px;
  margin-right: 12px;
  font-size: 6px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bdc3c7;
  flex-shrink: 0;
  border: 1px solid #bdc3c7;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--guinda-160);
  background: rgba(0, 0, 0, 0.1);
  position: relative;
}

.sidebar-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--guinda-160),
    transparent
  );
}

.help-menu .dropdown {
  position: relative;
  margin-bottom: 200px;
}

.help-menu .dropdown-toggle {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--sidebar-text);
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.help-menu .dropdown-toggle:hover {
  background: var(--guinda-150);
  color: var(--sidebar-text);
  text-decoration: none;
}

.help-menu .dropdown-toggle i {
  width: var(--icon-size);
  height: var(--icon-size);
  margin-right: 12px;
  text-align: center;
  font-size: 16px;
  background: var(--guinda-150);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.help-menu .dropdown-toggle span {
  flex: 1;
}

.help-menu .dropdown-toggle .fa-chevron-down {
  font-size: 12px;
  transition: var(--transition);
}

.help-menu .dropdown.open .fa-chevron-down {
  transform: rotate(180deg);
}

.help-menu .dropdown-menu {
  position: absolute;
  /*bottom: 100%; */
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.1);
  border-left: 2px solid var(--guinda-160);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin: 0 0 10px 0;
  list-style: none;
  z-index: 1001;
  display: none;
}

.help-menu .dropdown.open .dropdown-menu {
  display: block;
}

.help-menu .dropdown-menu li {
  margin: 0;
}

.help-menu .dropdown-menu a {
  display: block;
  padding: 12px 15px;
  color: var(--blanco);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 4px;
  margin: 2px 8px;
}

.help-menu .dropdown-menu a:hover {
  background: var(--guinda-150);
  color: white;
  text-decoration: none;
  transform: translateX(1px);
}

.help-menu .dropdown-menu .divider {
  height: 1px;
  background: #ddd;
  margin: 8px 15px;
  opacity: 0.6;
}

/* Main Content */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  transition: var(--transition);
  background: var(--main-content-bg);
}

.sidebar.collapsed + .main-content {
  margin-left: var(--sidebar-collapsed-width);
}

/* Top Navigation */
.top-navbar {
  background: white;
  height: var(--top-navbar-height);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.btn-toggle-sidebar {
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: var(--transition);
  margin-right: 15px;
}

.btn-toggle-sidebar:hover {
  background: #f8f9fa;
  color: #333;
}

/* Progress Bar Styles */
.progress-section {
  margin-bottom: 2rem;
}

.progress-container {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.progress-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--guinda-170);
  margin: 0 0 15px 0;
  text-align: center;
  font-family: "Noto Sans", sans-serif;
}

.progress-bar {
  width: 100%;
  max-width: 600px;
  height: 12px;
  background-color: #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background-color: var(--guinda-170);
  border-radius: 6px;
  transition: width 0.5s ease-in-out;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  border-radius: 6px;
}

/* Responsive design for progress bar */
@media (max-width: 768px) {
  .progress-section {
    padding: 15px;
  }

  .progress-container {
    max-width: 100%;
  }

  .progress-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .progress-bar {
    height: 10px;
  }
}

@media (max-width: 480px) {
  .progress-section {
    padding: 10px;
  }

  .progress-title {
    font-size: 16px;
    font-weight: 700;
  }

  .progress-bar {
    height: 8px;
  }
}

/* Page Content */
.page-content {
  min-height: calc(100vh - var(--top-navbar-height));
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .sidebar-toggle {
    display: block;
  }

  .btn-toggle-sidebar {
    display: block;
  }

  /* Overlay for mobile sidebar */
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }

  .sidebar-overlay.show {
    display: block;
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 100%;
  }

  .main-content {
    margin-left: 0;
  }
}

/* Collapsed Sidebar Styles */
.sidebar.collapsed .brand-text,
.sidebar.collapsed .version-badge,
.sidebar.collapsed .user-name,
.sidebar.collapsed .user-role,
.sidebar.collapsed .nav-link span,
.sidebar.collapsed .help-menu .dropdown-toggle span {
  display: none;
}

.sidebar.collapsed .submenu {
  display: none !important;
}

/* Force submenu visibility when active */
.has-submenu.active .submenu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.sidebar.collapsed .sidebar-brand {
  justify-content: center;
}

.sidebar.collapsed .user-info,
.sidebar.collapsed .guest-info {
  justify-content: center;
  padding: 15px 10px;
  margin-left: 10px;
  margin-right: 10px;
  min-height: 50px;
}

.sidebar.collapsed .user-details,
.sidebar.collapsed .guest-details {
  display: none;
}

.sidebar.collapsed .nav-link {
  justify-content: center;
  padding: 12px 10px;
}

.sidebar.collapsed .nav-link i {
  margin-right: 0;
}

.sidebar.collapsed .submenu {
  display: none;
}

.sidebar.collapsed .help-menu .dropdown-toggle {
  justify-content: center;
  padding: 12px 10px;
}

.sidebar.collapsed .help-menu .dropdown-toggle i {
  margin-right: 0;
}

/* Animation for smooth transitions */
.sidebar * {
  transition: var(--transition);
}

/* Custom scrollbar for sidebar */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--guinda-150);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Additional styling for better visual hierarchy */
.nav-link span {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.submenu-link span {
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* Hover effects for better interactivity */
.nav-link:hover i {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.nav-link.active i {
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  color: var(--guinda-170);
  transform: scale(1.05);
}

/* Smooth transitions for all interactive elements */
.nav-link,
.submenu-link,
.help-menu .dropdown-toggle {
  transition: all 0.2s ease;
}

/* Focus states for accessibility */
.nav-link:focus,
.submenu-link:focus,
.help-menu .dropdown-toggle:focus {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

/* Additional submenu improvements */
.has-submenu.active .submenu {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure submenu items are properly spaced */
.submenu-item:not(:last-child) {
  margin-bottom: 2px;
}

/* Better visual hierarchy for submenus */
.submenu-link span {
  font-size: 12px;
  font-weight: 400;
}

/* Improved hover states for submenu */
.submenu-link:hover {
  transform: translateX(5px);
  transition: transform 0.2s ease;
}

/* Active state for submenu items */
.submenu-link.active {
  background: var(--guinda-150);
  color: white;
  font-weight: 500;
}

.submenu-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: white;
  border-radius: 0 2px 2px 0;
}

/* HTML: <div class="loader"></div> */
.loader {
    position: absolute; /* o fixed */
    top: 50%;
    left: 49%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid #ffff;
    animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
}

@keyframes l20-1 {
    0% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0% )
    }

    12.5% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0% )
    }

    25% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100% )
    }

    50% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100% )
    }

    62.5% {
        clip-path: polygon(50% 50%,100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100% )
    }

    75% {
        clip-path: polygon(50% 50%,100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100% )
    }

    100% {
        clip-path: polygon(50% 50%,50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100% )
    }
}

@keyframes l20-2 {
    0% {
        transform: scaleY(1) rotate(0deg)
    }

    49.99% {
        transform: scaleY(1) rotate(135deg)
    }

    50% {
        transform: scaleY(-1) rotate(0deg)
    }

    100% {
        transform: scaleY(-1) rotate(-135deg)
    }
}
