/* Additional icon styling for file browser */
.file-icon {
  font-size: 1.2rem;
  width: 1.5rem;
  text-align: center;
}

.folder-icon {
  color: var(--app-accent);
}

/* Clickable table rows */
.clickable-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.clickable-row:hover {
  background-color: rgba(var(--app-accent-rgb), 0.15) !important;
}

.clickable-row td {
  user-select: none;
}

.file-item:hover {
  background-color: rgba(var(--app-accent-rgb), 0.1);
}

.file-link {
  color: var(--app-primary);
  text-decoration: none;
}

.file-link:hover {
  color: var(--app-accent);
  text-decoration: underline;
}

/* Improve table appearance */
.table-app td {
  padding: 0.6rem 0.75rem;
}

/* Breadcrumb enhancement */
.breadcrumb-app .breadcrumb-item a {
  color: var(--app-accent);
  text-decoration: none;
}

.breadcrumb-app .breadcrumb-item a:hover {
  color: var(--app-accent-hover);
  text-decoration: underline;
}

/* Additional page header styling */
.page-title {
  font-weight: 500;
  color: var(--app-primary);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Custom header */
.app-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: white;
}

/* Custom back button */
.back-button {
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.back-button i {
  margin-right: 0.375rem;
}

/* Actions tabs: keep default Bootstrap tabs, add subtle accent line for state */
#actions-tab .nav-link {
  position: relative;
}

#actions-tab .nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

#actions-tab .nav-link:hover::after,
#actions-tab .nav-link:focus::after {
  background-color: rgba(var(--app-accent-rgb), 0.25);
}

#actions-tab .nav-link.active::after,
#actions-tab .nav-item.show .nav-link::after {
  background-color: rgba(var(--app-accent-rgb), 0.65);
}
