* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1600px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
  display: flex;
  flex-direction: column;
}

.container * {
  box-sizing: border-box;
}

/* 头部样式 */
header {
  position: relative;
  margin-bottom: 25px;
  text-align: center;
}

header h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  line-height: 1.6;
}

.search-box{
   margin-top: 20px;
}
#search-input {
  flex: 1;
  padding: 12px 24px;
  width: 50%;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 50px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#search-input:focus {
  border-color: #4a69bd;
}

#search-input::placeholder {
  color: #aaa;
}

.results-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 30px;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.results-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #343a40;
}

.results-count {
  background: #4a69bd;
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

thead {
  background: #eef2f7;
}

th {
  padding: 18px 15px;
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
}

td {
  padding: 4px;
  border-bottom: 1px solid #e9ecef;
  color: #495057;
}

tbody tr:hover {
  background-color: #f8f9fa;
}

.flag-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.flag {
  font-size: 1.8rem;
}

.highlight {
  background-color: #fff9db;
  color: #e67700;
  padding: 2px 4px;
  border-radius: 4px;
}

footer {
  text-align: center;
  padding: 25px;
  background: #343a40;
  color: #f8f9fa;
  border-radius: 15px;
  margin-top: auto;
}

.footer-content {
  margin: 0 auto;
}

.footer-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
}

.footer-description {
  line-height: 1.7;
  margin-bottom: 25px;
  opacity: 0.85;
}

.footer-info {
  display: flex;
  justify-content: center;
  gap: 25px;
  text-align: left;
}

.info-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #4dabf7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1rem;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.no-results {
  text-align: center;
  padding: 50px 20px;
  color: #868e96;
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.3;
}
