* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Contenedor */
.container {
  background: rgba(255,255,255,0.96);
  padding: 40px 35px;
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  animation: fadeIn 0.6s ease;
}

/* Barra progreso */
.progress-bar {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2c5364, #203a43);
  transition: width 0.4s ease;
}

/* Título */
h1 {
  text-align: center;
  margin-bottom: 10px;
  color: #1e3c4f;
}

p {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
  font-size: 14px;
}

/* Icon inputs */
.icon-input {
  display: flex;
  align-items: center;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0 12px;
  margin-bottom: 18px;
  transition: 0.3s;
}

.icon-input i {
  color: #2c5364;
  font-size: 14px;
  margin-right: 10px;
}

.icon-input input {
  border: none;
  background: transparent;
  padding: 14px 0;
  width: 100%;
  font-size: 15px;
  outline: none;
}

/* Inputs y selects */
input,
select {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  transition: 0.3s;
}

input:focus,
select:focus {
  border-color: #2c5364;
  background: white;
  box-shadow: 0 0 0 3px rgba(44,83,100,0.15);
  outline: none;
}

select {
  appearance: none;
}

/* Botón */
button {
  width: 100%;
  padding: 16px;
  margin-top: 30px; /* 👈 separación elegante */
  background: linear-gradient(135deg, #2c5364, #203a43);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Hover premium */
button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}

/* Cuando está deshabilitado (loader activo) */
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* Loader */
.loader {
  display: none;
  margin: 15px auto 0;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2c5364;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(15px);}
  to {opacity: 1; transform: translateY(0);}
}
.logo {
  width: 80px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 15px;
}
@media (max-width: 480px) {
  .icon-input i {
    left: 14px;
    font-size: 13px;
  }

  .icon-input input {
    padding-left: 40px;
  }
}