@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --white: #ffffff;
  --light-gray: #f3f3f3;
  --text-dark: #333;
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- BASE ---------- */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif !important;
  background: #f6f5f7;
}

/* ---------- CONTENEDOR PRINCIPAL ---------- */
.signup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  background: #fff;
  margin: 0 auto;
}

/* ---------- FORMULARIO ---------- */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
}

form h1 {
  color: black;
  font-size: 26px;
  margin-bottom: 20px;
}

.descripcion-form {
  font-size: 14px;
  color: #555;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4;
  max-width: 90%;
}

/* ---------- CAMPOS INDIVIDUALES ---------- */
.input-field {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.input-field i {
  position: absolute;
  top: 16px;
  left: 15px;
  transform: none;
  color: #888;
  font-size: 14px;
}

.input-field input,
.input-field select {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: none;
  outline: none;
  background: var(--light-gray);
  border-radius: 6px;
  font-size: 14px;
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
}

.input-field input:focus,
.input-field select:focus {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(36, 59, 85, 0.3);
}

/* ---------- BOTÓN PRINCIPAL ---------- */
.btn-solid {
  border: none;
  outline: none;
  white-space: nowrap;
  background-color: #65a5dc;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  gap: 10px;
  width: 100%;
  max-width: 300px;
  min-height: 48px;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.btn-solid:hover {
  background-color: #5291c8;
}

a {
  text-decoration: none;
}

button:disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
  filter: none !important;
}

button:disabled:hover {
  background-color: inherit !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  animation: spin-loader 0.8s linear infinite;
  margin: 0 !important;
  flex-shrink: 0;
  display: none;
}

@keyframes spin-loader {
  to {
    transform: rotate(360deg);
  }
}
