@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body.reset-request-page {
  margin: 0;
  min-height: 90vh;
  font-family: 'Poppins', sans-serif;
  color: #171222;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  overflow-x: hidden;
}

.reset-request-page .video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #0c0718;
}

.reset-request-page .video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.reset-request-page .auth-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(146, 102, 255, 0.44), rgba(146, 102, 255, 0) 34%),
    radial-gradient(circle at bottom right, rgba(122, 85, 255, 0.42), rgba(122, 85, 255, 0) 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(246, 241, 255, 0.62) 48%, rgba(237, 228, 255, 0.48));
}

.reset-request-shell {
  position: relative;
  z-index: 2;
  width: min(940px, calc(100% - 48px));
  margin: 32px auto;
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(37, 21, 84, 0.26);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

.reset-request-visual-column {
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(126, 90, 255, 0.08));
  border-right: 1px solid rgba(255, 255, 255, 0.42);
}

.reset-request-visual-card {
  /* height: 100%; */
  /* min-height: 520px; */
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.reset-request-visual-card picture,
.reset-request-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.reset-request-visual-card img {
  object-fit: cover;
  border-radius: 18px;
}

.reset-request-panel-column {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.52));
}

.reset-request-panel {
  width: min(440px, 100%);
  padding: 46px 48px;
}

.reset-request-panel h1 {
  margin: 0 0 0.8rem;
  color: #181225;
  font-size: 1.7rem;
  line-height: 1.02;
  font-weight: 700;
}

.reset-request-panel p {
  margin: 0;
  color: #5a556c;
  font-size: 1rem;
  line-height: 1.6;
}

.reset-request-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.9rem;
}

.reset-request-form .form__control {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.reset-request-form label {
  color: #30284b;
  font-weight: 600;
}

.reset-request-form input {
  width: 91%;
  /* min-height: 54px; */
  padding: 14px 18px;
  border: 1px solid rgba(94, 70, 180, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 18px 36px rgba(104, 77, 196, 0.08);
  color: #1d1830;
  font-size: 1rem;
}

.reset-request-form input::placeholder {
  color: #9d96b4;
}

.reset-request-form input:focus {
  border-color: rgba(88, 69, 189, 0.8);
  box-shadow: 0 0 0 4px rgba(89, 70, 192, 0.12);
  outline: none;
}

.reset-request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* min-height: 54px; */
  margin-top: 0.15rem;
  padding: 14px 18px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #5440b0 0%, #7754df 100%);
  box-shadow: 0 18px 40px rgba(93, 63, 194, 0.26);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-loading:disabled {
  color: inherit;
  opacity: 0.95;
  cursor: not-allowed;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  flex: 0 0 auto;
  animation: authButtonSpin 0.6s linear infinite;
}

@keyframes authButtonSpin {
  to {
    transform: rotate(360deg);
  }
}

.reset-request-btn:hover,
.reset-request-btn:focus {
  background: linear-gradient(135deg, #5e49bd 0%, #8864ee 100%);
  outline: none;
}

.reset-request-btn.secondary {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(94, 70, 180, 0.18);
  color: #5541b8;
}

.reset-request-btn.secondary:hover,
.reset-request-btn.secondary:focus {
  background: rgba(255, 255, 255, 0.96);
}

@media screen and (max-width: 980px) {
  body.reset-request-page {
    /* padding: 88px 16px 32px; */
  }

  .reset-request-shell {
    width: min(100%, calc(100% - 32px));
    grid-template-columns: 1fr;
  }

  .reset-request-visual-column {
    padding: 16px 16px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  }

  .reset-request-visual-card {
    /* min-height: 250px; */
  }

  .reset-request-panel {
    width: 100%;
    padding: 32px 24px;
  }
}

@media screen and (max-width: 640px) {
  body.reset-request-page {
    /* padding: 84px 10px 24px; */
  }

  .reset-request-shell {
    width: calc(100% - 20px);
    border-radius: 24px;
  }

  .reset-request-visual-column {
    padding: 14px 14px;
  }

  .reset-request-visual-card {
    /* min-height: 180px; */
    padding: 10px;
  }

  .reset-request-panel {
    padding: 28px 18px 24px;
  }

  .reset-request-panel h1 {
    font-size: 1.9rem;
  }
}
