.project-file-widget {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.project-file-widget__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.project-file-widget__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(100, 116, 139);
}

.project-file-widget__link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  color: rgb(124, 58, 237);
  text-decoration: none;
  word-break: break-all;
}

.project-file-widget__upload {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-file-widget__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.625rem 0.95rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.22);
}

.project-file-widget__button:hover {
  filter: brightness(1.05);
}

.project-file-widget__filename {
  color: rgb(71, 85, 105);
  word-break: break-word;
}

.project-file-widget__clear {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgb(71, 85, 105);
}

.project-file-input-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dark .project-file-widget__label,
.dark .project-file-widget__filename,
.dark .project-file-widget__clear {
  color: rgb(203, 213, 225);
}

.dark .project-file-widget__link {
  color: rgb(196, 181, 253);
}

body.app-projects.model-project.change-list table tbody td {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  vertical-align: top;
}

body.app-projects.model-project.change-list table thead th {
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 24;
  background: #fff;
  box-shadow: inset 0 -1px 0 rgba(226, 232, 240, 0.95);
}

.project-list-cell {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  color: rgb(71, 85, 105);
  word-break: break-word;
}

.dark .project-list-cell {
  color: rgb(203, 213, 225);
}

.dark body.app-projects.model-project.change-list table thead th {
  background: rgb(15, 23, 42);
  box-shadow: inset 0 -1px 0 rgba(51, 65, 85, 0.95);
}

body.app-projects.model-project.change-list [data-simplebar] {
  padding-bottom: 14px;
}

body.app-projects.model-project.change-list [data-simplebar] .simplebar-track.simplebar-horizontal {
  display: block !important;
  height: 14px;
  opacity: 1 !important;
  visibility: visible !important;
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 32;
  pointer-events: auto;
  background: rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body.app-projects.model-project.change-list [data-simplebar] .simplebar-track.simplebar-horizontal .simplebar-scrollbar {
  min-width: 32px;
}

body.app-projects.model-project.change-list [data-simplebar] .simplebar-track.simplebar-horizontal .simplebar-scrollbar::before {
  top: 2px;
  bottom: 2px;
  left: 2px;
  right: 2px;
  opacity: 0.9 !important;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  transition: none !important;
}

body.app-projects.model-project.change-list [data-simplebar] .simplebar-track.simplebar-horizontal .simplebar-scrollbar.simplebar-visible::before {
  opacity: 0.9 !important;
}

.dark body.app-projects.model-project.change-list [data-simplebar] .simplebar-track.simplebar-horizontal {
  background: rgba(71, 85, 105, 0.45);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

body.app-projects.model-project.change-list [data-simplebar].project-scrollbar-fixed .simplebar-track.simplebar-horizontal {
  position: fixed !important;
  left: var(--project-scrollbar-left) !important;
  right: auto !important;
  bottom: 12px;
  width: var(--project-scrollbar-width);
  z-index: 45;
}

.project-sticky-table-header {
  display: none;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  top: 0;
  z-index: 44;
}

.project-sticky-table-header.is-visible {
  display: block;
}

.project-sticky-table-header__viewport {
  overflow: hidden;
}

.project-sticky-table-header__table {
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.project-sticky-table-header table thead {
  display: table-header-group;
}

.dark .project-sticky-table-header__table {
  background: rgb(15, 23, 42);
}
