/* Layout */
.tf-container {
  max-width: 520px;
  margin: 40px auto;
  padding: 0 16px;
}
.tf-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  padding: 24px;
}
.tf-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.tf-logo {
  height: 32px;
  width: auto;
}
.tf-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

/* Forms */
.tf-form p { margin: 0 0 12px; }
.tf-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.tf-form input[type="text"],
.tf-form input[type="password"],
.tf-form input[type="email"],
.tf-form input[type="number"] {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
.tf-form input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* Messages & alerts */
.tf-messages { margin: 0 0 12px; padding: 0; list-style: none; }
.tf-messages li { background:#eff6ff; color:#1e40af; padding:10px 12px; border-radius:8px; }
.tf-alert { background:#fef2f2; color:#991b1b; padding:10px 12px; border-radius:8px; margin-bottom:12px; }

/* Actions / Buttons */
.tf-actions { display: flex; gap: 8px; margin-top: 8px; }
.tf-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  background: #f3f4f6;
}
.tf-btn:hover { background: #e5e7eb; }
.tf-btn-primary {
  background: #2563eb; color:#fff; border-color:#2563eb;
}
.tf-btn-primary:hover { background:#1d4ed8; }

/* Minor */
.tf-subtle { margin-top: 14px; color:#6b7280; }
.tf-subtle a { color:#2563eb; text-decoration: none; }
.tf-subtle a:hover { text-decoration: underline; }
