@media (min-width: 1080px) {
  .container-depende {
    display: none;
  }
  .container-depende.activa {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin: 0 10px;
    width: 100%;
    overflow-y: scroll;
    height: 33rem;
  }

  .bloque-dependiente {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
  }

  .titulo-dependiente {
    color: #106ca1;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }

  .fila-dependientes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 10px;
    width: 90%;
  }

  .label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: -moz-fit-content;
    height: fit-content;
    max-width: 80%;
    margin-bottom: 10px;
  }
  .label:has(input:focus) .title {
    top: 0;
    left: 0;
    color: #d17842;
  }
  .label .title {
    padding: 0 10px;
    transition: all 300ms;
    font-size: 1rem;
    color: #7b9ec3;
    font-weight: 600;
    width: -moz-fit-content;
    width: fit-content;
    top: 14px;
    position: relative;
    left: 15px;
    background: #fff;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  }

  .input-field {
    width: auto;
    height: 50px;
    text-indent: 15px;
    border-radius: 10px;
    outline: none;
    background-color: transparent;
    border: 2px solid #7b9ec3;
    transition: all 0.3s;
    caret-color: #d17842;
    color: #aeaeae;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  }

  .no-depende {
    color: #106ca1;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }
  .error-depende {
    color: #b32424;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }
}

@media (min-width: 600px) and (max-width: 1079px) {
  .container-depende {
    display: none;
  }
  .container-depende.activa {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin: 0 10px;
    width: 95%;
    overflow-y: scroll;
    height: 33rem;
  }

  .bloque-dependiente {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
  }

  .titulo-dependiente {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }

  .fila-dependientes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 10px;
    width: 90%;
  }

  .label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: -moz-fit-content;
    height: fit-content;
    width: 90%;
    margin-bottom: 10px;
  }
  .label:has(input:focus) .title {
    top: 0;
    left: 0;
    color: #fff;
  }
  .label .title {
    padding: 0 10px;
    transition: all 300ms;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    width: -moz-fit-content;
    width: fit-content;
    top: 14px;
    position: relative;
    left: 15px;
    background: #8a9e9f;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  }

  .input-field {
    width: auto;
    height: 50px;
    text-indent: 15px;
    border-radius: 10px;
    outline: none;
    background-color: transparent;
    border: 2px solid #fff;
    transition: all 0.3s;
    caret-color: #d17842;
    color: #fff;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  }

  .no-depende {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }
  .error-depende {
    color: #b32424;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }
}

@media (max-width: 599px) {
  .container-depende {
    display: none;
  }
  .container-depende.activa {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin: 0 10px;
    width: 100%;
    overflow-y: scroll;
    height: 35rem;
  }

  .bloque-dependiente {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
  }

  .titulo-dependiente {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }

  .fila-dependientes {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin: 0 10px;
    width: 90%;
  }
  .col {
    width: 100%;
  }

  .label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: -moz-fit-content;
    height: fit-content;
    width: 100%;
    margin-bottom: 5px;
  }
  .label:has(input:focus) .title {
    top: 0;
    left: 0;
    color: #fff;
  }
  .label .title {
    padding: 0 10px;
    transition: all 300ms;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    width: -moz-fit-content;
    width: fit-content;
    top: 14px;
    position: relative;
    left: 15px;
    background: #8a9e9f;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  }

  .input-field {
    width: auto;
    height: 50px;
    text-indent: 15px;
    border-radius: 10px;
    outline: none;
    background-color: transparent;
    border: 2px solid #fff;
    transition: all 0.3s;
    caret-color: #d17842;
    color: #fff;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  }

  .no-depende {
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }
  .error-depende {
    color: #b32424;
    font-weight: 600;
    font-size: 0.8rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }
}

@media (min-width: 600px) and (max-width: 1079px) and (orientation: landscape) {
  .container-depende {
    display: none;
  }
  .container-depende.activa {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin: 0 10px;
    width: 90%;
    overflow-y: scroll;
    height: 12rem !important;
  }

  .bloque-dependiente {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
  }

  .titulo-dependiente {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }

  .fila-dependientes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
    column-gap: 15px;
    margin: 10px;
    width: 95%;
  }

  .label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: fit-content;
    width: 90%;
    margin-bottom: 15px;
  }

  .label:has(input:focus) .title {
    top: 0;
    left: 0;
    color: #fff;
    position: relative;
  }

  .label .title {
    padding: 0 10px;
    transition: all 300ms;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
    width: fit-content;
    background: #8a9e9f;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin-bottom: 2px;
    margin-left: 15px;
  }

  .input-field {
    width: auto;
    height: 50px;
    text-indent: 15px;
    border-radius: 10px;
    outline: none;
    background-color: transparent;
    border: 2px solid #fff;
    transition: all 0.3s;
    caret-color: #d17842;
    color: #fff;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    box-sizing: border-box;
  }

  .no-depende {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }

  .error-depende {
    color: #b32424;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin: 5px;
  }
}
