@import url("../../../assets/fontawesome/css/all.min.css");

@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/poppins/Poppins-Regular.ttf');
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/poppins/Poppins-Bold.ttf');
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../fonts/poppins/Poppins-Medium.ttf');
}

@font-face {
  font-family: Montserrat-Bold;
  src: url('../fonts/montserrat/Montserrat-Bold.ttf');
}

* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
}

html,
body {
  height: 100vh;
  /* Asegura que el cuerpo de la página ocupe toda la altura de la ventana */
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* Evita el desplazamiento en el body */
}

body {
  display: flex;
  background: #ebe9e9;
}

.body {
  height: 100%;
  width: 100%;
  padding-bottom: 90px;
  overflow-y: auto;
}

.main {
  width: 100%;
  overflow: auto;
}

.sidebar {
  position: sticky;
  top: 0;
  left: 0;
  bottom: 0;
  /*width: 90px;*/
  flex-basis: 90px;
  flex-shrink: 0; /* Evita que la barra lateral se contraiga */
  /*min-width: 90px;*/
  height: 100vh;
  padding: 0 1rem;
  color: #fff;
  overflow: hidden;
  background: #09437c;
  transition: flex-basis 0.5s ease; /* Transición suave al cambiar el tamaño */
  /*transition: 0.5s;*/
}

.sidebar:hover {
  /*width: 240px;*/
  flex-basis: 240px;
}

.logo {
  height: 80px;
  padding: 16px;
}

.menu {
  height: 88%;
  position: relative;
  list-style: none;
  padding: 0;
}

.menu li {
  padding: 1rem;
  margin: 8px 0;
  border-radius: 8px;
  transition: all 0.5s ease-in-out;
}

.menu li:hover,
.active {
  background: #e0e0e058;
}

.menu a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu a span {
  overflow: hidden;
  white-space: nowrap;
}

.menu a i {
  font-size: 1.2rem;
}

.logout {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.main--content {
  flex-grow: 1;
  background: #ebe9e9;
  padding: 0;
  height: calc(100vh - 90px);
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main--content-module {
  flex-grow: 1;
  background: #ebe9e9;
  padding: 1rem 0;
}

.board--content {
  flex-grow: 1;
  background: #ebe9e9;
  padding: 1rem;
  height: 100%;
  /*width: 100%;*/
  flex-basis: 100%;
}

.user--image {
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 50%;
}

.header--wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 10px;
  padding: 10px 2rem;
  margin-bottom: 1rem;
}

.header--title {
  color: rgb(113, 99, 186, 255);
}

.user--info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user--hover {
  position: relative;
  display: inline-block;
}

.user--menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 0;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 101;
  width: 300px;
  flex-direction: column;
  align-items: center;
  background: #09437c;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.user--menu span {
  margin-bottom: 10px;
}

.user--image-large {
  width: 160px;
  /* Ajusta según sea necesario */
  height: auto;
  margin: 0;
  border-radius: 50%;
  margin-top: 20px;
}

.user--hover:hover .user--menu {
  display: flex;
}

.user--menu ul {
  list-style: none;
  overflow: hidden;
  background: #fff;
  transition: 0.5s;
  width: 100%;
  padding: 10px;
}

.user--menu ul li a * {
  padding-left: 15px;
}

.user--menu a {
  display: block;
  color: rgba(113, 99, 186, 255);
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 14px;
  font-weight: bold;
  padding: 10px;
  /* Ajusta el padding como en tu sidebar */
  text-decoration: none;
  width: 100%;
  /* Asegura que ocupen todo el ancho del menú */
  text-align: left;
  /* Alineación del texto */
}

.user--menu a:hover {
  background-color: #e0e0e058;
  /* Color al pasar el mouse como en tu sidebar */
}

.search--box {
  background: rgb(237, 237, 237);
  border-radius: 15px;
  color: rgba(113, 99, 186, 255);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
}

.search--box input {
  background: transparent;
  padding: 10px;
}

.search--box i {
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.5s ease-out;
}

.search--box i:hover {
  transform: scale(1.2);
}

/*Card container*/
.card--container {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
}

.card--wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.main--title {
  color: rgba(113, 99, 186, 255);
  padding-bottom: 10px;
  font-size: 20px;
  font-family: Montserrat-Bold;
  text-transform: uppercase;
}

.option--card {
  border-radius: 10px;
  padding: 1.2rem;
  width: 290px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s ease-in-out;
}

.card--header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.option {
  display: flex;
  flex-direction: column;
}

.title {
  font-family: Poppins-Bold;
  font-size: 18px;
}

.option--value {
  font-size: 10px;
  font-weight: 600;
}

.icon {
  color: #fff;
  padding: 1rem;
  height: 60px;
  width: 60px;
  text-align: center;
  border-radius: 50%;
  font-size: 1.5rem;
  background: red;
}

.card-detail {
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #777777;
}

.tabular--wrapper {
  background: #fff;
  margin-top: 1rem;
  border-radius: 10px;
  padding: 2rem;
}

.menu--title {
  font-family: Poppins-Bold;
  font-size: 24px;
  text-transform: uppercase;
}

.card--module {
  background: #fff;
  margin: 1rem;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.option--wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.option--card {
  /*background: rgb(229, 223, 223);*/
  border-radius: 10px;
  padding: 1.2rem;
  width: 290px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s ease-in-out;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.option--card:hover {
  transform: translateY(-5px) translateX(-5px);
  cursor: pointer;
}

.card--header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.option {
  display: flex;
  flex-direction: column;
}

.option--title {
  font-size: 18px;
  font-weight: 600;
}

.option--actions {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
}

.card-detail {
  font-size: 12px;
  color: #777777;
}

.card--header .icon {
  font-size: 1.5rem;
}

.content {
  flex-grow: 1;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.show {
  display: flex;
}

.hide {
  display: none
}

.light-red {
  background: rgb(251, 233, 233);
}

.light-purple {
  background: rgb(254, 226, 254);
}

.light-green {
  background: rgb(235, 254, 235);
}

.light-blue {
  background: rgb(236, 236, 254);
}

.dark-red {
  background: red;
}

.dark-purple {
  background: purple;
}

.dark-green {
  background: green;
}

.dark-blue {
  background: blue;
}

.web-component-child {
  display: flex;
  position: relative;
}


/**/

.no-options-message {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.no-options-icon {
  background: #f1c40f;
  color: #fff;
  font-size: 2rem;
  margin-right: 1rem;
}

.message {
  text-align: center;
}

.message .title {
  color: #f1c40f;
  margin-bottom: 0.5rem;
}

.message .card-detail {
  color: #777;
}
