.project-dialog-wrapper {
  background-color: var(--color-nodes-sidepanel-bg, #202020);
  border-radius: 12px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #fff;
  border: 1px solid var(--color-divider-subtle, #333);
  overflow: hidden;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4.7rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-divider-subtle, #333);
}

.icon-and-title {
  display: flex;
  align-items: center;
  min-width: 0;

  i {
    font-size: 1.5rem;
    margin-right: 1.5rem;
    color: var(--project-node-accent-color, #5c8be5);
  }

  .title {
    font-size: 1.125rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.close-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  .esc-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    padding: 0.15rem 0.3rem;
    border: 1px solid #444;
    border-radius: 4px;
    background: #2a2a2a;
  }

  i {
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease;

    &:hover {
      color: var(--project-node-accent-color, #5c8be5);
    }
  }
}

.dialog-content {
  flex: 1;
  overflow: hidden;
}
