[data-id="hosts_sidebar"] {
  border-right: 1px solid var(--md-color-outline-variant);
}

[data-id="hosts_scroll"] {
  overflow-y: auto;
}

[data-id="hosts_scroll"]::-webkit-scrollbar {
  width: 8px;
}

[data-id="hosts_scroll"]::-webkit-scrollbar-thumb {
  background: var(--md-color-outline-variant);
  border-radius: 4px;
}

[data-id="hosts_pagination"] {
  align-items: center;
}

.ssh-host-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--md-color-outline-variant);
  border-radius: var(--md-radius-md);
  background: var(--md-color-surface);
}

.ssh-host-card:hover {
  border-color: var(--md-color-primary);
}

.ssh-host-folder-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--md-color-on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ssh-host-folder-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.ssh-host-top,
.ssh-host-bottom {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ssh-host-title {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 14px;
  color: var(--md-color-on-surface);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ssh-host-sub {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: var(--md-color-on-surface-variant);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ssh-host-action {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--md-color-outline-variant);
  border-radius: 6px;
  background: transparent;
  color: var(--md-color-on-surface-variant);
  cursor: pointer;
}

.ssh-host-action:hover {
  background: var(--md-color-surface-variant);
}

.ssh-host-action--connect {
  color: var(--md-color-primary);
  border-color: color-mix(in srgb, var(--md-color-primary) 50%, transparent);
}

.ssh-host-action--danger {
  color: var(--md-color-error);
}

.ssh-host-action--danger:hover {
  background: color-mix(in srgb, var(--md-color-error) 15%, transparent);
}

.ssh-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--md-color-outline-variant);
  border-radius: 6px;
  background: transparent;
  color: var(--md-color-on-surface-variant);
  font-size: 13px;
  cursor: pointer;
}

.ssh-tab--active {
  background: var(--md-color-surface-variant);
  color: var(--md-color-on-surface);
  border-color: var(--md-color-primary);
}

.ssh-tab-close {
  color: var(--md-color-on-surface-variant);
  font-size: 15px;
  line-height: 1;
}

.ssh-tab-close:hover {
  color: var(--md-color-error);
}

.ssh-term {
  width: 100%;
  height: 100%;
  background: #0d1117;
  border-radius: 8px;
  overflow: hidden;
}

.ssh-term .xterm {
  height: 100%;
}

.ssh-file-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--md-color-outline-variant);
  border-radius: 6px;
  background: var(--md-color-surface);
}

.ssh-file-row:hover {
  border-color: var(--md-color-primary);
}

.ssh-file-label {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--md-color-on-surface);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

