.agregarEquipoContainer {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  .innerContainer {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
  }

  h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 1.8rem;
  }
}

.equipoForm {
  display: flex;
  gap: 1.5rem;

  .column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;

    .formGroup {
      display: flex;
      flex-direction: column;
      min-width: 0;

      textarea.textAreaLarge {
        height: auto;
        min-height: 80px;
        max-height: 150px;
        resize: none;
        padding: 12px;
        font-family: inherit;
      }

      select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 12px;
        padding-right: 30px;
      }
    }
  }
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc; /* Borde azul como en la imagen */
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.2s ease;
  height: 40px;

  &:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
  }
}

.formActions {
  display: flex;
  justify-content: space-evenly;
  align-items: end;
  gap: 30px;
  width: 100%;
  height: 100%;
  .btnGuardar {
    background-color: #ffb700;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;

    &:hover {
      background-color: #ffcc33;
    }
  }

  .btnCancelar {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;

    &:hover {
      background-color: #004494;
    }
  }
}

.formGroup {
  position: relative;
}

.suggestions {
  position: absolute; // mantiene fuera del flujo
  top: 100%; // justo debajo del input
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  list-style: none;
  margin: 4px 0 0 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  font-size: 12px;
}

.suggestions li {
  padding: 8px;
  cursor: pointer;

  &:hover {
    background: #f2f2f2;
  }
}

@media (max-width: 1075px) {
  .equipoForm {
    flex-wrap: wrap;
    max-width: 100%;

    .column {
      flex: 1 1 calc(50% - 15px);
      min-width: 250px;

      .formGroup {
        input,
        select {
          width: 100%;
          font-size: 16px;
        }
      }
    }
  }
}

/* Responsive: en móvil, una columna */
@media (max-width: 600px) {
  .agregarEquipoContainer .innerContainer {
    padding: 15px;
    max-width: 90vw;
  }

  .equipoForm {
    flex-direction: column;
    gap: 20px;

    .column {
      flex: 1 1 100%;
      min-width: auto;

      .formGroup {
        input,
        select {
          width: 100%;
          font-size: 16px;
        }
      }
    }
  }

  .formActions {
    flex-direction: column;
    align-items: stretch;

    button {
      width: 100%;
      font-size: 18px;
      padding: 12px;
    }
  }
}

.information {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #003e79;
}
