.file-container {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  max-width: 950px;
  margin: 40px auto;
}

.file-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.file-upload-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.file-input {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
}

.file-upload-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 14px;
}

.file-upload-btn:hover {
  background-color: #0056b3;
}

.file-table {
  width: 100%;
  border-collapse: collapse;
}

.file-table th,
.file-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}

.file-table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.file-delete-btn,
.file-download-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
}

.file-delete-btn {
  color: #dc3545;
}
.file-download-btn {
  color: #198754;
  margin-right: 8px;
}

.file-download-btn:hover {
  color: #146c43;
}
.file-delete-btn:hover {
  color: #a71d2a;
}

.loading-cell,
.empty-cell,
.error-cell {
  text-align: center;
  font-style: italic;
  color: #666;
  padding: 20px;
}

.logout-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.logout-modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logout-modal-content p {
  color: red;
  font-size: 12px;
  margin-bottom: 20px;
}
.logout-modal-content span {
  font-size: 24px;
  margin-bottom: 20px;
}

.logout-modal-buttons {
  display: flex;
  justify-content: space-around;
}

.logout-modal-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.logout-modal-btn.yes {
  background-color: #f44336;
  color: white;
}

.logout-modal-btn.no {
  background-color: #199A8E;
  color: white;
}

.logout-modal-btn:hover {
  opacity: 0.9;
}

.category-filter-container {
  width: 100%;
}

#categoryFilter {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
  margin: 10px 0 20px 0;
}
