/* estilos.css */

/* ---- RESET ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #e0eafc, #cfdef3);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ---- CARD CONTAINER ---- */
.container {
  background-color: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 500px;
}

/* ---- TITULOS ---- */
h1, h2, h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

/* ---- FORMULARIOS ---- */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: bold;
  color: #34495e;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border 0.3s;
}

input:focus, select:focus {
  border-color: #3498db;
  outline: none;
}

/* ---- BOTONES ---- */
button,
input[type="submit"] {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #3498db;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
  background-color: #2980b9;
}

/* ---- DASHBOARD ---- */
.dashboard-info {
  margin-bottom: 30px;
}

.dashboard-info p {
  font-size: 16px;
  margin-bottom: 8px;
  color: #2d3436;
}

/* ---- ETAPAS ---- */
.etapas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.etapa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ecf0f1;
  padding: 10px 15px;
  border-radius: 10px;
}

.etapa.completada {
  background-color: #d4edda;
  color: #155724;
}

.etapa .check {
  font-size: 20px;
  color: #2ecc71;
}

/* ---- MENSAJE FINAL ---- */
.mensaje-exito {
  text-align: center;
  background-color: #dff9fb;
  padding: 20px;
  border: 1px solid #7bed9f;
  border-radius: 12px;
  color: #2f3542;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 600px) {
  .container {
    padding: 20px;
  }

  .etapa {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
