.wrapper-container-form {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle at 15% 20%, #ffe7a8 0, #ffe7a8 120px, transparent 121px), radial-gradient(circle at 85% 22%, #ffd3df 0, #ffd3df 80px, transparent 81px), radial-gradient(circle at 8% 65%, #fff0bf 0, #fff0bf 100px, transparent 101px), radial-gradient(circle at 88% 72%, #d8f3ff 0, #d8f3ff 150px, transparent 151px), linear-gradient(180deg, #faf7f4 0%, #f6f9ff 100%);
    min-height: 100vh;
    padding: 40px 20px;
  }

  .kids-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .kids-badge {
    display: table;
    margin: 0 auto 20px;
    padding: 12px 25px;
    background: linear-gradient(180deg, rgb(198, 92, 233) 50%, rgb(150, 38, 184) 100%);
    border-radius: 999px;
    font-weight: bold;
    color: #7a5600;
    color: white;
  }

  .kids-header {
    text-align: center;
    margin-bottom: 25px;
  }

  .kids-header h1 {
    margin: 0;
    font-size: 42px;
    line-height: 2.2rem;
    color: #3c5a99;
  }

  .kids-header p {
    color: #7b7b7b;
    font-family: 'Coco Goose Medium';
  }

  .form-shell {
    border: 2px dashed #e5dcdc;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    z-index: 2;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    font-family: 'Coco Goose Medium';
    font-size: 1.1rem;
  }

  .form-group small {
    font-size: 12px;
    color: #888;
  }

  .form-group input,
  .form-group select {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: 0.2s;
  }

  .form-group input:focus,
  .form-group select:focus {
    border-color: #7fcfff;
    box-shadow: 0 0 0 3px rgba(127, 207, 255, 0.2);
  }

  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .kids-btn {
    width: 100%;
    margin-top: 20px;
    height: 55px;
    border-radius: 1rem;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background: #48b1f7;
    background: linear-gradient(180deg, rgb(104, 157, 193) 0%, rgb(45, 129, 177) 77%);
    transition: 0.2s;
    -webkit-box-shadow: 0px 2px 5px 2px rgba(31, 55, 104, 0.2); 
    box-shadow: 0px 2px 5px 2px rgba(31, 55, 104, 0.2);
    transition: .5s;
    position: relative;
  }

  .kids-btn:hover {
    transform: translateY(-2px);
    -webkit-box-shadow: 0px 7px 12px -7px #000000, 0px 2px 5px 2px rgba(0,0,0,0); 
    box-shadow: 0px 7px 12px -7px #000000, 0px 2px 5px 2px rgba(0,0,0,0);
  }

  .bottom-bar-kids{
    position:absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2rem;
    background: #94C5CA;
    background: linear-gradient(180deg, rgba(148, 197, 202, 1) 58%, rgba(140, 184, 189, 1) 100%);
  }

  .top-bar-kids{
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2rem;
    background: #8cb8bd;
    background: linear-gradient(180deg, rgba(140, 184, 189, 1) 0%, rgba(148, 197, 202, 1) 41%);
  }

  .img-object{
    height: 4rem;
    position: absolute;
    filter: drop-shadow(2px 4px 3px #000000bc);
  }

  #backpack-img{
    left: 30px;
    top: 100px;
    }

  #glasses-img{
    right: 60px;
    top: 50px;
    height: 50px;
    }

  #book-img{
    left: 65px;
    bottom: 125px;
    height: 50px;
    z-index: 3;
    }

  #ball-img{
    right: 30%;
    bottom: 20px;
    height: 50px;
    z-index: 1;
    }
  
  #brush-img{
    left: 30%;
    top: 20px;
    height: 75px;
    z-index: 1;  
  } 

  #crayola-img{
    left: 10px;
    top: 40%;
    height: 75px;
    z-index: 3;  
  } 

  #stain-four{
      height: 30%;
      left: 10px;
      top: 50%;
      filter: drop-shadow(2px 4px 3px #00000000) !important;
  }

  #stain-three{
      height: 30%;
      right: 20%;
      bottom: -55px;
      transform: rotate(90deg);
      filter: drop-shadow(2px 4px 3px #00000000) !important;
  }

  #stain-one{
      height: 15%;
      right: 0px;
      top: 30%;
      filter: drop-shadow(2px 4px 3px #00000000) !important;
  }

  .form-group label::before{
    content: '★';
    font-size: 1rem;
    color: rgb(255, 196, 0);
    margin-right: 3px;
  }

  .kids-btn:disabled {
    background: #b5c7d3 !important;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none !important;
    box-shadow: none !important;
}

#grupos {
  width: 100%;
  min-height: 140px;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid #cfd8dc;
  background: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 3px 8px rgba(0,0,0,.05);
  transition: all .2s ease;
}

#grupos:focus {
  border-color: #2d81b1;
  box-shadow: 0 0 0 4px rgba(127, 207, 255, 0.25);
  outline: none;
}

/* Opciones */
#grupos option {
  padding: 6px;
  border-radius: 6px;
}

/* Seleccionadas */
#grupos option:checked {
  background: #2d81b1;
  color: #fff;
}

/* Deshabilitadas */
#grupos option:disabled {
  color: #aaa;
}

.form-group-privacidad {
    margin-top: 10px;
}

.checkbox-privacidad {
    display: flex !important;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
    font-family: 'Coco Goose Medium';
    font-size: 1rem;
    line-height: 1.4;
} 

.checkbox-privacidad::before {
    content: none !important;
}

.checkbox-privacidad input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 3px solid #6d6d6d;
    border-radius: 6px;
    background: #fff;
    display: inline-block;
    position: relative;
    transition: all .2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.checkbox-privacidad input[type="checkbox"]:checked + .checkbox-custom {
    background: #f5fbff;
    border-color: #2d81b1;
}

.checkbox-privacidad input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 2px;
    width: 7px;
    height: 14px;
    border: solid #2d81b1;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

.checkbox-privacidad input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 0 4px rgba(127, 207, 255, 0.25);
}

.checkbox-texto {
    color: #1f1f1f;
    font-weight: 600;
}

@media only screen and (max-width: 575px) {
    .checkbox-privacidad {
        align-items: flex-start;
    }

    .checkbox-custom {
        margin-top: 2px;
    }
}

  @media only screen and (max-width: 575px) {
      .grid-2 {
          grid-template-columns: 1fr;
          gap: 0;
          }
      
      #brush-img{
          left: 55px;
      }

      #backpack-img{
          left: 30px;
          top: 20%;
      }

      .kids-card{
          padding: 50px;
      }
  }

  .grupos-checkbox-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,.05);
}

.grupo-checkbox-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fdfdfd;
    cursor: pointer;
    font-family: 'Coco Goose Medium';
    font-size: .95rem !important;
    transition: all .2s ease;
}

.grupo-checkbox-item::before {
    content: none !important;
}

.grupo-checkbox-item:hover {
    border-color: #7fcfff;
    background: #f5fbff;
}

.grupo-checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.grupo-checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
    background: #f5fbff;
    border-color: #2d81b1;
}

.grupo-checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 2px;
    width: 7px;
    height: 14px;
    border: solid #2d81b1;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

.grupo-checkbox-item:has(input[type="checkbox"]:checked) {
    border-color: #2d81b1;
    background: #f5fbff;
}

.grupo-checkbox-item:has(input[type="checkbox"]:disabled) {
    opacity: .55;
    cursor: not-allowed;
}

#contador-grupos {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: #2d81b1;
}

@media only screen and (max-width: 575px) {
  .grupos-checkbox-wrap {
      grid-template-columns: 1fr;
  }
}

#header-form {
  display: grid;
  width: 100%;
  height: 85px;
  background-color: #fff;
  position: relative;
}

#header-form .logo-tepjf {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

#header-form .logo-tepjf .inner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 767.98px) {
  #header-form .logo-tepjf .inner-logos {
      padding: 0 .5rem;
  }
}

#header-form .logo-tepjf .inner-logos a:first-child img {
  border-right: 2px solid #2a2559;
  padding-right: .7rem;
  margin-right: .7rem;
  height: 2.8rem;
}

#header-form .logo-tepjf .inner-logos a img {
  height: 2.5rem;
}

@media only screen and (max-width: 767.98px) {
  #header-form .logo-tepjf .inner-logos a img {
      height: auto;
      width: 100%;
      max-width: 10rem;
  }
}

@media only screen and (max-width: 575px) {
  #header-form .logo-tepjf .inner-logos a img {
      max-width: 8.5rem;
  }
}

@media only screen and (max-width: 300px) {
  #header-form .logo-tepjf .inner-logos a img {
      max-width: 7.1rem;
  }
}

#header-form .logo-tepjf .inner-logos .title-general-page {
  font-family: "Myriad Pro Semibold";
  font-size: 1rem;
  line-height: 1rem;
  max-width: 10rem;
}

.texto-scroll {
  width: 100%;
  max-height: 180px;
  overflow-y: auto;
  padding: 12px;
  border: 2px solid #cfd8dc;
  border-radius: 10px;
  background: #f9fbfc;
  font-family: 'Coco Goose Medium';
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.05);
}

/* scrollbar bonito (opcional) */
.texto-scroll::-webkit-scrollbar {
  width: 6px;
}

.texto-scroll::-webkit-scrollbar-thumb {
  background: #90a4ae;
  border-radius: 10px;
}

.texto-scroll::-webkit-scrollbar-track {
  background: transparent;
}