* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1640px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
  display: flex;
  flex-direction: column;
}

.container * {
  box-sizing: border-box;
}

/* 头部样式 */
header {
  position: relative;
  margin-bottom: 20px;
  text-align: center;
}

header h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  line-height: 1.6;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.card p{
  margin-bottom: 15px;
}

.card h3{
  font-size: 18px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 22px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-group {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

#idcard-input {
  flex: 1;
  padding: 15px 20px;
  font-size: 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s;
}

#idcard-input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.btn {
  padding: 15px 42px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: #1a73e8;
  color: white;
}

.btn-primary:hover {
  background: #0d62d9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f1f8fe;
  color: #1a73e8;
  border: 1px solid #d2e3fc;
}

.btn-secondary:hover {
  background: #e8f0fe;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.result-item {
  background: #f8f9fe;
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #1a73e8;
}

.result-label {
  font-size: 15px;
  color: #5f6368;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-value {
  font-size: 18px;
  font-weight: 600;
  color: #202124;
}

.valid {
  color: #34a853;
}

.invalid {
  color: #ea4335;
}

.notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 16px 30px;
  border-radius: 8px;
  font-size: 16px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.notice.show {
  opacity: 1;
}

.factor-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.factor-table th,
.factor-table td {
  padding: 12px 15px;
  text-align: center;
}

.factor-table th {
  background: #f1f8fe;
  font-weight: 600;
}

.factor-table tr:nth-child(even) {
  background: #f8f9fe;
}

.footer {
  text-align: center;
  color: #5f6368;
  font-size: 15px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: #f8f9fe;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.feature:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a73e8;
}

.feature-desc {
  color: #5f6368;
  font-size: 15px;
}
