.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Fondo general */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f0f0f0; /* fondo gris de toda la página y sección del formulario */
}

/* SECCIÓN DE COLUMNAS */
.top-section {
  background: white; /* fondo blanco para las columnas */
  padding: 40px 0;
}

.top-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin: 40px auto 20px auto;
}


.left-side {
  flex: 1;
}

.right-side {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
  text-align: right;
}

/* SECCIÓN FORMULARIO */
.form-section {
  background: #f0f0f0; /* fondo gris uniforme */
  padding: 40px 20px;
}

.form-container {
  margin: 0 auto 50px auto;
}


form {
  padding: 25px 0; /* eliminamos el fondo y bordes */
  width: 100%;
}

/* FILAS DE CAMPOS (2 por línea) */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-row .field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-container .top-container i {
  color: #15365A;
}

.top-container i {
  font-size: 20px; /* Ajusta el tamaño a tu gusto */
  color: #05c7f2;       /* color azul que querías */
    font-size: 22px;       /* tamaño, ajustable */
    text-shadow: 0 0 1px #05c7f2, 0 0 1px #05c7f2; /* refuerza el grosor */
}


form button {
  display: inline-block;       /* Para que solo ocupe el tamaño del contenido */
  padding: 10px 20px;          /* Ajusta tamaño interno */
  margin: 20px auto 0 auto;    /* Centrado horizontal */
  border: none;
  background: #0070f3;
  color: white;
  font-size: 15px;             /* Un poco más pequeño que antes */
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover {
  background: #005fcc;
}


/* Inputs y textarea */
form input,
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
}

/* Placeholder gris */
input::placeholder,
textarea::placeholder {
  color: #888;
}

form textarea {
  height: 120px;
  resize: vertical;
}

/* Botón */
form button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border: none;
  background: #15365A;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover {
  background: #05c7f2;
}

/* PREVIEW DE ARCHIVOS */
.preview-item {
  position: relative;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.delete-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  font-weight: bold;
  color: #d33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}



input[type="file"]#archivo {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: auto;
}

/* Botón que dispara el selector */
.file-btn {
  display: inline-block;      /* ← evita que se estire al 100% */
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  background: #15365A;         /* verde */
  color: white;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  width: auto;                 /* ← importante */
}

.file-btn:hover {
  background: #05c7f2;         /* verde más oscuro */
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .top-container {
    flex-direction: column;
    text-align: left;
  }

  .form-row {
    flex-direction: column;
  }

  .right-side {
    text-align: left;
  }
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  border-radius: 6px; /* o el valor que quieras */
}

/*Animacion del boton enviar*/
button.sending {
  background: #888 !important;
  cursor: not-allowed;
  opacity: 0.8;
}

.spinner {
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/*Check box*/
#legalChecks {
    font-size: 14px;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.checkbox-line input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

#legalChecks a {
    text-decoration: underline;
}

#legalChecks a {
    text-decoration: underline;
    color: #15365A; /* o el color que ya uses en tu web */
}

#legalChecks {
    font-size: 12.5px;
}



