.kompGrid{
  display:grid;
  grid-template-columns: 1fr .9fr;
  gap:16px;
  height:100%;
  min-height:0;
}
.kompList{
  padding: 0 16px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:auto;
  max-height: calc(100vh - 240px);
}
.fileItem{
  border:1px solid var(--stroke2);
  border-radius:16px;
  background: rgba(255,255,255,.02);
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.fileMeta{font-size:12px; color: var(--muted); margin-top:4px}

@media (max-width: 1100px){
  .kompGrid{grid-template-columns:1fr}
  .kompList{max-height: none}
}
.attachmentRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #222;
}
/* ===== Kompendium Premium UI ===== */

.cmpCard {
  background: #111;
  border: 1px solid #222;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
  transition: 0.2s ease;
}

.cmpCard:hover {
  border-color: #333;
  transform: translateY(-2px);
}

.cmpCardTop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.cmpTitle {
  font-size: 18px;
  font-weight: 700;
}

.cmpDesc {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

.cmpBadge {
  background: #1f1f1f;
  border: 1px solid #333;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.cmpAttachments {
  border-top: 1px solid #222;
  padding-top: 12px;
}

.cmpAttachment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #1a1a1a;
}

.cmpAttachment:last-child {
  border-bottom: none;
}

.cmpFileName {
  font-size: 14px;
  font-weight: 500;
}

.cmpActions {
  display: flex;
  gap: 8px;
}

.cmpFooter {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}
.dropZone {
  border: 2px dashed #333;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease;
  background: #0f0f0f;
}

.dropZone:hover {
  border-color: #555;
}

.dropZone.dragover {
  border-color: #888;
  background: #181818;
  transform: scale(1.02);
}

.dropSub {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
}
.selectedFiles {
  margin-top: 12px;
}

.selectedFile {
  background: #181818;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  font-size: 13px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.uploadProgressWrap {
  height: 6px;
  background: #111;
  border-radius: 6px;
  margin-top: 12px;
  overflow: hidden;
}

.uploadProgressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg,#4cafef,#00e0ff);
  transition: width 0.2s ease;
}
.cmpDropExisting {
  border: 1px dashed #333;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.cmpDropExisting.dragover {
  border-color: #777;
  background: #1a1a1a;
}
/* ===== PREMIUM SCROLLBAR ===== */

.kompList {
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  padding: 16px;
}

/* Chrome, Edge */
.kompList::-webkit-scrollbar {
  width: 10px;
}

.kompList::-webkit-scrollbar-track {
  background: #0f0f0f;
  border-radius: 10px;
}

.kompList::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#2a2a2a,#444);
  border-radius: 10px;
  border: 2px solid #0f0f0f;
}

.kompList::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,#3a3a3a,#666);
}

/* Firefox */
.kompList {
  scrollbar-width: thin;
  scrollbar-color: #444 #0f0f0f;
}