@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

body {
  background: linear-gradient(135deg, #f3eaff, #ffffff);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

.tm-register-container {
  max-width: 600px;
  margin: 60px auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 50px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tm-top-login {
  text-align: right;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.tm-top-login a {
  color: #9b59b6;
  text-decoration: none;
  font-weight: 500;
}
.tm-top-login a:hover {
  text-decoration: underline;
}

.tm-form-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #9b59b6;
}

.tm-form-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.5;
}

.tm-form-group {
  margin-bottom: 20px;
  text-align: left;
}

.tm-form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: #444;
}

.tm-form-group .helper-text {
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
}

.tm-form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.tm-form-control:focus {
  border-color: #9b59b6;
  box-shadow: 0 0 10px rgba(155, 89, 182, 0.4);
  outline: none;
}

.tm-alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.tm-alert-error {
  background: #f8d7da;
  color: #721c24;
}

.tm-success {
  background: #e0ffd9;
  color: #2d5d2f;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.tm-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  background: #9b59b6;
  color: #fff;
  font-weight: 600;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.tm-btn:hover {
  background: #8e44ad;
}
