:root 
{
    --color-fondo: #f6f4f9; 
    --color-componentes: #f6f8fc;
    --color-azulDS: #3c72b3;
    --color-btn-azul: #34469a;
    --color-btn-fucsia: #c1408c;
    --color-btn-fucsiaF: #c21479;
    --color-btn-azul-claro: #3c72b3;
    --color-input-Der: #f3f5f9; 
}
@font-face 
{
    font-family: 'Pope';
    src: url('ruta-de-la-fuente/pope-font.woff2') format('woff2'),
         url('ruta-de-la-fuente/pope-font.woff') format('woff');
}
body
{
    padding: 0px !important;
    margin: 0px !important;
    font-family: "Poppins", sans-serif !important;
}

.contenedor-principal {
    flex-direction: row;
    display: flex;
    min-height: 100vh;
}
  
.contenedor-principal .contenedor-izquierda {
    flex: 0.84;
    background-color: rgb(255, 255, 255);
    padding: 25px 15px 25px 15px;
}

.contenedor-principal .contenedor-derecha {
    flex: 3;
    background-color: #F6F5FA;
    border-right: 2px solid #d5d2d9;
}

  
.contenedor-principal .contenedor-izquierda,
.contenedor-principal .contenedor-derecha {
  /* height: auto; */
  position: relative;
}

.sidebar-nav
{
    display: block !important;
    top: 0px !important;
    position: absolute;
}
.menu-botones-iz
{
    width: 355px;
    padding: 10px;
}
#estRows
{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Crea tres columnas de igual tamaño */
    gap: 10px;
}
/* class */
.divColum
{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.inputEstilo1::placeholder
{
    color: #b0b2d9;
    font-size: 1.3rem;
}
.cabecera_divIzquierda
{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.btn-header
{
    border: 2px solid var(--color-btn-azul);
    border-radius: 8px;
    color: var(--color-btn-azul);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 7px 25px;
}
.btn-header:hover
{
    background: var(--color-btn-azul);
    color: #fff;
}
/*        nombre formulario        */
.div_nomForm h1
{
    font-size: 1.5rem;
    font-weight: 800;
    color: #afb0c2;
    margin: 0;
}
.inputEstilo1
{
    border-radius: 5px;
    padding: 8px 15px;
    border: none;
    background: #ebeef7;
    color: #000;
    font-weight: 600;
}

/* Configuracion */
.div_confiForm label
{
    color: #000;
}
.div_confiForm button
{
    border: none;
    border-radius: 8px;
    padding: 5px;
    font-size: 1rem;
    color: #000;
    font-weight: 600;
    text-align: left;
    background: #f5f6fb;
}

/* estructura */
.div_Estructuras label
{
    color: #000;
}

.contenedorEstructuras
{
    border-radius: 8px;
    padding: 10px 5px;
    background: #f7f5f8;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.contenedorColumnaEstru
{
    display: flex;
    flex-wrap: nowrap; 
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap:5px;
}
.divCampoEstructura
{
    display: flex !important;
}
.iconoArrastrar
{
    display: flex;
    align-items: center;
}
.iconoArrastrar img
{
    height: 15px;
}
.columnaEstructura
{
    width: 100%;
    height: 30px;
    background: #fff;
    padding: 3px;
    border-radius: 8px;
}
.columnaEstructura div
{
    border: 2px dashed var(--color-azulDS) ;
    border-radius: 8px;
    height: 100%;
}

/* ---------------------Componentes-----------------------  */
.div_componentes 
{
    /* border: 1px solid #e9e9e9 !important;
    background: var(--color-componentes) !important; */
    border-radius: 8px !important;
}
.txtTituloCompo
{
    font-size: 1rem;
    color: #000;
    font-weight: 600;
}
.scroll_divIzq
{
    overflow-y:scroll;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
}
.scroll_divIzq::-webkit-scrollbar {
    width: 2px; /* Ancho de la barra de desplazamiento */
    border-radius: 30px;
}

.scroll_divIzq::-webkit-scrollbar-thumb {
    background-color: #E0E0E0; /* Color del pulgar de la barra de desplazamiento */
}

.scroll_divIzq::-webkit-scrollbar-track {
    background-color: #f5f6fb; /* Color de fondo de la barra de desplazamiento */
}
body, html {
    margin: 0;
    padding: 0;
}
.div_contenedorCentral
{
    min-height: 650px; 
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;

    
    
}
.div_contenedorPlantillapadre
{
    background: #f2f2f4;
    border-radius: 10px;
    min-height: 100%;
    padding: 20px 14px;
    margin-left: 30px;
    margin-right: 30px;
    width: 780px;
}
.div_ContenedorPlnHeader
{
    display: flex;
    align-items: stretch;
    position: relative;
    flex-direction: column;
}
.plantillaTitulo{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
}
.plantillaTitulo label
{
    color: #000;
}
.contenedorCirculos
{
    display: flex;
    gap: 5px;
    position: absolute;
    justify-content: flex-end;
    margin-bottom: 5px;
    align-items: center;
    width: 100%;
}
.circuloR
{
    border-radius: 100%;
    width: 14px;
    height: 14px;
    background: #e75353;
}
.circuloN
{
    border-radius: 100%;
    width: 14px;
    height: 14px;
    background: #ee9a03;
}
.circuloV
{
    border-radius: 100%;
    width: 14px;
    height: 14px;
    background: #049377;
}
.div_ContenedorcueporPln
{
    background: #fcfefd;
    height: 100%;
    padding: 20px 30px;
}
.div_img_temPlantilla img
{
    height: 300px;
}
.txt_img_tempPlantilla h3
{
    font-weight: 800;
    margin: 0;
    color: #000;
    font-size: 2rem;
}

.div_HijoEstrucCompo:hover
{
    border-radius: 10px !important;
}
.div_HijoEstrucCompo:hover
{
    border: 2px dashed var(--color-azulDS) !important;
}
.label-danger
{
    background: var(--color-btn-fucsia);
}
.label-danger:hover
{
    background: var(--color-btn-fucsiaF) !important;
}
.contenedorCompBtnDer
{
    width: 40px;
    position: absolute;
    right: -30px;
    top: 40%;
}
.contenedorCompBtnIzq
{
    width: 30px;
    position: absolute;
    left: -29px;
    top: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.contenedorCompBtnIzq  span
{
    opacity: 100 !important;
}

.btn_Compoladoizq
{
    background: var(--color-azulDS);
    width: 25px;
    padding: 0px !important;
}
.btn_Compoladoizq.toptbnC
{
    border-radius: 7px 0px 0 0;
}
.btn_Compoladoizq.botttbnC
{
    border-radius: 0 0 0px 7px;
}

.btn-removerCom
{
    width: 25px;
    display: block;
    background: var(--color-btn-fucsia);
    border-radius: 0 7px 7px 0px;
}
.btn-removerCom img, .btn_Compoladoizq img
{
    width: 60%;
    margin: 4px 0;
    object-fit: contain;
}
.icono_x
{
    font-size: 2rem;
    color: #000;
    background: transparent;
    font-weight: 700;
    border: none;
}
.contenedorBtnX{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
}
.titulo_dr
{
    font-weight: 800;
    color: #000;
    text-align: center;
}
.fw-bold
{
    font-weight: 800 !important;
}
.inputGeneral_der
{
    width: 100%;
    border-radius: 20px;
    background: var(--color-input-Der);
    height: 35px;
    border: none;
    padding: 5px 10px;
    color: #000;
}
.inputBorde_gris
{
    width: 100%;
    border-radius: 20px;
    background: transparent;
    height: 35px;
    border: 2px solid #6F6E6E;
    padding: 5px 10px;
    color: #000;
    font-weight: 400;
}
.sub_texto_der
{
    font-weight: 400;
    color: #000;
    margin: 5px 0;
    font-size: 1.2rem;
}
.hr_punteadas
{
    border: 2px dashed #afb0c2 ;
}

.tableData {
    border-collapse: collapse;
    width: 100%;
}

.espaciadoTR {
    padding: 7px 10px; /* Puedes ajustar este valor según tus necesidades */
}
.medidatr
{
    width: 90px;
}
.btn_estilos_txt
{
    height: 30px;
    width: 30px;
    border: 2px solid #6F6E6E;
    background: transparent;
    border-radius: 100%;
}
.btn_estilos_txt.activo_btn_estilo
{
    background: #E6E5E4;
}

.rango_estilo {
    -webkit-appearance: none;
    width: 100%;
    height: 2px; /* Barra más fina */
    border-radius: 5px;
    background: #ddd; /* Color del fondo */
    outline: none;
  }

  /* Estilo para el lado seleccionado (izquierda del control deslizante) */
  .rango_estilo::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px; /* Barra más fina */
    border-radius: 2px;
    background: #9b59b6; /* Color morado */
  }

  /* Estilo para la bolita del control deslizante */
  .rango_estilo::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff; /* Fondo blanco */
    border: 2px solid #9b59b6; /* Borde morado */
    margin-top: -9px; /* Ajuste para centrar la bolita verticalmente */
  }

  .btn_color_text
  {
    height: 30px;
    width: 30px;
    border: none;
    border-radius: 100%;
  }

  .btn_color_text.azul
  {
    background: #2964a6;
  }
  .btn_color_text.amarillo
  {
    background: #f6bd18;
  }
  .btn_color_text.verde
  {
    background: #009e7f;
  }
  .btn_color_text.azulOscuro
  {
    background: #0c1e36;
  }
  .btn_color_text.rosado
  {
    background: #e34c83;
  }

  .div_anchoLargo
  {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 3px;
  }
  .div_contenedorConfPlantilla
  {
      background: #fff;
      width: 320px;
      height: auto;
  }
  #settings
  {
    margin: 20px 0 0 20px;
  }
#settings::-webkit-scrollbar {
    width: 2px; 
    border-radius: 30px;
}

#settings::-webkit-scrollbar-thumb {
    background-color: #E0E0E0; 
}
#settings::-webkit-scrollbar-track {
    background-color: #f5f6fb; 
} 

.switch {
    --button-width: 3.5em;
    --button-height: 2em;
    --toggle-diameter: 1.5em;
    --button-toggle-offset: calc((var(--button-height) - var(--toggle-diameter)) / 2);
    --toggle-shadow-offset: 10px;
    --toggle-wider: 3em;
    --color-grey: var(--color-input-Der);
    --color-green: #c8aaec;
   }
   
   .slider {
    display: inline-block;
    width: var(--button-width);
    height: var(--button-height);
    background-color: var(--color-grey);
    border-radius: calc(var(--button-height) / 2);
    position: relative;
    transition: 0.3s all ease-in-out;
   }
   
   .slider::after {
    content: "";
    display: inline-block;
    width: var(--toggle-diameter);
    height: var(--toggle-diameter);
    background-color: #653f92;
    border-radius: calc(var(--toggle-diameter) / 2);
    position: absolute;
    top: var(--button-toggle-offset);
    transform: translateX(var(--button-toggle-offset));
    box-shadow: var(--toggle-shadow-offset) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
    transition: 0.3s all ease-in-out;
   }
   
   .switch input[type="checkbox"]:checked + .slider {
    background-color: var(--color-green);
   }
   
   .switch input[type="checkbox"]:checked + .slider::after {
    transform: translateX(calc(var(--button-width) - var(--toggle-diameter) - var(--button-toggle-offset)));
    box-shadow: calc(var(--toggle-shadow-offset) * -1) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
   }
   
   .switch input[type="checkbox"] {
    display: none;
   }
   
   .switch input[type="checkbox"]:active + .slider::after {
    width: var(--toggle-wider);
   }
   
   .switch input[type="checkbox"]:checked:active + .slider::after {
    transform: translateX(calc(var(--button-width) - var(--toggle-wider) - var(--button-toggle-offset)));
   }
   .div_anchoLargo h1
   {
    margin: 0;
    font-weight: 800;
   }

  .input-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    
    /* position: absolute; */
    z-index: -1;
    + .js-labelFile {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding: 7px 20px;
      cursor: pointer;
      border-radius: 35px;
      color: #000;
      font-weight: 600;
      background: var(--color-input-Der);
    }
  }
  .js-labelFile img
  {
    width: 30px;
  }
#Parrafodefault_ifr
{
    background: var(--color-input-Der) !important;
}

.div-form-lista-Button
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.div-form-lista-input-text
{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap:5px;
}