* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body, html {
  height: 100%;
}

.container {
  display: flex;
  height: 100vh;
  overflow: hidden;
  flex-direction: row;
}

.mt-4 {
  margin-top: 2.5rem;
}


.left::after {
  display: none;
}

.left {
  background: #8BEDFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.left img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}





.right {
  flex: 1;
  background-color: #1d3488;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 25px;
  position: relative;
  z-index: 2;
  height: 100vh;
}

.form-box {
  position: relative;
  background-color: white;
  padding: 40px 30px 60px 30px; /* espacio inferior aumentado */
  border-radius: 15px;
  width: 100%;
  max-width: 550px; /* Puede ajustar este valor a gusto */
  margin-right: 30px; /* margen derecho */
  height: auto;
  min-height: 620px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 3;
  box-sizing: border-box;
}
.form-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10px;
  width: 100%;
  background-color: #f4c900; /* amarillo Haz Tu Envío */
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}


.form-box::before {
  content: '';
  position: absolute;
  left: -26px; /* se aleja más para acomodar tamaño */
  top: 20%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 26px solid transparent;
  border-bottom: 26px solid transparent;
  border-right: 26px solid white;
}

.tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  font-weight: 500;
  font-size: 28px;/*FUENTE GENERAL*//*FUENTE GENERAL*//*FUENTE GENERAL*/
}

.tabs span {
  color: #ccc;
  cursor: pointer;
  position: relative;
  padding: 10px 20px;
  display: inline-block;
}

.tabs .active {
  color: #1d3488;
  font-weight: 600;
}

.tabs span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background-color: #ccc; /* borde gris claro */
  border-radius: 1px;
}

.tabs .active::after {
  height: 3px;
  background-color: #f4c900;
}


.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #f9f9f9;
  border-radius: 6px;
  margin-bottom: 15px;
  padding: 14px;
  background-color: #f9f9f9;
  transition: box-shadow 0.3s;
}
.input-icon {
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid #ccc;
  color: #1d3488;
  font-size: 22px;
  display: flex;
  align-items: center;
}
input::placeholder {
  color: #c3c3c3; /* o cualquier color que desee */
  opacity: 1;  /* en algunos navegadores es necesario para que se vea bien */
}


.input-group:focus-within {
  box-shadow: 0 0 0 2px #8BEDFF;
}

.input-group label {
  margin-right: 10px;
  color: #1d3488;
  font-size: 28px;/*FUENTE GENERAL*//*FUENTE GENERAL*/
}

.input-group input {
  border: none;
  outline: none;
  flex: 1;
  background: transparent;
  font-size: 18px;
  color: #1d3488;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #1d3488;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 28px;/*FUENTE GENERAL*//*FUENTE GENERAL*/
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #152965;
}

.form-section {
  display: none;
}

.form-section.active {
  display: block;
}



@media (max-width: 500px) {
  .container {
    flex-direction: column;
    height: 100vh;
  }

  .left {
    display: none;
  }

  .left img {
    display: none !important;
  }

  .right {
    width: 100%;
    height: 100vh;
    background-color: #1d3488; /* ← cambiamos el fondo para que no use la imagen */
    padding: 0 20px;
    justify-content: center;
    align-items: center;
  }

  .form-box {
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(3px);
    margin: auto;
    min-height: 460px;
  }

  .form-box::before {
    display: none;
  }
}
