.folder-list {
  margin: 20px;
  margin-left: 0;
  margin-top: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid #e9ecef;
  color: #80706b;
}

.folder-list table th {
  background: #441c00 !important;
  padding: 12px 16px;
  text-align: center;
  color: #fff;
  font-weight: 600;
  border-color: #441c00;
  border-bottom: 2px solid #000000;
}

/* Optional: Adjust hover state for better contrast */
.folder-list table tr:hover td {
  background-color: #f5efe6;
}

/* First column (Created) width */
.folder-list table td:first-child,
.folder-list table th:first-child {
  text-align: center;
  width: 50px;
}

.folder-list table td:nth-child(2),
.folder-list table th:nth-child(2) {
  text-align: center;
  width: 50px;
}

.folder-list table td:nth-child(6),
.folder-list table th:nth-child(6) {
  text-align: center;
  width: 120px;
}

.folder-list table td:last-child,
.folder-list table th:last-child {
  text-align: center;
  width: 50px;
}

.folder-item:hover {
  background-color: #f8f9fa;
}

.edit-input {
  width: 90%;
  padding: 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.edit-input:focus {
  border-color: #2b8a3e;
  outline: none;
  box-shadow: 0 0 0 2px rgba(43, 138, 62, 0.1);
}

.btn-edit,
.btn-save,
.btn-cancel,
.btn-publish,
.btn-delete {
  width: 55px;
  padding: 6px 0;
  margin: 0 4px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-edit {
  background-color: #2b8a3e;
  color: white;
}

.btn-save {
  background-color: #2b8a3e;
  color: white;
}

.btn-cancel {
  background-color: #868e96;
  color: white;
}

.btn-publish {
  background-color: #1971c2;
  color: white;
}

.btn-delete {
  background-color: #e03131;
  color: white;
}

.btn-edit:hover {
  background-color: #237032;
}

.btn-save:hover {
  background-color: #237032;
}

.btn-cancel:hover {
  background-color: #495057;
}

.btn-publish:hover {
  background-color: #1864ab;
}

.btn-delete:hover {
  background-color: #c92a2a;
}

@media (max-width: 768px) {
  .folder-list {
    margin: 10px;
    overflow-x: auto;
  }

  td, th {
    padding: 8px;
  }

  .btn-edit,
  .btn-save,
  .btn-cancel,
  .btn-publish,
  .btn-delete {
    padding: 4px 8px;
    margin: 2px;
  }
}

.bulk-actions {
  margin-top: -45px;
  margin-bottom: 10px;
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
}

.bulk-actions .btn-delete {
  width: auto;
  padding: 6px 12px;
}

.folder-list table input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
  accent-color: #e03131;
}