* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: #f8fafc;
  color: #1e293b;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  background: linear-gradient(135deg, #0f172a 0%, #172a63 100%);
  color: white;
  padding: 40px 20px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 30px;
}

.header-badge {
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 16px;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.highlight {
  color: #ff9500;
}

.search-bar {
  margin-bottom: 24px;
}

#searchInput {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab {
  padding: 10px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.tab.active {
  background: #ff5722;
  color: white;
  border-color: #ff5722;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.file-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform 0.2s;
}

.file-card:hover {
  transform: translateY(-3px);
}

.file-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  margin-bottom: 12px;
}

.file-icon.pdf {
  background: #ed2633;
}

.file-icon.xlsx {
  background: #21a366;
}

.file-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.4;
}

.file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.meta-tag {
  background: #fff3e0;
  color: #e65100;
  padding: 4px 10px;
  border-radius: 6px;
}