:root {
  --primary-color: #2563eb;
  --secondary-color: #3b82f6;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: #06b6d4;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
}
 
body {
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background-color: #f0f7ff;
  color: #334155;
  line-height: 1.6;
}
 
.navbar {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: var(--box-shadow);
  padding: 0.5rem 1rem;
}
 
.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white !important;
  display: flex;
  align-items: center;
}
 
.navbar-brand i {
  margin-right: 10px;
  font-size: 1.8rem;
}
 
.logo-container {
  background-color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
 
.logo {
  height: 40px;
}
 
.header-section {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px;
  margin-bottom: 25px;
}
 
.section-title {
  color: var(--primary-color);
  font-weight: 700;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
 
.card {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: none;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}
 
.card:hover {
  transform: translateY(-5px);
}
 
.card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
  padding: 12px 20px;
}
 
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 12px 20px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
 
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
}
 
.btn-success {
  background: linear-gradient(135deg, var(--success-color), #34d399);
  border: none;
}
 
.btn-info {
  background: linear-gradient(135deg, var(--info-color), #22d3ee);
  border: none;
}
 
.btn-warning {
  background: linear-gradient(135deg, var(--warning-color), #fbbf24);
  border: none;
}
 
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
 
.btn:active {
  transform: translateY(1px);
}
 
.form-control {
  border-radius: var(--border-radius);
  padding: 12px 15px;
  border: 1px solid #cbd5e1;
  transition: all 0.3s;
}
 
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
 
.info-box {
  background-color: #dbeafe;
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
 
.info-box strong {
  color: var(--primary-color);
}
 
.result-container {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin-top: 20px;
  display: none;
}

/* 新增结果标题样式 */
.result-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 12px 20px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin-bottom: 20px;
}

.result-header h4 {
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
}
 
.result-card {
  margin-bottom: 20px;
  position: relative;
}
 
.result-label {
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
 
.result-label i {
  font-size: 1.2rem;
}
 
.badge-count {
  background: var(--primary-color);
  color: white;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.85rem;
  margin-left: 8px;
}
 
.footer {
  background: linear-gradient(135deg, var(--dark-color), #0f172a);
  color: white;
  padding: 30px 0 20px;
  margin-top: 40px;
}
 
.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #e2e8f0;
}
 
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}
 
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}
 
.footer-links a:hover {
  color: white;
  text-decoration: underline;
}
 
.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 20px;
}
 
.modal-content {
  border-radius: var(--border-radius);
  overflow: hidden;
}
 
.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}
 
.modal-title {
  font-weight: 600;
}
 
#tctb {
  width: 100%;
  border-collapse: collapse;
}
 
#tctb th {
  background-color: #e2e8f0;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
}
 
#tctb td {
  padding: 10px 15px;
  border-bottom: 1px solid #e2e8f0;
}
 
#tctb tr:last-child td {
  border-bottom: none;
}
 
.loading-indicator {
  display: none;
  text-align: center;
  padding: 20px;
}
 
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}
 
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
 
.domain-example {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 5px;
}
 
.domain-counter {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 0.8rem;
  color: #64748b;
  background: rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
  border-radius: 10px;
}
 
.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
 
.progress-modal .modal-content {
  border-radius: 12px;
  overflow: hidden;
}
 
.progress-modal .modal-header {
  padding: 15px 20px;
}
 
.progress-modal .modal-body {
  padding: 25px;
  text-align: center;
}
 
.progress-modal .modal-footer {
  justify-content: center;
  padding: 15px;
}
 
.progress-container {
  background: #f1f5f9;
  border-radius: 10px;
  height: 20px;
  margin: 20px 0;
  overflow: hidden;
}
 
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  transition: width 0.4s ease;
  position: relative;
}
 
.progress-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 600;
  font-size: 12px;
}
 
.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: flex-end;
}
 
@media (max-width: 768px) {
  .btn {
    margin-bottom: 10px;
    width: 100%;
  }
  
  .btn-grid {
    gap: 10px;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .logo-container {
    width: 40px;
    height: 40px;
  }
  
  .logo {
    height: 30px;
  }
  
  .result-actions {
    flex-direction: column;
    gap: 5px;
  }
  
  .result-actions .btn {
    width: 100%;
  }
}