.files-page-section {
  display: none;
}

.files-page-section.active {
  display: block;
}

.files-page-container {
  width: 95%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  background: #efefef;
  border-radius: 12px;
}

.files-list-container {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.files-action-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}


.files-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
  background: #1e293b;
  color: #e5e7eb;
}

.files-btn:hover {
  transform: translateY(-1px);
  background: #334155;
}

/* Download button */
.download-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.download-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Upload button */
.upload-btn {
  background: linear-gradient(135deg, #059669, #047857);
}

.upload-btn:hover {
  background: linear-gradient(135deg, #047857, #065f46);
}

.download-file-row {
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 6px;
}

.download-file-name {
  font-weight: 600;
  color: #111827;
}

.file-recorder {
  font-size: 12px;
  color: #6b7280;
}

.file-bottom-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.file-bottom-row a {
  font-size: 13px;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}

.file-bottom-row a:hover {
  text-decoration: underline;
}


.pagination-bar {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.page-btn:hover {
  background: #f3f4f6;
}

.page-btn.active {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.next-btn {
  border-radius: 18px;
  padding: 0 14px;
}
