:root {
  --green: #079c3a;
  --green-dark: #087c32;
  --red: #ed1d24;
  --yellow: #ffba00;
  --ink: #111923;
  --muted: #666b70;
  --line: #d7d9da;
  --surface: #ffffff;
  --soft-yellow: #fff5d5;
  --shadow: 0 26px 70px rgba(24, 27, 24, 0.14);

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: #f4f5f4;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-page {
  min-height: 100vh;
  padding: 18px 22px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 70% 10%,
      #ffffff 0,
      #f8f9f8 48%,
      #eceeec 100%
    );
}

.password-shell {
  width: min(1380px, 100%);
  min-height: 860px;
  display: grid;
  grid-template-columns: 47% 53%;
  overflow: hidden;
  border: 1px solid #dcdedd;
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.brand-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 65px 52px 56px;
  background:
    url("/assets/images/hotel-reception.jpg")
    center bottom / cover no-repeat;
}

.brand-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 247, 236, 0.98) 0%,
      rgba(255, 244, 228, 0.91) 36%,
      rgba(255, 247, 235, 0.58) 61%,
      rgba(255, 255, 255, 0.04) 100%
    );
}

.brand-panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -95px;
  left: -95px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--yellow);
}

.brand-panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 25px;
  left: 135px;
  width: 85px;
  height: 45px;
  opacity: 0.55;
  background-image:
    radial-gradient(
      circle,
      var(--yellow) 2px,
      transparent 2.5px
    );
  background-size: 14px 14px;
}

.brand-header,
.brand-message,
.brand-benefits {
  position: relative;
  z-index: 2;
}

.brand-header {
  text-align: center;
}

.hotel-logo {
  width: 190px;
  height: 125px;
  margin-inline: auto;
}

.hotel-logo svg {
  width: 100%;
  height: 100%;
  stroke-width: 2.5;
}

.sun {
  fill: var(--yellow);
  stroke: var(--yellow);
}

.green-line {
  stroke: var(--green-dark);
}

.gold-line {
  stroke: var(--yellow);
}

.brand-header p {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.brand-header strong {
  display: block;
  margin-top: 6px;
  color: #454a4d;
  font-size: 13px;
  letter-spacing: 1.5px;
}

.brand-message {
  margin-top: 55px;
}

.brand-message h1 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 45px);
  line-height: 1.24;
  letter-spacing: -1.5px;
}

.brand-message h1 span {
  color: var(--green-dark);
}

.message-line {
  display: block;
  width: 42px;
  height: 4px;
  margin: 25px 0 27px;
  border-radius: 20px;
  background: var(--yellow);
}

.brand-message > p {
  max-width: 390px;
  margin: 0;
  color: #52585c;
  font-size: 16px;
  line-height: 1.55;
}

.brand-benefits {
  display: grid;
  gap: 28px;
  margin-top: 42px;
}

.benefit {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 17px;
}

.benefit-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(31, 55, 35, 0.08);
}

.benefit-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.9;
}

.benefit strong,
.benefit small {
  display: block;
}

.benefit strong {
  margin-bottom: 7px;
  font-size: 15px;
}

.benefit small {
  max-width: 250px;
  color: #50575a;
  font-size: 13px;
  line-height: 1.5;
}

.reset-panel {
  min-width: 0;
  padding: 70px 65px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 50% 20%,
      #ffffff 0,
      #fbfcfb 58%,
      #f5f6f5 100%
    );
}

.reset-card {
  width: min(590px, 100%);
  padding: 42px 46px 46px;
  border-radius: 24px;
  background: white;
  box-shadow:
    0 18px 55px rgba(16, 25, 19, 0.13);
}

.reset-heading {
  text-align: center;
}

.reset-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #142231;
  background: var(--soft-yellow);
}

.reset-icon svg {
  width: 56px;
  height: 56px;
  stroke-width: 1.7;
}

.reset-icon circle {
  color: var(--yellow);
}

.reset-heading h2 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 46px);
  letter-spacing: -1.4px;
}

.reset-heading p {
  max-width: 470px;
  margin: 16px auto 42px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

#forgotPasswordForm {
  display: grid;
  gap: 29px;
}

.form-field {
  display: grid;
  gap: 11px;
}

.form-field label {
  font-size: 15px;
  font-weight: 800;
}

.input-wrapper {
  min-height: 71px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.input-wrapper:focus-within {
  border-color: var(--green);
  box-shadow:
    0 0 0 3px rgba(7, 156, 58, 0.1);
}

.input-icon {
  width: 64px;
  height: 69px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  color: #656b70;
}

.input-icon svg {
  width: 28px;
  height: 28px;
}

.input-wrapper input {
  width: 100%;
  min-width: 0;
  height: 69px;
  padding: 0 18px 0 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}

.input-wrapper input::placeholder {
  color: #8b8e91;
}

.confirm-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #3b4144;
  font-size: 14px;
}

.confirm-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-checkbox {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  border: 2px solid #b5b9ba;
  border-radius: 5px;
  color: white;
  background: white;
}

.custom-checkbox svg {
  width: 16px;
  height: 16px;
  opacity: 0;
  stroke-width: 2.7;
}

.confirm-option input:checked + .custom-checkbox {
  border-color: var(--green);
  background: var(--green);
}

.confirm-option input:checked + .custom-checkbox svg {
  opacity: 1;
}

.recovery-status {
  min-height: 18px;
  margin: -10px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 750;
}

.recovery-status.error {
  color: var(--red);
}

.recovery-status.success {
  color: var(--green);
}

.reset-button {
  min-height: 68px;
  padding: 12px 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 10px;
  color: white;
  background:
    linear-gradient(
      90deg,
      #079c3a,
      #05a63d
    );
  box-shadow:
    0 13px 28px rgba(7, 156, 58, 0.19);
  font-size: 18px;
  font-weight: 800;
}

.reset-button:hover {
  background:
    linear-gradient(
      90deg,
      #087f32,
      #079c3a
    );
}

.reset-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.reset-button svg {
  width: 29px;
  height: 29px;
}

.separator {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 8px;
}

.separator span {
  height: 1px;
  background: #e1e3e3;
}

.separator strong {
  text-align: center;
  color: #707477;
  font-size: 14px;
  font-weight: 500;
}

.back-link {
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--red);
  text-decoration: none;
  font-size: 16px;
  font-weight: 750;
}

.back-link:hover {
  text-decoration: underline;
}

.back-link svg {
  width: 25px;
  height: 25px;
}

@media (max-width: 1050px) {
  .password-shell {
    grid-template-columns: 43% 57%;
  }

  .brand-panel {
    padding-inline: 35px;
  }

  .brand-message h1 {
    font-size: 35px;
  }

  .reset-panel {
    padding-inline: 38px;
  }
}

@media (max-width: 820px) {
  .password-page {
    padding: 12px;
  }

  .password-shell {
    display: block;
    min-height: auto;
    border-radius: 18px;
  }

  .brand-panel {
    min-height: 690px;
    padding: 45px 25px;
  }

  .brand-message {
    margin-top: 40px;
  }

  .brand-benefits {
    margin-top: 37px;
  }

  .reset-panel {
    padding: 42px 20px;
  }

  .reset-card {
    padding: 35px 27px 39px;
  }
}

@media (max-width: 520px) {
  .brand-panel {
    min-height: 735px;
  }

  .hotel-logo {
    width: 160px;
  }

  .brand-header p {
    font-size: 14px;
  }

  .brand-message h1 {
    font-size: 31px;
  }

  .reset-heading h2 {
    font-size: 34px;
  }

  .reset-heading p {
    margin-bottom: 32px;
    font-size: 15px;
  }

  .reset-card {
    padding-inline: 18px;
  }

  .form-field label {
    line-height: 1.45;
  }

  .input-wrapper input {
    font-size: 13px;
  }
}
