:root {
  --primary: #00B87C;
  --primary-light: #00D4A0;
  --primary-dark: #009668;
  --primary-gradient: linear-gradient(135deg, #00D4A0, #00B87C);
  --primary-gradient-hover: linear-gradient(135deg, #00B87C, #00A078);
  --accent: #F58025;
  --accent-light: #FF9147;
  --accent-dark: #E06B10;
  --accent-gradient: linear-gradient(135deg, #FF9147, #F58025);
  --success: #00B87C;
  --success-dark: #008C68;
  --success-bg: #E6FAF3;
  --danger: #E85D40;
  --danger-dark: #C94528;
  --danger-bg: #FEF2EF;
  --warning: #F58025;
  --bg: #F4FCF9;
  --bg-alt: #EBF7F3;
  --card: #FFFFFF;
  --text: #142A23;
  --text-secondary: #5A786E;
  --text-muted: #8BA89D;
  --border: #C8DDD5;
  --border-light: #DFEDE8;
  --shadow-sm: 0 1px 3px rgba(0, 184, 124, 0.06);
  --shadow: 0 2px 12px rgba(0, 184, 124, 0.08), 0 1px 3px rgba(0,0,0,0.03);
  --shadow-lg: 0 8px 30px rgba(0, 184, 124, 0.12), 0 2px 8px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.header {
  background: var(--card);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 184, 124, 0.04);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.header h1 a {
  color: var(--text);
  text-decoration: none;
}

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 184, 124, 0.03);
  padding: 36px 28px;
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.5;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 3px 12px rgba(0, 184, 124, 0.3);
}

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 184, 124, 0.38);
}

.btn-success {
  background: linear-gradient(135deg, #00D4A0, #00B87C);
  color: white;
  box-shadow: 0 3px 12px rgba(0, 184, 124, 0.28);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 184, 124, 0.36);
}

.btn-danger {
  background: linear-gradient(135deg, #F07A62, #E85D40);
  color: white;
  box-shadow: 0 3px 12px rgba(232, 93, 64, 0.22);
}

.btn-danger:hover {
  transform: translateY(-2px);
}

.btn-warning {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 3px 12px rgba(245, 128, 37, 0.28);
}

.btn-warning:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
}

.btn-outline:hover {
  background: var(--bg-alt);
  border-color: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  font-weight: 600;
}

.btn-ghost:hover {
  background: rgba(0, 184, 124, 0.06);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 13px 36px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  font-weight: 700;
}

.form-group {
  margin-bottom: 26px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.92rem;
}

.form-group label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  transition: var(--transition);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.65;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 184, 124, 0.1);
  background: white;
}

.form-control:hover:not(:focus) {
  border-color: #B5CEC4;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2300B87C' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 18px;
  padding-right: 38px;
}

.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px 0;
}

.radio-group label, .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: var(--transition);
  font-size: 0.92rem;
  position: relative;
}

.radio-group label::before,
.checkbox-group label::before {
  content: attr(data-letter) '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: white;
  border: 1.5px solid var(--border);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: var(--transition);
}

.radio-group label:hover, .checkbox-group label:hover {
  border-color: var(--primary-light);
  background: #F0FBF7;
}

.radio-group label:has(input:checked),
.checkbox-group label:has(input:checked) {
  border-color: var(--primary);
  background: #F0FBF7;
  color: var(--primary-dark);
  font-weight: 600;
}

.radio-group label:has(input:checked)::before,
.checkbox-group label:has(input:checked)::before {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 184, 124, 0.3);
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.file-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-alt);
  position: relative;
}

.file-upload:hover {
  border-color: var(--primary-light);
  background: #F0FBF7;
  transform: translateY(-2px);
}

.file-upload input[type="file"] {
  display: none;
}

.file-upload .upload-icon {
  font-size: 3rem;
  margin-bottom: 14px;
  opacity: 0.5;
  color: var(--primary);
}

.file-upload .upload-text {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.file-upload .upload-hint {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 6px;
}

.image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.image-preview img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  transition: var(--transition);
}

.image-preview img:hover {
  border-color: var(--primary-light);
  transform: scale(1.04);
}

.file-info {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.field-item {
  background: var(--bg-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  position: relative;
  transition: var(--transition);
}

.field-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.field-item.field-divider {
  background: linear-gradient(135deg, rgba(0,212,160,0.08), rgba(0,184,124,0.04));
  border-color: rgba(0,184,124,0.25);
  border-style: dashed;
}

.field-item.field-divider .field-header .field-label {
  color: var(--primary);
}

.field-item.field-divider .field-header .field-label::before {
  content: '\f0224';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 6px;
  font-size: 0.8rem;
}

.field-item.dragging {
  opacity: 0.4;
  border-style: dashed;
}

.field-item.drag-over {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0,184,124,0.2);
}

.field-drag-handle {
  cursor: grab;
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--transition);
  font-size: 0.9rem;
  user-select: none;
}

.field-drag-handle:hover {
  color: var(--primary);
  background: rgba(0,184,124,0.08);
}

.field-drag-handle:active {
  cursor: grabbing;
}

.field-body {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease;
}

.field-body.collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}

.field-body.expanded {
  max-height: 2000px;
  opacity: 1;
}

.field-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.field-summary .field-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--success-bg);
  color: var(--success-dark);
}

.field-toggle {
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 2px 4px;
  border-radius: 4px;
}

.field-toggle:hover {
  color: var(--primary);
  background: rgba(0,184,124,0.06);
}

.logic-rule {
  background: var(--bg-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.logic-rule:hover {
  border-color: var(--primary-light);
}

.logic-rule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.logic-rule-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logic-condition {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.logic-condition select,
.logic-condition input {
  padding: 6px 10px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  min-width: 0;
}

.logic-condition select {
  flex: 1;
  min-width: 100px;
}

.logic-condition input {
  flex: 1;
  min-width: 80px;
}

.logic-condition .cond-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.logic-action {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 12px;
  background: rgba(0,184,124,0.04);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(0,184,124,0.2);
}

.logic-action select,
.logic-action input {
  padding: 6px 10px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  min-width: 0;
}

.logic-action select {
  flex: 1;
  min-width: 120px;
}

.logic-action input {
  flex: 1;
  min-width: 80px;
}

.logic-action .action-label {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.logic-op-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 4px 0;
}

.logic-op-toggle button {
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.logic-op-toggle button.active {
  background: var(--primary);
  color: #fff;
}

.exclusive-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(231,76,60,0.1);
  color: #e74c3c;
  margin-left: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.exclusive-badge:hover {
  background: rgba(231,76,60,0.2);
}

.field-item .field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.field-item .field-header .field-label {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.field-item .field-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.field-item .field-actions label {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: var(--text-secondary);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.options-list .option-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.options-list .option-item input {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: var(--transition);
  background: var(--card);
}

.options-list .option-item input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 184, 124, 0.08);
}

.form-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: var(--transition);
}

.form-list-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.form-list-item .form-info {
  flex: 1;
}

.form-list-item .form-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.form-list-item .form-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.form-list-item .form-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-active {
  background: var(--success-bg);
  color: var(--success-dark);
}

.badge-inactive {
  background: var(--danger-bg);
  color: var(--danger-dark);
}

.link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 10px;
}

.link-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.82rem;
  color: var(--primary-dark);
  outline: none;
  font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
}

.login-box {
  max-width: 420px;
  margin: 100px auto;
  animation: fadeInUp 0.5s ease;
}

.login-box .card {
  text-align: center;
  padding: 44px 36px;
  border: 1.5px solid var(--border-light);
}

.login-box h2 {
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.login-box .login-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.submission-item {
  background: var(--bg-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  transition: var(--transition);
}

.submission-item:hover {
  border-color: var(--primary-light);
}

.submission-item .submission-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.submission-item table {
  width: 100%;
  border-collapse: collapse;
}

.submission-item td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.submission-item tr:last-child td {
  border-bottom: none;
}

.submission-item td:first-child {
  font-weight: 600;
  width: 33%;
  color: var(--text-secondary);
  background: rgba(0, 184, 124, 0.03);
}

.submission-item td:last-child {
  color: var(--text);
}

.submission-item td a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
}

.submission-item td a:hover {
  text-decoration: underline;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  opacity: 0.5;
  color: var(--primary);
}

.empty-state p {
  font-size: 0.95rem;
}

.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  padding: 14px 20px 14px 16px;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
  backdrop-filter: blur(8px);
}

.toast::before {
  content: '';
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.toast-success {
  background: rgba(0, 184, 124, 0.93);
}

.toast-success::before {
  background: var(--success-dark);
}

.toast-error {
  background: rgba(232, 93, 64, 0.93);
}

.toast-error::before {
  background: var(--danger-dark);
}

@keyframes toastIn {
  from { transform: translateX(120%) scale(0.9); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0) scale(1); opacity: 1; }
  to { transform: translateX(120%) scale(0.9); opacity: 0; }
}

.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 24px;
  border: 1.5px solid var(--border-light);
}

.tab {
  padding: 10px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: center;
  flex: 1;
}

.tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
}

.tab.active {
  color: white;
  background: var(--primary-gradient);
  box-shadow: 0 3px 10px rgba(0, 184, 124, 0.28);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 42, 35, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal h3 {
  margin-bottom: 16px;
}

.success-page {
  text-align: center;
  padding: 60px 20px;
  animation: fadeInUp 0.5s ease;
}

.success-page .success-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 184, 124, 0.35);
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.success-page .success-icon svg {
  width: 36px;
  height: 36px;
  stroke: white;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-page .success-icon svg .checkmark-path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.5s 0.3s ease forwards;
}

.success-page h2 {
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 1.5rem;
  font-weight: 700;
}

.success-page p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.loading-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.btn-loading {
  pointer-events: none;
  opacity: 0.88;
}

.btn-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 6px;
}

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

.verify-field {
  position: relative;
}

.verify-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.verify-input-row .form-control {
  flex: 1;
}

.verify-btn {
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 100px;
}

.verify-result {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-light);
  background: var(--bg-alt);
  animation: fadeInUp 0.3s ease;
}

.verify-result.result-success {
  border-color: rgba(0, 184, 124, 0.3);
  background: var(--success-bg);
}

.verify-result.result-error {
  border-color: rgba(232, 93, 64, 0.25);
  background: var(--danger-bg);
}

.verify-result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.88rem;
}

.verify-result-header .result-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  flex-shrink: 0;
}

.result-success .verify-result-header .result-icon {
  background: var(--success);
}

.result-error .verify-result-header .result-icon {
  background: var(--danger);
}

.verify-profile {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.verify-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-light);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border-light);
}

.verify-skin {
  width: 80px;
  height: 160px;
  object-fit: contain;
  flex-shrink: 0;
  image-rendering: pixelated;
  border-radius: var(--radius-sm);
  background: var(--border-light);
  border: 2px solid var(--border-light);
}

.verify-info {
  flex: 1;
  min-width: 0;
}

.verify-info-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.85rem;
}

.verify-info-item .info-label {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  min-width: 60px;
}

.verify-info-item .info-value {
  color: var(--text);
  word-break: break-all;
}

.verify-info-item .info-value a {
  color: var(--primary-dark);
  text-decoration: none;
}

.verify-info-item .info-value a:hover {
  text-decoration: underline;
}

.verify-info-item .uuid-value {
  font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-secondary);
  user-select: all;
}

.verify-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 184, 124, 0.05);
  border: 1.5px solid rgba(0, 184, 124, 0.12);
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--primary-dark);
  animation: fadeIn 0.2s ease;
}

.verify-loading .loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 184, 124, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}

.verify-validated-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--success-bg);
  color: var(--success-dark);
  margin-left: 8px;
}

.verify-success-toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--success-bg);
  border: 1.5px solid rgba(0, 184, 124, 0.2);
  color: var(--success-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
  animation: fadeInUp 0.3s ease;
}

.verify-hint {
  margin-top: 6px;
  font-size: 0.8rem;
  min-height: 20px;
  transition: var(--transition);
}

.char-hint {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
  min-height: 18px;
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}

.form-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  margin-top: 24px;
}

.form-section-title .card-title {
  margin-bottom: 0;
}

.submit-area {
  margin-top: 34px;
  text-align: center;
  padding-top: 8px;
}

.back-btn {
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .container {
    padding: 14px;
    padding-bottom: 48px;
  }

  .header .container {
    flex-direction: column;
    gap: 10px;
  }

  .header h1 {
    font-size: 1.05rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .form-list-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-list-item .form-actions {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    justify-content: flex-end;
  }

  .card {
    padding: 22px 18px;
  }

  .login-box {
    margin: 60px auto;
  }

  .login-box .card {
    padding: 28px 20px;
  }

  .form-meta {
    flex-direction: column;
    gap: 4px !important;
    align-items: flex-start !important;
  }

  .tabs {
    gap: 2px;
  }

  .tab {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .verify-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .verify-info-item {
    justify-content: center;
  }
}

.btn i {
  font-size: 0.88rem;
}

.header h1 i {
  color: var(--primary);
}

.login-box h2 i {
  color: var(--primary);
  margin-right: 6px;
}