/* ==============================
PALETA DE COLORES
Azul principal: #1F3A5F
Azul secundario: #2E5C8A
Azul claro: #4F8BC9
Gris claro fondo: #F4F6F9
Gris texto: #333333
============================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #1ca7a6, #2E5C8A);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  min-height: 100vh;
}

form {
  background-color: #FFFFFF;
  width: 100%;
  max-width: 650px;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* TÍTULOS */

h1 {
  text-align: center;
  color: #1F3A5F;
  margin-bottom: 25px;
  font-size: 28px;
  border-bottom: 3px solid #1ca7a6;
  padding-bottom: 10px;
}

h2 {
  color: #2E5C8A;
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 18px;
}

/* SEPARADORES */

hr {
  border: none;
  height: 1px;
  background-color: #E0E6ED;
  margin: 20px 0;
}

/* INPUTS GENERALES */

input[type="text"],
input[type="password"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 15px;
  border: 1px solid #CCD6E0;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* EFECTO FOCUS */

input:focus,
select:focus,
textarea:focus {
  border-color: #4F8BC9;
  outline: none;
  box-shadow: 0 0 5px rgba(79, 139, 201, 0.3);
}

/* CHECKBOX Y RADIO */

input[type="checkbox"],
input[type="radio"] {
  margin-left: 8px;
  margin-right: 5px;
  transform: scale(1.1);
  cursor: pointer;
}

/* TEXTAREA */

textarea {
  resize: vertical;
  min-height: 80px;
}

/* BOTONES */

input[type="submit"],
input[type="reset"] {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  margin-right: 10px;
  transition: all 0.3s ease;
}

input[type="submit"] {
  background-color: #1F3A5F;
  color: white;
}

input[type="submit"]:hover {
  background-color: #2E5C8A;
}

input[type="reset"] {
  background-color: #E0E6ED;
  color: #333333;
}

input[type="reset"]:hover {
  background-color: #CCD6E0;
}

/* RESPONSIVE */

@media (max-width: 600px) {
  form {
    padding: 20px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 16px;
  }
}
