.doc-gebouw {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}

.doc-gebouw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.doc-gebouw-header:hover { opacity: 0.9; }

.doc-gebouw-body { display: none; }
.doc-gebouw-body.open { display: block; }

.doc-verdiep {
  border-bottom: 1px solid var(--border);
}
.doc-verdiep:last-child { border-bottom: none; }

.doc-verdiep-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 8px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: #f7fafc;
  cursor: pointer;
  user-select: none;
}
.doc-verdiep-header:hover { background: #edf2f7; }

.doc-verdiep-body { display: none; }
.doc-verdiep-body.open { display: block; }

.doc-collector {
  border-top: 1px solid var(--border);
}

.doc-collector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 8px 40px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.doc-collector-header:hover { background: #f0f4f8; }

.doc-collector-body { display: none; padding: 8px 14px 12px 40px; }
.doc-collector-body.open { display: block; }

.doc-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-chevron {
  display: inline-block;
  font-size: 10px;
  transition: transform 0.2s;
}
.doc-chevron.open { transform: rotate(90deg); }

.doc-folder-icon { font-size: 16px; }

.doc-count {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}
.doc-verdiep-header .doc-count { color: var(--muted); }

.doc-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.doc-upload-btn:hover { opacity: 0.85; }

.doc-files-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
}

.doc-file-item--image {
  cursor: pointer;
}
.doc-file-item--image:hover { background: #f7fafc; }

.doc-file-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.doc-file-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.doc-file-size {
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}

.doc-file-delete {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  line-height: 28px;
  text-align: center;
}
.doc-file-delete:hover { background: #fff5f5; }

.doc-loading {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
