
/* ------------- FORMULARIOS ---------------- */

.label_forms {
  color: #444444;
  font-size: 14px;
  font-family: Pier_Sans_Reg;
}

.input_forms{
    color: #444444;
    font-family: "OpenSans-Regular";
    font-size: 12px;
    background-color: #F7F7F7;
    border: 0px;
    border-radius: 10px;
}

/* -------------  CHECKBOX ---------------- */

.circle-box {
  display: inline-block;
  margin: 5px 10px;
}

.circle-box input {
  display: none;
}

.circle-box label {
  display: inline-block;
  width: 120px;
  height: 120px;
  line-height: 120px;
  border-radius: 50%;
  background-color: #ddd;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.circle-box input:checked + label {
  background-color: #007bff;
  color: white;
}

.fieldGroup {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  display: none;
  background-color: #f9f9f9;
}

.form-check-input[type=checkbox] {
    border-radius: 1rem;
}

/* -------- CUSTOM SELECT -------- */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    font-family: "OpenSans-Regular", sans-serif;
    font-size: 12px;
    color: #1C1C1C;
}

/* Caja principal */
.custom-select {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #F7F7F7;
    border-radius: 10px;
    padding: 8px 36px 8px 8px;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.3s;
}

/* Cuando está abierto, quitar bordes inferiores */
.custom-select.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Texto seleccionado */
.custom-selected {
  flex: 1;
  color: #1C1C1C;
  white-space: nowrap;                /* evitar salto de línea */
  overflow: hidden;                   /* recortar el texto que exceda */
  text-overflow: ellipsis;            /* mostrar "..." si el texto es muy largo */
  max-width: calc(100% - 15px);       /* deja espacio para la flecha */
  display: inline-block;
}

/* Flecha (chevron) */
.chevron {
    position: absolute;
    right: 20px;
    pointer-events: none;
}

.chevron svg {
    transition: transform 0.3s ease;
}

/* Girar la flecha al abrir */
.custom-select.open .chevron svg {
    transform: rotate(180deg);
}

/* Contenedor de opciones */
.custom-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 210px;   /* altura máxima visible */
    overflow-y: auto;    /* scroll vertical si hay muchas opciones */
    background: #F7F7F7;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 99;
}

/* Opciones individuales */
.custom-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 13px 8px 8px;
    cursor: pointer;
    font-size: 12px;
    color: #444444;
    position: relative;
}

.custom-option:hover {
    background-color: #e6e6e6;
}

/* Opciones con borde inferior excepto la última */
.custom-options .custom-option:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8px;
    width: 90%;
    border-bottom: 0.2px solid #DDDDDD;
}

/*-------------------------Section - Modal Formulario--------------------- */

/* Modal (padre)*/
#modalValidacion {
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.5);
}

.oculto {
    display: none !important;
}

.texto__modal{
    color: #444444;
    font-family: "OpenSans-Regular";
    font-size: 14px;
    padding: 10px;
    text-align: center;
}

.modal-contenido{
    background-color: white;
    padding: 20px 30px;
    border-radius: 20px;
    width: 80%;
    max-width: 400px;
    overflow-y: auto;
    max-height: 100vh;
    text-align: center;
}

/* Borde para inputs erroneos */
.input.is-invalid{
    border: 1px solid #FF0000 !important;
}

/*^^^^^^^^^^^^^^^^^^^^^SECTION_modal^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
.contenedor_modal{
    border-radius: 20px;
    border: 0px;
}

.img_modal{
   width: 100%;
   height: auto;
}

.fila_der_modal{
    padding-top: 10px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 10px;
}

.titulo_modal{
    color: #444444;
    font-family: "Pier_Sans_Bold";
    font-size: 32px;
    line-height: 1;
    padding-bottom: 10px;
}

.input_der_modal{
    border-radius: 10px;
    background-color: #f7f7f7;
    height: 36px;
    width: 100%;
    border: 0px;
    margin-bottom: 20px;
    padding-left: 12px;
}

.miniTexto_modal{
    font-family: "OpenSans-Regular";
    font-size: 10px;
    color: #444444;
}

.btn_modal_close{
    height: 20px;
    width: auto;
    float: right;
}

.texto_agrade_modal{
    color: #444444;
    font-family: "Pier_Sans_Bold";
    font-size: 28px;
    text-align: center;
    display: none;
    line-height: 1;
}

*{padding:0;margin:0}.wrapper{display:flex;justify-content:center;align-items:center;}.checkmark__circle{stroke-dasharray: 166;stroke-dashoffset: 166;stroke-width: 2;stroke-miterlimit: 10;stroke: #7ac142;fill: none;animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards}.checkmark{width: 56px;height: 56px;border-radius: 50%;display: block;stroke-width: 2;stroke: #fff;stroke-miterlimit: 10;margin: 10% auto;box-shadow: inset 0px 0px 0px #7ac142;animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both}.checkmark__check{transform-origin: 50% 50%;stroke-dasharray: 48;stroke-dashoffset: 48;animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards}@keyframes stroke{100%{stroke-dashoffset: 0}}@keyframes scale{0%, 100%{transform: none}50%{transform: scale3d(1.1, 1.1, 1)}}@keyframes fill{100%{box-shadow: inset 0px 0px 0px 30px #7ac142}}

@media only screen and (max-width: 850px) {
    .fila_der_modal{
        padding-left: 10%;
        padding-right: 10%;
    }
}

/*^^^^^^^^^^^^^^^^^^^^^End_SECTION_modal^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
