body {
  font-family: 'Poppins', sans-serif;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  margin: 0;
  min-height: 100vh;
  flex-direction: column;
}

.form-container {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  border-top: 5px solid #820b75;
  box-sizing: border-box;
}

.form-container h2,
.form-container h1 {
  margin-bottom: 25px;
  color: #820b75;
  font-weight: 600;
  text-align: center;
}

.form-control,
.form-select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-control:focus,
.form-select:focus {
  border-color: #01af6e;
  box-shadow: 0 0 4px #01af6e;
  outline: none;
}

.btn-primary {
  background-color: #01af6e;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  transition: background-color 0.3s ease;
  color: white;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #01975e;
}

.btn-success {
  background-color: #820b75;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  transition: background-color 0.3s ease;
  color: white;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.btn-success:hover {
  background-color: #5e0857;
}

.btn-secondary {
  background-color: #6c757d;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  transition: background-color 0.3s ease;
  color: white;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: #565e64;
}

.password-wrapper .input-group {
  position: relative;
}

.input-group-text.toggle-password {
  cursor: pointer;
  background-color: #f0f0f0;
  border-left: none;
  border-radius: 0 8px 8px 0;
  user-select: none;
}

.input-group .form-control {
  border-radius: 8px 0 0 8px;
}

.container-center {
  max-width: 400px;
  width: 100%;
  margin: auto;
  padding: 0 20px;
}

footer {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 40px;
  width: 100%;
}

/* Para páginas con multiples botones, centrado y espacios */
.button-group {
  display: grid;
  gap: 1rem;
  max-width: 320px;
  margin: 0 auto;
}

/* Textos */
.text-center {
  text-align: center;
}
