.tg-reset-password-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.tg-reset-password-shell {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tg-reset-password-brand {
  display: inline-flex;
  align-self: center;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  color: #ffadad;
}

.tg-reset-password-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  padding: 34px 30px;
  backdrop-filter: blur(8px);
  text-align: center;
}

.tg-reset-password-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.tg-reset-password-icon.is-success {
  background: #eefae8;
}

.tg-reset-password-icon.is-error {
  background: #fff1f1;
}

.tg-reset-password-icon i {
  font-size: 32px;
  color: #ffadad;
}

.tg-reset-password-icon.is-success i {
  color: #73b85a;
}

.tg-reset-password-icon.is-error i {
  color: #e16a6a;
}

.tg-reset-password-title {
  font-size: 28px;
  color: #ffadad;
  margin-bottom: 10px;
}

.tg-reset-password-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 22px;
}

.tg-reset-password-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tg-reset-password-field {
  text-align: left;
}

.tg-reset-password-label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.tg-reset-password-input-wrap {
  position: relative;
}

.tg-reset-password-input {
  width: 100%;
  padding: 12px 46px 12px 14px;
  border-radius: 10px;
  border: 1px solid #ffe3e3;
  background: #fffdf7;
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.tg-reset-password-input:focus {
  border-color: #ffadad;
  box-shadow: 0 0 6px rgba(255, 173, 173, 0.35);
  outline: none;
}

.tg-reset-password-input.is-invalid {
  border-color: #ff7171;
  box-shadow: 0 0 0 3px rgba(255, 113, 113, 0.12);
}

.tg-reset-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #ffadad;
  cursor: pointer;
  font-size: 15px;
  padding: 4px;
}

.tg-reset-password-toggle:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.tg-reset-password-hint {
  margin-top: 7px;
  font-size: 13px;
  color: #777;
  line-height: 1.45;
}

.tg-reset-password-field-error {
  margin-top: 7px;
  font-size: 13px;
  color: #d94b4b;
  line-height: 1.45;
}

.tg-reset-password-alert {
  margin-bottom: 18px;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.tg-reset-password-alert.is-error {
  background: #fff1f1;
  border: 1px solid #ffd0d0;
  color: #b14444;
}

.tg-reset-password-alert.is-success {
  background: #eefae8;
  border: 1px solid #cfe7c5;
  color: #477c36;
}

.tg-reset-password-submit,
.tg-reset-password-primary-link,
.tg-reset-password-secondary-link {
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.tg-reset-password-submit,
.tg-reset-password-primary-link {
  background: #ffadad;
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 173, 173, 0.3);
  cursor: pointer;
}

.tg-reset-password-submit:hover,
.tg-reset-password-primary-link:hover {
  background: #fff3c2;
  color: #333;
  transform: translateY(-2px);
}

.tg-reset-password-submit:disabled {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.8;
}

.tg-reset-password-secondary-link {
  background: #fff8f8;
  border: 1px solid #ffd1d1;
  color: #d97b86;
}

.tg-reset-password-secondary-link:hover {
  background: #fff0f0;
  transform: translateY(-1px);
}

.tg-reset-password-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tg-reset-password-spinner,
.tg-reset-password-big-spinner {
  border-radius: 50%;
  animation: tg-reset-password-spin 0.75s linear infinite;
}

.tg-reset-password-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
}

.tg-reset-password-big-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 173, 173, 0.3);
  border-top-color: #ffadad;
}

.tg-reset-password-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.tg-reset-password-footer a {
  text-decoration: none;
  color: #333;
}

.tg-reset-password-footer a:hover {
  color: #ffadad;
}

@keyframes tg-reset-password-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  .tg-reset-password-page {
    padding: 20px 14px;
  }

  .tg-reset-password-brand {
    font-size: 24px;
  }

  .tg-reset-password-card {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .tg-reset-password-title {
    font-size: 24px;
  }

  .tg-reset-password-text,
  .tg-reset-password-input {
    font-size: 14px;
  }

  .tg-reset-password-submit,
  .tg-reset-password-primary-link,
  .tg-reset-password-secondary-link {
    min-height: 48px;
    font-size: 15px;
    padding: 12px;
  }
}