/* cignyl-sftp 20260824 */
/* ------------------------------ */
/* v2 Container (card-like)       */
/* ------------------------------ */

.v2-theme .v2-container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;

  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: 0 2px 2px 0 hsl(var(--foreground) / 0.06);
}

.v2-theme .v2-container--variant-default {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
}

.v2-theme .v2-container--variant-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-color: hsl(var(--border));
}

.v2-theme .v2-container--variant-destructive {
  background:
    linear-gradient(0, hsl(var(--destructive) / 0.10), hsl(var(--destructive) / 0.10)),
    hsl(var(--background));
  border-color: hsl(var(--destructive));
  color: hsl(var(--foreground));
}

.v2-theme .v2-container--variant-success {
  background:
    linear-gradient(0, hsl(var(--success) / 0.10), hsl(var(--success) / 0.10)),
    hsl(var(--background));
  border-color: hsl(var(--success));
  color: hsl(var(--foreground));
}

.v2-theme .v2-container--variant-warning {
  background:
    linear-gradient(0, hsl(var(--warning) / 0.14), hsl(var(--warning) / 0.14)),
    hsl(var(--background));
  border-color: hsl(var(--warning));
  color: hsl(var(--foreground));
}

.v2-theme .v2-container--variant-info {
  background:
    linear-gradient(0, hsl(var(--info) / 0.10), hsl(var(--info) / 0.10)),
    hsl(var(--background));
  border-color: hsl(var(--info));
  color: hsl(var(--foreground));
}

.v2-theme .v2-container--variant-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
  box-shadow: none;
}

.v2-theme .v2-container--variant-ghost {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: transparent;
  box-shadow: none;
}

.v2-theme .v2-container--variant-link {
  background: transparent;
  color: hsl(var(--primary));
  border-color: transparent;
  box-shadow: none;
}

.v2-theme .v2-container--variant-muted {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.v2-theme .v2-container__content {
  padding: var(--v2-space-lg);
  /* Optional; set by JS when scrollHeight is configured. */
  max-height: none;
  transition: max-height 200ms ease;
}

.v2-theme .v2-container--padded-false .v2-container__content {
  padding: 0;
}

.v2-theme .v2-container--scroll-x-true .v2-container__content {
  overflow-x: auto;
}

.v2-theme .v2-container--scroll-y-true .v2-container__content {
  overflow-y: auto;
}

.v2-theme .v2-container--scrollbar-hidden-true .v2-container__content {
  /* Hide scrollbar visuals but keep scrolling enabled. */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/old Edge */
}

.v2-theme .v2-container--scrollbar-hidden-true .v2-container__content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.v2-theme .v2-container--scrollbar-hidden-true .v2-container__content::-webkit-scrollbar-thumb {
  background: transparent;
}

