/* ************************** 
            LOGO
****************************/

/* Logo en sidebar desplegado*/
.ethan-logo {
    width: 45%;
    height: 100px;
    margin: 16px;
}

/* Logo en sidebar compacto */
body[sidebar-data-theme="sidebar-hide"] .sidebar-area .ethan-logo {
    width: 80%;
    height: 60px;
    margin: 10px;
}

/* Logo en modo claro */
.ethan-logo path {
    fill: #000 !important;
    transition: fill 0.3s ease;
}


.sidebar-area .Logo {
    padding: 0;
    border-bottom: 1px solid #ECF0FF;
}


/* Logo en modo oscuro */
body[data-theme="dark"] .ethan-logo path {
    fill: #fff !important;
}

[data-theme=dark] .sidebar-area .Logo {
    border-color: #172036;
}

/* ********************************************* 
        LOGIN 
************************************************/

.slogan {
    position: absolute;
    bottom: 20px;
    color: #fff;
    padding: 10px 110px;
}
.slogan p {
    text-align: left;
    line-height: 17px;
    padding: 0;
    width: 100%;
    position: relative;
    top: 2px;
    margin-left: 5px;
}

.rounded-login{
  border-radius: 10px 0 0 10px;
}

/* ********************************************* 
         MENU PRINCIPAL PERSONALIZADO
************************************************/

.menu-vertical .menu-item .menu-link {
  padding: 8.5px 13px 13px 12px;
}

.menu-vertical .menu-item .menu-link:hover {
  background-color: #f5f5f9;
  color: #605dff;
}

.menu-vertical .menu-item .menu-link:hover span {
  color: #605dff;
}

.cursor-pointer {
  cursor: pointer;
}

.btn-skills {
  border: solid 1px #d5d9e2;
}

.btn-skills:hover {
  border: solid 1px var(--bs-body-color);
  background: #f5f6fa;
}

/* ********************************************* 
           TIPÍFICACIONES BADGES
************************************************/

.tipificaciones-submenu-list {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0;
}

.tipificaciones-submenu-list li {
  padding-left: 0.5rem;
}

/* ********************************************* 
           INPUTS FLOAT LABEL
************************************************/

/* contenedor */
.custom-floating {
  position: relative;
}

/* input más compacto */
.custom-floating .form-control {
  padding: 10px 12px 6px 12px;
  font-size: 0.9rem;
}

/* label centrado */
.custom-floating label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #6c757d;
  transition: all 0.2s ease;
  pointer-events: none;
  background: #fff;
  padding: 0 4px;
}

/* cuando escribe o hace focus → label arriba */
.custom-floating .form-control:focus ~ label,
.custom-floating .form-control:not(:placeholder-shown) ~ label {
  top: -6px;
  left: 8px;
  font-size: 0.75rem;
  transform: none;
}

.custom-floating .form-floating > label {
  position: absolute;
  top: 0;
  left: 10px;
  background: #fff;
  height: auto;
  padding: 0 4px;
}

.custom-floating .form-floating > textarea:focus ~ label::after,
.form-floating > textarea:not(:placeholder-shown) ~ label::after {
  background: #fff;
}

.custom-floating .form-floating > .form-control:focus,
.custom-floating .form-floating > .form-control:not(:placeholder-shown),
.custom-floating .form-floating > .form-control-plaintext:focus,
.form-floating
  > .custom-floating
  .form-control-plaintext:not(:placeholder-shown) {
  padding: 15px 16px;
}

.custom-floating .form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
  height: auto;
  min-height: auto;
  line-height: 1.25;
}

.custom-floating .form-floating.dropdown.w-100 label {
  left: 15px;
}

.custom-floating .form-floating .flatpickr-calendar {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 1055;
  margin-top: 4px;
}

#dropdownTipificaciones {
  overflow: hidden;
}

/* Alinear submenús a la derecha del padre */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
}


.p-calendar{
  width: 183px;
  height: 30px; 
  font-size: 12px;
  padding: 0;
   padding-left: 35px; 
}

.p-calendar::placeholder {
  font-size: 12px; /* o el tamaño que necesites */
  color: #999;     /* opcional */
}

/* ********************************************* 
          calendar PERSONALIZADO
************************************************/

.rangoFechasBtn::before {
  font-family: "Material Symbols Outlined";
  content: "calendar_today";
  font-size: 13px;
  color: var(--bs-primary-50);
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
}

/* ********************************************* 
          HEIGHT PERSONALIZADO
************************************************/
.max-h-450 {
  max-height: 450px;
}

.max-h-540 {
  max-height: 540px;
}

.max-h-580 {
  max-height: 580px;
}

.width-60{
  width: 60px;
}

.min-width-340 {
  min-width: 340px; /* opcional, asegura un tamaño mínimo */
}

.max-height-300 {
  max-height: 300px; /* si hay muchos correos, agrega scroll */
}

.min-h-20 {
  min-height: 20px !important;
}

.min-h-80 {
  min-height: 80px;
}

.min-h-85 {
  min-height: 85px;
}

.min-h-100 {
  min-height: 100px;
}

.min-h-520 {
  min-height: 520px;
}

.min-h-545 {
      min-height: 545px;
}

.min-h-574 {
      min-height: 574px;
}



.h-20 {
  height: 20px !important;
}

.h-50 {
  height: 50px;
}
.h-45 {
  height: 45px;
}

.h-40 {
  height: 40px;
}

.height-chat {
  height: calc(100vh - 170px);
}

.height-to-do-list-2 {
  height: calc(100vh - 160px);
  overflow-y: auto;
}
.height-to-do-list-65 {
  height: calc(65vh - 120px);
}

.height-to-do-list-30 {
  height: calc(30vh - 18px);
}

.height-mensajes {
  height: calc(100vh - 470px) !important;
}

/* ********************************************* 
          Width PERSONALIZADO
************************************************/

.w-150 {
  width: 150px;
}

.w-160 {
  width: 160px;
}

.w-170 {
  width: 170px;
}

.w-200 {
  width: 200px;
}

.w-250 {
  width: 250px;
}

.min-width-340 {
  min-width: 340px; /* opcional, asegura un tamaño mínimo */
}
.mw-520 {
    max-width: 520px;
}
.w-400 {
  min-width: 400px !important;
}

.w-40rem {
  min-width: 40rem !important;
}

.w-45rem {
  min-width: 45rem !important;
}

.w-50rem {
  min-width: 50rem !important;
}

.w-55rem {
  min-width: 55rem !important;
}

/* ********************************************* 
          min-Width PERSONALIZADO
************************************************/

.w-min-260 {
  width: 260px;
}

/* ********************************************* 
          tamaño fuente PERSONALIZADO
************************************************/

.fs-7 {
  font-size: 7px;
}

.fs-33{
font-size: 33px;
}
/* ********************************************* 
          Color PERSONALIZADO
************************************************/

.text-orange {
  color: #ff7f00 !important;
}

.bg-orange {
  background-color: #ff7f00 !important;
  color: #fff !important; /* asegura contraste en texto */
}

.text-cafe {
  color: #a72525 !important;
}

.bg-cafe {
  background-color: #a72525 !important;
  color: #fff !important; /* asegura contraste en texto */
}

.bg-morado-100 {
  background: #ecf0ff !important;
}

/* ********************************************* 
          TABLA PERSONALIZADO
************************************************/

.default-table-area .table-responsive .table tbody tr td {
  background-color: #fff !important;
  font-weight: 300;
}

.sort::after {
  content: "\f326";
  font-family: remixicon !important;
  margin-left: 4px;
}

.estatico {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

/* ********************************************* 
          Tabs PERSONALIZADO
************************************************/

.tab-reporte {
  border-radius: 0px !important;
  border-left: solid 4px transparent;
}

.nav-pills .tab-reporte.nav-link.active,
.nav-pills .show > .nav-link {
  color: var(--bs-nav-pills-link-active-color);
  background-color: transparent;
  border-left: solid 4px var(--bs-nav-pills-link-active-bg);
}

.list-none {
  list-style: none;
}

.dashboard .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    background-color: #ffffff;
}

/* ********************************************* 
          TIMELINE PERSONALIZADO
************************************************/

.timeline-item {
  position: relative;
  padding-left: 130px;
}

/* ********************************************* 
          Botones PERSONALIZADO
************************************************/
.btn-outline-primary {
  border: solid 1px var(--bs-primary-50) !important;
}

.btn-custom-gray-400 {
  border: solid 1px var(--bs-gray-400);
  padding: 40px;
  height: 41px;
}

.cardPersonalizacion {
  width: 100%;
  display: block;
  text-align: right;
  padding: 10px 20px;
  z-index: 1;
}

.cardPersonalizacion .btn {
  background: transparent;
  border: none !important;
  padding: 0;
}

.cardPersonalizacion .btn:hover {
  background: transparent;
  color: var(--bs-primary-50);
}
