/* Custom App CSS Below --------------------------------- */
/*Fonts ––––––––––––––––––––––––––––––––––––––––––––––––––*/
:root {
  --bg-color: #0b0b0c;
  --box-bg-color: #18181b;
  --color-primario: #538eda;
  --color-primario-hover: #2d75d2;
  --color-secundario: #e8ad3c;
  --color-complementario: ;
  --bg-gradient-card-leads: linear-gradient(315deg, rgba(44,32,134,1) 0%, rgba(73,54,186,1) 35%, rgba(154,119,242,1) 100%);
  --bg-box-card-results: #333338;
  --white: #ffffff;
}

body{
  background: var(--bg-color);
  font-family: sans-serif;
}
.btn-primary {
  background-color: var(--color-primario);
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--color-primario);
  --bs-btn-border-color: var(--color-primario);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--color-primario-hover);
  --bs-btn-hover-border-color: var(--color-primario-hover);
  --bs-btn-focus-shadow-rgb: 74,173,220;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--color-primario-hover);
  --bs-btn-active-border-color: var(--color-primario-hover);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--color-primario);
  --bs-btn-disabled-border-color: var(--color-primario);
}

.login-box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.login-box .card{
  width: 300px;
  padding: 24px;
}
.login-logo{
  width: 250px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.login-box input{
  margin-bottom: 16px;
  height: 42px;
  background: white;
}
.login-box button{
  font-weight: 600;
  height: 48px;
}
#sidebar-container{
  height: 100vh;  /* Adjust 2.5rem according to your layout */
}
#user-welcome{
  padding-left: 14px;
  padding-bottom: 16px;
  font-weight: 600;
}
#logout_button{
  margin-left: 14px;
  width: auto;
}
.main-nav{
  border-top: 0.1px solid #282b3a;
  font-weight: 300;
  margin-bottom: 30px;
}
.main-nav i{
  padding: 12px;
  margin-right: 8px;
  display: inline-block;
}
.main-nav .nav-link{
  border: none;
  border-radius: 0px;
  padding: 0 10px 0 0;
  display: flex;
  align-items: center;
  font-size: 16px;
}
.nav-pills .nav-link.active, .nav-tabs .nav-link.active {
  background-color: var(--color-primario);
}
/*Estilos cabecera*/
.header-info-container{
  display: flex;
  flex-wrap: wrap;
  justify-content:space-between;
  align-items: center;
  margin-bottom: 24px;
  margin-bottom: 10px;
  padding: 12px 16px 12px 16px;
  background: var(--box-bg-color);
  border-radius: 10px;
  -webkit-box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.15);
  box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.15);
}
.header-info-container .page-title{
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0;
}
.main-header{
  background: none;
  border-radius: 10px;
  padding: 10px 0px;
  margin-top: 12px;
  margin-bottom: 12px;
  display: block;
}
.client-profile-container .Select-placeholder{
  color: white;
}
.client-profile-container img{
  width: 25px;
  height: 25px;
  overflow: hidden;
  background: white;
  border-radius: 50px;
  object-fit: contain;
}
.client-profile-container .Select{
  background: transparent;
  border: none;
}
.client-profile-container .Select-control{
  background: transparent;
  border: none;
  color: white;
}
.client-profile-container .is-open  .is-focused .is-pseudo-focused .is-searchable .Select--single{
  background: var(--bg-box-card-results);
  border: none;
  color: white;
}
.client-profile-container .Select-menu-outer{
  background: var(--bg-box-card-results);
  border: none;
  color: white;
}
.Select-control .is-focused .is-pseudo-focused {
  outline: none;
  background: transparent;
  color: white;
}
.client-profile-container .Select.has-value.Select--single > .Select-control .Select-value .Select-value-label{
  color: white;
}
.Select-arrow {
  border-color: white transparent transparent;
}
.Select-clear{
  color: white;
}
.main-header .client-profile-container button{
  background: transparent;
  border: none;
}
.client-profile-container .btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active{
  background-color: none;
  border: none;
}
.main-header figure{
  background: var(--yellow-main);
  width: 30px;
  height: 30px;
  margin: 0px;
  margin-right: 8px;
  border-radius: 100px;
}
.general-info-container{
  display: flex;
  justify-content: space-between;
  width: 50%;
}
.general-info-container h3{
  font-size: 16px;
  font-weight: 600;
}
.general-info-container h4{
  color: var(--color-secundario);
  font-size: 22px;
  font-weight: 600;
}
.general-info-container h4 i{
  padding-right: 5px;
}
.main-header .header-menu{
  display: flex;
  flex-wrap: wrap;
  align-items: top;
  justify-content: space-between;
}
.main-header .header-menu .menu-links{
  display: flex;
}
.checklist-container{
  margin-right: 40px;
}
.checklist-label{
  color: white;
  font-weight: 600;
}
.menu-links .nav-link:focus, .nav-link:hover{
  color:rgba(255,255,255,0.8);
}
.date-picker-link .dropdown-toggle::after{
  display: none;
}
.date-picker-link h6{
  margin-bottom: 0px;
}
/*Fin estilos cabecera*/

.card{
  margin-top: 10px;
  background: var(--box-bg-color);
  border: none;
  border-radius: 14px;
  overflow: hidden;
}
.card-header{
  background: none;
  border-radius: 0;
  padding: 12px;
}
.card-header .card-title{
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
}
.card-title-v2{
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
}
.leads-card{
  background: var(--box-bg-color);
  border-radius: 10px;
  margin-top: 10px;
  padding-bottom: 20px;
}
.leads-sub-header{
  border: none;
  padding: 0px;
}
.leads-subtitle{
  border: none;
  padding: 0px;
  padding-top: 10px; 
  font-size: 18px;
  font-weight: 500;
}
.card-results{
  background-color: var(--bg-box-card-results);
  color: var(--white);
  fontSize: 16px; 
  max-height: 80px;
}
.card-results-title{
  font-size: 16px;
  border: none;
  padding-bottom: 0px;
  max-height: 16px, 
  border-bottom: 'none';
  width: 400%;
  max-height: 90px;
}
.card-results .card-body{
  font-size: 16px;
  font-weight: 600;
  width: 400%;
  max-height: 90px;
}
/*Estilos para resultados v2*/
.leads-header-title{
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  padding: 10px 0;
}
.card-results-group{
  display: flex;
  flex-wrap: wrap;
  justify-content:space-between;
  align-items: center;
  padding: 5px 5px 0px 5px;
  margin-bottom: 5px;
  border-bottom: 0.5px solid var(--white);
}
.leads-number{
  border-radius: 5px;
  border: none;
  font-weight: 600;
  margin-bottom: 8px;
}
.resultado-leads-totales h2{
  font-size: 18px;
  font-weight: 500;
}
.resultado-leads-totales span{
  font-size: 24px;
  font-weight: 600;
  color: white;
}
#tooltip-target{
  cursor: pointer;
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: red;
}
.pyramid {
  text-align: center;
}

.row {
  margin-bottom: 24px;
}
.card-container {
  display: inline-block;
}
.level-0 {
  font-size: 30px;
}

.level-1 {
  font-size: 26px;
}

.level-2 {
  font-size: 22px;
}

.level-3 {
  font-size: 20px;
}

.embudo-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* Divide el contenedor en tres columnas */
  grid-template-rows: repeat(4, 1fr); /* Define tres filas */
  gap: 10px; /* Espacio entre las celdas */
}

.embudo-ctr {
  grid-row: 1; /* Nivel de clicks en el enlace */
  grid-column: 2; /* Columna izquierda */
}

.button-ctr {
  grid-row: 2; /* Nivel de clicks en el enlace */
  grid-column: 1; /* Columna izquierda */
}

.button-tasa-landing {
  grid-row: 3; /* Nivel de visualización landing */
  grid-column: 1; /* Columna izquierda */
}

.button-tasa-conversion {
  grid-row: 4; /* Nivel de leads */
  grid-column: 1; /* Columna izquierda */
}

.button-cpm {
  grid-row: 1; /* Nivel de impresiones */
  grid-column: 3; /* Columna derecha */
}

.button-cpc {
  grid-row: 3; /* Nivel de clicks en el enlace */
  grid-column: 3; /* Columna derecha */
}

.button-cpl {
  grid-row: 4; /* Nivel de leads */
  grid-column: 3; /* Columna derecha */
}
.titulo-total-tabla{
  background: #333338;
  padding: 6px 10px;
}
.container-total-campaigns{
  display: flex;
  flex-wrap: wrap;
  justify-content:space-between;
  align-items: center;
  padding: 6px 10px;
}
.container-total-campaigns h3{
  font-size: 18px;
}
.dash-table-container{
  color: var(--white);
  font-family: sans-serif;
  text-align: left;
}
body .dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th{
  background-color: #171822;
  border-color: var(--white);
  color: var(--white);
  font-weight: 600 ;
  text-align: left;
  padding: 5px 10px;
}
body .dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td{
  background-color: #414458;
  border-color: var(--white);
  color: var(--white);
  text-align: left;
  padding: 5px 10px;
}
.embudo-captacion{
  font-weight: 600;
}
.tarjeta-resultados-ventas{
  margin-bottom: 10px;
  background-color: var(--bg-box-card-results);
  color: var(--white);
}
.tarjeta-resultados-ventas h3{
  margin-bottom: 10px;
  width: fit-content;
}
/*Estilos Página Ontraport*/
#leads_graph .js-plotly-plot .plotly .main-svg{
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
}
.legendtext{
  fill: white;
}
/*Estilos Página Evergreen*/
.funnel-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  #  grid-template-columns: 1fr 2fr 1fr;
  #  gap: 20px;
}

.kpi-column {
    #display: flex;
    #flex-direction: column;
    #justify-content: space-around;
    width: 20%;
}

.funnel-column {
    width: 60%;
}

#conversion-funnel-chart {
  height: 600px;
}
