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

.tg-recover-shell {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.tg-recover-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-recover-card__icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.tg-recover-card__icon.is-success {
  background: #eefae8;
}

.tg-recover-card__icon i {
  font-size: 32px;
  color: #ffadad;
}

.tg-recover-card__icon.is-success i {
  color: #73b85a;
}

.tg-recover-card__title {
  font-size: 28px;
  color: #ffadad;
  margin-bottom: 10px;
}

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

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

.tg-recover-field {
  text-align: left;
}

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

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

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

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

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

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

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

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

.tg-recover-submit,
.tg-recover-primary-link,
.tg-recover-secondary-btn {
  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;
  cursor: pointer;
}

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

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

.tg-recover-submit:disabled,
.tg-recover-secondary-btn:disabled {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.8;
}

.tg-recover-secondary-btn,
.tg-recover-secondary-link {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff8f8;
  border: 1px solid #ffd1d1;
  color: #d97b86;
  transition: all 0.25s ease;
}

.tg-recover-secondary-btn:hover,
.tg-recover-secondary-link:hover {
  background: #fff0f0;
  transform: translateY(-1px);
}

.tg-recover-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tg-recover-info-box {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #ffe2a8;
  color: #5c4b25;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.tg-recover-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: tg-recover-spin 0.75s linear infinite;
}

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

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

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

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

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

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

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

  .tg-recover-card__title {
    font-size: 24px;
  }

  .tg-recover-card__text,
  .tg-recover-input,
  .tg-recover-info-box {
    font-size: 14px;
  }

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