/* --- Base general --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: #1D3557;
}

/* Envoltura que contiene la tarjeta */
.content-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Estilo de la tarjeta */
.card {
  background-color: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 20px;
}

/* --- Encabezado --- */
.card-header {
  padding: 40px 30px 20px;
}

.logo {
  width: 150px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(255, 145, 77, 0.5));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.card-header h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #8A2BE2;
}

.card-header p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

/* --- Cuerpo del Formulario --- */
.card-body {
  padding: 0 30px 40px;
  background-color: #f7f9fc;
}

.form-group {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  font-size: 16px;
}

.form-group input:focus {
  outline: none;
  border-color: #8A2BE2;
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

/* --- Botón de acción --- */
.btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  color: #FFFFFF;
  background: linear-gradient(45deg, #8A2BE2, #FF914D, #FF6FB5);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

/* Footer que queda abajo y centrado */
.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #555;
  background-color: #FFFFFF;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
