* {
  margin: 0;
  padding: 0;

}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  max-width: 1560px;
  min-width: 1240px;
  width: 100%;
  margin: 25px auto;
  color: #333;
  line-height: 1.6;
}

.container *{
  box-sizing: border-box;
}

header {
  margin-bottom: 30px;
  text-align: center;
}

h1 {
  font-size: 2.1rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.subtitle {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 95%;
  margin: 0 auto;
}

.search-box {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

#searchInput {
  width: 100%;
  padding: 16px 20px;
  padding-right: 60px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.search-icon {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  cursor: pointer;
}

/* 表格样式 */
.table-container {
  overflow-x: auto;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 25px;
  border: 1px solid #eee;
}

table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: white;
}

th {
  background-color: #4e7fc7;
  color: #fff;
  padding: 16px 15px;
  text-align: center;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

th:hover {
  background-color: #4a6fa5;
}

th:after {
  position: relative;
  content: "↕";
  left: 10px;
  opacity: 0.5;
  font-size: 0.9em;
}

td {
  padding: 14px 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

tr:nth-child(even) {
  background-color: #fafafa;
}

tr:hover {
  background-color: #f5f9ff;
}

.highlight {
  background-color: #e3f2fd !important;
  animation: highlight 1.5s ease;
}

@keyframes highlight {
  0% {
    background-color: #fffde7;
  }

  100% {
    background-color: #e3f2fd;
  }
}

/* 生肖emoji样式 */
.zodiac-emoji {
  font-size: 1.4rem;
  display: inline-block;
  width: 32px;
}

/* 页脚样式 */
footer {
  background: #fff;
  color: #666;
  padding: 20px;
  border-radius: 12px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 300px;
  margin: 0 20px 0;
}

.footer-section h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #4a6fa5;
}

.footer-section p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-section ul {
  padding-left: 20px;
}

.footer-section li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.copyright {
  text-align: center;
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid #e7e7e7;
  font-size: 0.9rem;
  color: #8a8a8a;
}

.no-results {
  background-color: #fff8e1 !important;
  color: #ff6f00;
  font-weight: 500;
}
