body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdt-2fa-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.pdt-2fa-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.pdt-2fa-icon .dashicons {
  font-size: 40px;
  width: 40px;
  height: 40px;
  color: #fff;
}

.pdt-2fa-title {
  font-size: 24px;
  font-weight: 600;
  color: #1e1e1e;
  margin: 0 0 8px;
}

.pdt-2fa-description {
  color: #666;
  margin: 0 0 24px;
  line-height: 1.5;
}

.pdt-2fa-email {
  font-weight: 600;
  color: #1e1e1e;
}

.pdt-2fa-input {
  width: 100%;
  padding: 16px;
  font-size: 24px;
  text-align: center;
  letter-spacing: 8px;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.pdt-2fa-input:focus {
  outline: none;
  border-color: #667eea;
}

.pdt-2fa-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pdt-2fa-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pdt-2fa-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.pdt-2fa-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.pdt-2fa-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #666;
}

.pdt-2fa-trust input {
  width: 18px;
  height: 18px;
  accent-color: #667eea;
}

.pdt-2fa-resend {
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}

.pdt-2fa-resend a,
.pdt-2fa-recovery a {
  color: #667eea;
  text-decoration: none;
}

.pdt-2fa-resend a:hover {
  text-decoration: underline;
}

.pdt-2fa-recovery {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #888;
}

.pdt-2fa-recovery-count {
  display: inline-block;
  margin-left: 4px;
  color: #666;
}

.pdt-2fa-back {
  margin-top: 16px;
}

.pdt-2fa-back a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.pdt-2fa-back a:hover {
  color: #1e1e1e;
}

/* Alternatives Section */
.pdt-2fa-alternatives {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.pdt-2fa-alt-title {
  font-size: 13px;
  color: #888;
  margin: 0 0 12px;
}

.pdt-2fa-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #667eea;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.pdt-2fa-alt-link:hover {
  background: #f3f4ff;
}

.pdt-2fa-alt-link .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.pdt-2fa-alt-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

/* Recovery Form */
.pdt-2fa-recovery-form {
  text-align: center;
}

.pdt-2fa-recovery-desc {
  color: #666;
  font-size: 14px;
  margin: 0 0 16px;
}

.pdt-2fa-recovery-form form {
  margin-bottom: 16px;
}

.pdt-recovery-input {
  letter-spacing: 4px !important;
  text-transform: uppercase;
}

.pdt-2fa-recovery-submit {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.pdt-2fa-recovery-submit:hover {
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

/* Email Fallback Link */
.pdt-2fa-email-fallback {
  margin-top: 12px;
}

.pdt-2fa-email-fallback a {
  color: #667eea;
  text-decoration: none;
  font-size: 13px;
}

.pdt-2fa-email-fallback a:hover {
  text-decoration: underline;
}
