* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #16233d 0%, #0b1220 55%, #060a14 100%);
  font-family: 'Poppins', sans-serif;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, rgba(20, 32, 54, 0.9), rgba(10, 16, 28, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 40px 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  color: #f4f1ea;
}

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8fe8d4, #f4d976);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: #0b1220;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #f4d976;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.helptext {
  text-align: center;
  color: #b7c0d1;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 32px;
}

label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #e7e9ee;
  margin-bottom: 10px;
}

.input-group {
  position: relative;
  margin-bottom: 28px;
}

.input-group svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: #8fa0bd;
}

.input-group input {
  width: 100%;
  padding: 15px 16px 15px 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c1526;
  color: #f4f1ea;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input::placeholder {
  color: #6c7890;
}

.input-group input:focus {
  border-color: #8fe8d4;
  box-shadow: 0 0 0 3px rgba(143, 232, 212, 0.15);
}

button.primary {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #8fe8d4, #f4d976);
  color: #16233d;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(143, 232, 212, 0.25);
}

button.primary:active {
  transform: translateY(0);
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 26px;
  color: #b7c0d1;
  font-size: 14px;
  text-decoration: none;
}

.back-link span {
  color: #f4d976;
  font-weight: 600;
}

.back-link:hover span {
  text-decoration: underline;
}

/* Vista de confirmación */
.success-view {
  display: none;
  text-align: center;
}

.success-view.active {
  display: block;
}

.form-view.hidden {
  display: none;
}

.success-view .icon-wrap {
  background: linear-gradient(135deg, #8fe8d4, #6bd7be);
}

.success-view p.email-sent {
  color: #f4d976;
  font-weight: 600;
  word-break: break-all;
}

.error-msg {
  color: #ff9b9b;
  font-size: 13px;
  margin-top: -18px;
  margin-bottom: 18px;
  display: none;
}

button.primary:disabled {
  cursor: wait;
  opacity: 0.7;
}