* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(46, 204, 113, 0.08), transparent 30%),
    radial-gradient(circle at right center, rgba(52, 152, 219, 0.08), transparent 28%),
    #f5f7fb;
  margin: 0;
  padding: 0;
  color: #102033;
}

/* Encabezado */
.forgot-header {
  min-height: 86px;
  background: linear-gradient(to right, #24bf66, #0071c8);
  color: #ffffff;
  padding: 16px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.forgot-header-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.forgot-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.forgot-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}

/* Página */
.forgot-page {
  width: min(100%, 540px);
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 46px 18px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.forgot-card {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.12);
  text-align: center;
}

.forgot-logo-box {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.forgot-logo-box img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 5px;
  box-shadow: 0 8px 18px rgba(16, 32, 51, 0.12);
}

.forgot-card h1 {
  margin: 0 0 12px;
  color: #102033;
  font-size: 28px;
  line-height: 1.2;
}

.forgot-description {
  margin: 0 0 22px;
  color: #526078;
  font-size: 16px;
  line-height: 1.45;
}

.forgot-form {
  display: grid;
  gap: 14px;
}

.forgot-form input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #ffffff;
  color: #102033;
  font-size: 15px;
  outline: none;
  transition: 0.22s ease;
}

.forgot-form input:focus {
  border-color: #0071c8;
  box-shadow: 0 0 0 4px rgba(0, 113, 200, 0.14);
}

.forgot-form button {
  width: 100%;
  min-height: 50px;
  padding: 12px;
  background: linear-gradient(to right, #20bf62, #10a64f);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(32, 191, 98, 0.18);
}

.forgot-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.forgot-back {
  margin: 20px 0 0;
  font-size: 15px;
}

.forgot-back a {
  color: #0067bd;
  font-weight: 700;
  text-decoration: none;
}

.forgot-back a:hover {
  text-decoration: underline;
}

.forgot-msg {
  margin-top: 14px;
  font-size: 14px;
  color: #334155;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 520px) {
  .forgot-header {
    flex-direction: column;
    text-align: center;
    padding: 14px 18px;
    gap: 10px;
  }

  .forgot-header-text {
    font-size: 21px;
    line-height: 1.25;
  }

  .forgot-logo-img {
    width: 58px;
    height: 58px;
  }

  .forgot-page {
    min-height: auto;
    padding: 24px 12px;
    align-items: flex-start;
  }

  .forgot-card {
    padding: 26px 18px;
    border-radius: 16px;
  }

  .forgot-logo-box img {
    width: 74px;
    height: 74px;
  }

  .forgot-card h1 {
    font-size: 24px;
  }

  .forgot-description {
    font-size: 15px;
  }

  .forgot-form input,
  .forgot-form button {
    height: 50px;
    font-size: 15px;
  }
}