@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

* {
  box-sizing: border-box;
}

.employee_portal *:not(.material-symbols-outlined) {
  font-family: "IBM Plex Sans", sans-serif;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* Overlay que cubre toda la pantalla */
#loader-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spinner SVG animado */
.spinner {
  animation: rotator 1.4s linear infinite;
  width: 65px;
  height: 65px;
}

@keyframes rotator {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(270deg); }
}

.path {
  stroke-dasharray: 187;
  stroke-dashoffset: 0;
  transform-origin: center;
  animation:
    dash 1.4s ease-in-out infinite,
    colors 5.6s ease-in-out infinite;
}

@keyframes colors {
  0% { stroke: #e66a3f; }
  25% { stroke: #FF7A50; }
  50% { stroke: #f58968; }
  75% { stroke: #f59679; }
  100% { stroke: #f58968; }
}

@keyframes dash {
  0% { stroke-dashoffset: 187; }
  50% {
    stroke-dashoffset: 46.75;
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    transform: rotate(450deg);
  }
}

.card {
  border: none;
  transition: transform 0.2s;
  padding: 0% !important;
}

.card:hover {
  transform: scale(1.05);
}

.card i {
  margin-bottom: 15px;
}

.card-title {
  font-size: 16px;
  color: #000;
}

.frappe-card {
  margin-bottom: 10px;

}

#menu-toggle {
  transition: all .3s;
  font-size: 2em;
  box-shadow: none !important;
}


#sidebar-wrapper {
  z-index: 1;
  position: fixed;
  width: 60px;
  height: 100%;
  overflow-y: hidden;
  background: #fff;
  opacity: 0.9;
  transition: all .5s;
  display: flex;
  align-items: center;
}

#wrapper.menuDisplayed #sidebar-wrapper {
  width: 250px;
}


#wrapper.menuDisplayed #page-content-wrapper {
  padding-left: 250px;
}

#wrapper:not(.menuDisplayed) #page-content-wrapper {
  padding-left: 60px;
}


.sidebar-nav {
  padding: 0;
  list-style: none;
  transition: all .5s;
  width: 100%;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #757371;
  padding: 10px;
  margin: 5px;
}

.sidebar-nav li a .material-symbols-outlined {
  font-size: 24px;
}

#wrapper:not(.menuDisplayed) .sidebar-nav li a .link-text {
  display: none;
}

.sidebar-nav li.active a,
.sidebar-nav li a:hover {
  color: #FF7A50;
  background-color: #ffded469;
  border-radius: 5px;
}

.btn-save{
  background-color: #FF7A50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-save:hover {
  background-color: #e66a3f;
  color: #fff;
} 