* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    Segoe UI,
    Arial,
    sans-serif;
}

body {
  background: #f5f6fa;
  color: #222;
}

.container {
  max-width: 850px;
  margin: 40px auto;
  padding: 20px;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

h1 {
  font-size: 26px;
  margin-bottom: 25px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

label {
  font-size: 13px;
  margin-bottom: 5px;
  display: block;
  color: #666;
}

select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
}

.latest {
  padding: 20px;
  border-radius: 10px;
  background: #eef7ff;
  margin-bottom: 30px;
}

.latest h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.download-btn {
  display: inline-block;
  margin-top: 15px;
  background: #0078ff;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
}

.download-btn:hover {
  background: #0063d4;
}

.archive h2 {
  margin-bottom: 15px;
}

.item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.item:last-child {
  border: none;
}

.small {
  color: #777;
  font-size: 13px;
}

.link {
  color: #0078ff;
  text-decoration: none;
}

.icon {
  margin-right: 8px;
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.tab-button {
  border: 1px solid #ced4da;
  background: #fff;
  color: #222;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.tab-button.active,
.tab-button:hover {
  background: #0078ff;
  color: #fff;
  border-color: #0078ff;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-left-color: #0078ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

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