/* /Components/Database/CosmosContainerViewer.razor.rz.scp.css */
/* ============================================================================ */
/* COSMOS CONTAINER VIEWER - PROFESSIONAL DARK THEME (Chat-Aligned) */
/* No Animations/Transitions - Optimized Whitespace - Professional Layout */
/* ============================================================================ */

/* Schema Viewer Modal Overlay */
.schema-viewer-overlay[b-msjnt6viru] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

/* Schema Viewer Modal Container - Full Screen */
.schema-viewer-modal[b-msjnt6viru] {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: var(--bg-primary, #1e1e1e);
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Schema Viewer Header */
.schema-viewer-header[b-msjnt6viru] {
  background: var(--bg-card-header, #323232);
  border-bottom: 2px solid var(--brand-info, #17a2b8);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md, 0 2px 8px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 10;
}

.header-info[b-msjnt6viru] {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-title[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-title i[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 1.3rem;
}

.header-meta[b-msjnt6viru] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.overview-stats-header[b-msjnt6viru] {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.stat-item-header[b-msjnt6viru] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary, #b0b0b0);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 0.2rem;
  background: var(--bg-accent, #383838);
  border: 1px solid transparent;
}

.stat-item-header:hover[b-msjnt6viru] {
  color: var(--text-bright, #ffffff);
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-color: var(--brand-info, #17a2b8);
}

.stat-item-header i[b-msjnt6viru] {
  font-size: 0.85rem;
}

.stat-value[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-weight: 700;
  font-size: 0.9rem;
}

.badge[b-msjnt6viru] {
  padding: 0.3rem 0.6rem;
  border-radius: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.meta-info[b-msjnt6viru] {
  color: var(--text-muted, #808080);
  font-size: 0.7rem;
  font-style: italic;
  padding: 0.25rem 0.5rem;
  background: var(--bg-input, #1e1e1e);
  border-radius: 0.2rem;
  border: 1px solid var(--border-primary, #3c3c3c);
}

.header-actions .btn[b-msjnt6viru] {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 0.3rem;
  border: 1px solid var(--brand-danger, #dc3545);
  background: var(--brand-danger-bg, rgba(220, 53, 69, 0.15));
}

.header-actions .btn:hover[b-msjnt6viru] {
  border-color: var(--brand-danger-hover, #c82333);
}

/* Schema Viewer Content */
.schema-viewer-content[b-msjnt6viru] {
  flex: 1;
  overflow: hidden;
  background: var(--bg-primary, #1e1e1e);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Loading and Error States */
.loading-container[b-msjnt6viru],
.error-container[b-msjnt6viru] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  gap: 0.75rem;
  padding: 1.5rem;
  position: absolute;
  top: 0;
  left: 0;
}

/* Main Layout Container */
.schema-main-layout[b-msjnt6viru] {
  display: grid;
  grid-template-columns: 18% 82%;
  gap: 0;
  height: 100%;
  overflow: hidden;
  background: transparent;
}

/* Left Navigation Panel */
.schema-left-panel[b-msjnt6viru] {
  background: var(--bg-card, #262626);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 88vh;
}

.panel-section[b-msjnt6viru] {
  padding: 0.75rem;
}

.tree-navigation-section[b-msjnt6viru] {
  flex: 1;
}

.panel-section-title[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.6rem;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-left: 3px solid var(--brand-info, #17a2b8);
  border-radius: 0 0.2rem 0.2rem 0;
}

.panel-section-title i[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 0.9rem;
}

/* Container Details Area - Scrollable content */
.container-details-container[b-msjnt6viru] {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem;
}

/* Details Header */
.schema-details-main[b-msjnt6viru] {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.details-header[b-msjnt6viru] {
  padding: 0.75rem 1.25rem;
  background: var(--bg-card-header, #323232);
  border-bottom: 1px solid var(--border-primary, #3c3c3c);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 5;
}

.details-title[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.details-title i[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 1.15rem;
}

.container-filter[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  padding: 0.3rem 0.6rem;
  border-radius: 0.2rem;
  border: 1px solid var(--brand-info, #17a2b8);
}

.details-info .info-badge[b-msjnt6viru] {
  background: var(--bg-accent, #383838);
  color: var(--text-secondary, #b0b0b0);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border-primary, #3c3c3c);
}

/* Container-specific tree nodes */
.container-tree[b-msjnt6viru] {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.container-node .node-header[b-msjnt6viru] {
  padding: 0.4rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  border-radius: 0.2rem;
  position: relative;
  margin: 0.15rem 0.2rem;
}

.container-node .node-header:hover[b-msjnt6viru] {
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
}

.container-node.selected .node-header[b-msjnt6viru] {
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border: 1px solid var(--brand-info, #17a2b8);
}

.container-node.selected .node-header .node-label[b-msjnt6viru] {
  color: var(--text-bright, #ffffff);
  font-weight: 700;
}

.node-icon[b-msjnt6viru] {
  font-size: 0.85rem;
  flex-shrink: 0;
  min-width: 20px;
  text-align: center;
  color: var(--brand-info, #17a2b8);
}

.node-label[b-msjnt6viru] {
  color: var(--text-primary, #e0e0e0);
  font-size: 0.8rem;
  flex: 1;
  font-weight: 500;
}

.node-count[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  padding: 0.1rem 0.3rem;
  border-radius: 0.2rem;
  border: 1px solid var(--brand-info, #17a2b8);
}

.node-children[b-msjnt6viru] {
  margin-left: 1.2rem;
  padding-left: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.2rem;
  padding-top: 0.2rem;
}

.container-info-node[b-msjnt6viru] {
  padding: 0.1rem 0;
}

.container-info-node .node-header[b-msjnt6viru] {
  padding: 0.3rem 0.5rem;
  cursor: default;
  background: var(--bg-input, #1e1e1e);
  border-radius: 0.2rem;
}

.container-info-node .node-header:hover[b-msjnt6viru] {
  background: var(--bg-input, #1e1e1e);
}

/* Property Nodes */
.property-node .node-header[b-msjnt6viru] {
  padding: 0.3rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.property-node .node-header:hover[b-msjnt6viru] {
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
}

.property-node.selected .node-header[b-msjnt6viru] {
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-left: 3px solid var(--brand-info, #17a2b8);
}

.property-icon[b-msjnt6viru] {
  font-size: 0.85rem;
  flex-shrink: 0;
  min-width: 18px;
}

.property-type[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 0.7rem;
  font-family: "Consolas", "Monaco", monospace;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  padding: 0.05rem 0.25rem;
  border-radius: 0.15rem;
}

.nullable-indicator[b-msjnt6viru] {
  color: var(--brand-warning, #ffc107);
  font-weight: 700;
  font-size: 0.7rem;
  background: var(--brand-warning-bg, rgba(255, 193, 7, 0.15));
  padding: 0.05rem 0.25rem;
  border-radius: 0.15rem;
}

.nested-properties-indicator[b-msjnt6viru] {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--brand-info, #17a2b8);
  font-size: 0.7rem;
  margin-left: 1.5rem;
  padding: 0.25rem 0.5rem;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-radius: 0.2rem;
  border: 1px solid var(--brand-info, #17a2b8);
  margin-top: 0.15rem;
}

/* Container Properties View */
.container-properties-view[b-msjnt6viru] {
  padding: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.container-header-card[b-msjnt6viru] {
  padding: 1rem;
  margin-bottom: 1rem;
}

.container-header-card:hover[b-msjnt6viru] {
  border-color: var(--brand-info, #17a2b8);
}

.container-title-section[b-msjnt6viru] {
  display: flex;
  justify-content: space-between;
}

.container-title-section h6[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.container-title-section h6 i[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 1.3rem;
}

.container-explanation[b-msjnt6viru] {
  color: var(--text-secondary, #b0b0b0);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  padding: 0.6rem;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-left: 3px solid var(--brand-info, #17a2b8);
  border-radius: 0.2rem;
}

.container-explanation strong[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-weight: 700;
}

.container-metadata[b-msjnt6viru] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.metadata-item[b-msjnt6viru] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-accent, #383838);
  padding: 0.5rem 0.75rem;
  border-radius: 0.3rem;
  border: 1px solid var(--border-primary, #3c3c3c);
}

.metadata-label[b-msjnt6viru] {
  font-weight: 600;
  color: var(--text-primary, #e0e0e0);
  font-size: 0.8rem;
}

.metadata-value[b-msjnt6viru] {
  background: var(--bg-input, #1e1e1e);
  color: var(--brand-info, #17a2b8);
  padding: 0.25rem 0.5rem;
  border-radius: 0.2rem;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--brand-info, #17a2b8);
}

/* Properties Grid */
.properties-grid-section[b-msjnt6viru] {
  margin-top: 1rem;
}

.properties-grid-section .section-title[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-left: 3px solid var(--brand-info, #17a2b8);
  border-radius: 0.2rem;
}

.properties-grid-section .section-title i[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 1rem;
}

.properties-grid[b-msjnt6viru] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.property-card[b-msjnt6viru] {
  background: var(--bg-card, #262626);
  border: 1px solid var(--border-primary, #3c3c3c);
  border-radius: 0.4rem;
  padding: 0.75rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.property-card.selected[b-msjnt6viru] {
  border-color: var(--brand-info, #17a2b8);
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
}

.property-card-header[b-msjnt6viru] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.property-name[b-msjnt6viru] {
  font-weight: 700;
  color: var(--text-header, #f0f0f0);
  font-size: 0.9rem;
}

.property-type-badge[b-msjnt6viru] {
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.2rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nullable-badge[b-msjnt6viru] {
  background: var(--brand-warning, #ffc107);
  color: var(--bg-primary, #1e1e1e);
  padding: 0.25rem 0.5rem;
  border-radius: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.property-nested-info[b-msjnt6viru] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.75rem;
  padding: 0.4rem 0.6rem;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-radius: 0.2rem;
  border: 1px solid var(--border-primary, #3c3c3c);
}

.property-nested-info:hover[b-msjnt6viru] {
  background: var(--bg-accent, #383838);
  border-color: var(--brand-info, #17a2b8);
}

.property-nested-info i[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 0.85rem;
}

.property-purpose[b-msjnt6viru] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.75rem;
  line-height: 1.4;
  font-style: italic;
}

/* Detailed Property View */
.detailed-property-view[b-msjnt6viru] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.property-overview-card[b-msjnt6viru] {
  background: var(--bg-card, #262626);
  border: 1px solid var(--border-primary, #3c3c3c);
  border-radius: 0.4rem;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.property-overview-card:hover[b-msjnt6viru] {
  border-color: var(--brand-info, #17a2b8);
}

.property-title-section[b-msjnt6viru] {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-primary, #3c3c3c);
}

.property-title[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-title .property-icon[b-msjnt6viru] {
  font-size: 1.3rem;
  color: var(--brand-info, #17a2b8);
}

.property-explanation[b-msjnt6viru] {
  color: var(--text-secondary, #b0b0b0);
  line-height: 1.5;
  font-size: 0.85rem;
  padding: 0.6rem;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-left: 3px solid var(--brand-info, #17a2b8);
  border-radius: 0.2rem;
}

.property-explanation strong[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-weight: 700;
}

/* Detailed Property Section */
.detailed-property-section[b-msjnt6viru] {
  margin-bottom: 1rem;
}

.property-details-grid[b-msjnt6viru] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.detail-item[b-msjnt6viru] {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem;
  background: var(--bg-card, #262626);
  border: 1px solid var(--border-primary, #3c3c3c);
  border-radius: 0.3rem;
  position: relative;
  overflow: hidden;
}

.detail-item:hover[b-msjnt6viru] {
  border-color: var(--brand-info, #17a2b8);
}

.detail-label[b-msjnt6viru] {
  color: var(--text-muted, #808080);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.detail-value[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Nested Properties Section */
.nested-properties-section[b-msjnt6viru] {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-card, #262626);
  border: 1px solid var(--border-primary, #3c3c3c);
  border-radius: 0.4rem;
}

.nested-title[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--brand-info, #17a2b8);
}

.nested-title i[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
}

.nested-properties-list[b-msjnt6viru] {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nested-property-item[b-msjnt6viru] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem;
  background: var(--bg-input, #1e1e1e);
  border-radius: 0.2rem;
  border: 1px solid var(--border-primary, #3c3c3c);
}

.nested-property-item:hover[b-msjnt6viru] {
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-color: var(--brand-info, #17a2b8);
}

.nested-name[b-msjnt6viru] {
  color: var(--text-primary, #e0e0e0);
  font-weight: 500;
  flex: 1;
}

.nested-type[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 0.7rem;
  font-family: "Consolas", "Monaco", monospace;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  padding: 0.15rem 0.3rem;
  border-radius: 0.15rem;
}

/* Container Overview */
.container-overview-main[b-msjnt6viru] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.overview-welcome[b-msjnt6viru] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.welcome-header[b-msjnt6viru] {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 0.4rem;
}

.welcome-icon[b-msjnt6viru] {
  font-size: 2.5rem;
  color: var(--brand-info, #17a2b8);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.welcome-header h6[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.welcome-subtitle[b-msjnt6viru] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.database-summary[b-msjnt6viru],
.containers-overview[b-msjnt6viru],
.navigation-help[b-msjnt6viru] {
  border-radius: 0.4rem;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.database-summary:hover[b-msjnt6viru],
.containers-overview:hover[b-msjnt6viru],
.navigation-help:hover[b-msjnt6viru] {
  border-color: var(--brand-info, #17a2b8);
}

.database-summary h7[b-msjnt6viru],
.containers-overview h7[b-msjnt6viru],
.navigation-help h7[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--brand-info, #17a2b8);
  position: relative;
}

.database-explanation[b-msjnt6viru] {
  color: var(--text-secondary, #b0b0b0);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.database-explanation strong[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-weight: 700;
}

.container-overview-card[b-msjnt6viru] {
  background: var(--bg-card, #262626);
  border: 1px solid var(--border-primary, #3c3c3c);
  border-radius: 0.4rem;
  padding: 0.75rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.container-overview-card:hover[b-msjnt6viru] {
  border-color: var(--brand-info, #17a2b8);
  background: var(--bg-accent, #383838);
}

.container-overview-card:focus[b-msjnt6viru] {
  outline: 2px solid var(--brand-info, #17a2b8);
  outline-offset: 2px;
}

.container-info h8[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.container-name[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.container-info h8 i[b-msjnt6viru],
.container-name i[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 1.1rem;
}

.container-description[b-msjnt6viru] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.partition-key-info[b-msjnt6viru] {
  color: var(--text-muted, #808080);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  padding: 0.3rem 0.5rem;
}

.partition-key-info code[b-msjnt6viru] {
  background: var(--bg-input, #1e1e1e);
  color: var(--brand-warning, #ffc107);
  padding: 0.15rem 0.3rem;
  border-radius: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--brand-warning, #ffc107);
}

.container-properties-preview[b-msjnt6viru] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.property-preview-item[b-msjnt6viru] {
  background: var(--bg-accent, #383838);
  color: var(--text-primary, #e0e0e0);
  padding: 0.3rem 0.6rem;
  border-radius: 0.2rem;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border-primary, #3c3c3c);
  position: relative;
  overflow: hidden;
}

.property-preview-item:hover[b-msjnt6viru] {
  background: var(--brand-info, #17a2b8);
  color: var(--text-bright, #ffffff);
  border-color: var(--brand-info, #17a2b8);
}

.property-preview-item .property-icon[b-msjnt6viru] {
  font-size: 0.75rem;
}

/* Navigation Help Section */
.navigation-help[b-msjnt6viru] {
  background: var(--bg-card, #262626);
  border: 1px solid var(--border-primary, #3c3c3c);
  border-radius: 0.4rem;
  padding: 1rem;
}

.navigation-help:hover[b-msjnt6viru] {
  border-color: var(--brand-info, #17a2b8);
}

.navigation-help h7[b-msjnt6viru] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--brand-info, #17a2b8);
}

.navigation-help h7[b-msjnt6viru]::before {
  content: "□";
  color: var(--brand-info, #17a2b8);
  font-size: 1.3rem;
}

.help-items[b-msjnt6viru] {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.help-item[b-msjnt6viru] {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.8rem;
  padding: 0.6rem 0.75rem;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-radius: 0.2rem;
  border-left: 3px solid var(--brand-info, #17a2b8);
  position: relative;
  overflow: hidden;
}

.help-item:hover[b-msjnt6viru] {
  background: var(--bg-accent, #383838);
}

.help-item i[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
  font-size: 1.1rem;
  width: 28px;
  text-align: center;
}

/* Breadcrumb Navigation */
.breadcrumb-nav[b-msjnt6viru] {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.breadcrumb-item[b-msjnt6viru] {
  color: var(--text-primary, #e0e0e0);
}

.breadcrumb-item.clickable[b-msjnt6viru] {
  cursor: pointer;
  text-decoration: underline;
  opacity: 0.8;
}

.breadcrumb-item.clickable:hover[b-msjnt6viru] {
  opacity: 1;
  color: var(--brand-info, #17a2b8);
}

.breadcrumb-item.active[b-msjnt6viru] {
  color: var(--brand-info, #17a2b8);
}

.breadcrumb-separator[b-msjnt6viru] {
  color: var(--text-muted, #808080);
  font-size: 0.8rem;
  margin: 0 0.15rem;
}

/* Professional Scrollbar Styling */
.schema-left-panel[b-msjnt6viru]::-webkit-scrollbar,
.schema-details-main[b-msjnt6viru]::-webkit-scrollbar,
.container-details-container[b-msjnt6viru]::-webkit-scrollbar,
.properties-grid[b-msjnt6viru]::-webkit-scrollbar,
.detailed-property-view[b-msjnt6viru]::-webkit-scrollbar,
.nested-properties-section[b-msjnt6viru]::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.schema-left-panel[b-msjnt6viru]::-webkit-scrollbar-track,
.schema-details-main[b-msjnt6viru]::-webkit-scrollbar-track,
.container-details-container[b-msjnt6viru]::-webkit-scrollbar-track,
.properties-grid[b-msjnt6viru]::-webkit-scrollbar-track,
.detailed-property-view[b-msjnt6viru]::-webkit-scrollbar-track,
.nested-properties-section[b-msjnt6viru]::-webkit-scrollbar-track {
  background: var(--bg-input, #1e1e1e);
  border-radius: 6px;
}

.schema-left-panel[b-msjnt6viru]::-webkit-scrollbar-thumb,
.schema-details-main[b-msjnt6viru]::-webkit-scrollbar-thumb,
.container-details-container[b-msjnt6viru]::-webkit-scrollbar-thumb,
.properties-grid[b-msjnt6viru]::-webkit-scrollbar-thumb,
.detailed-property-view[b-msjnt6viru]::-webkit-scrollbar-thumb,
.nested-properties-section[b-msjnt6viru]::-webkit-scrollbar-thumb {
  background: var(--bg-accent, #383838);
  border-radius: 6px;
  border: 1px solid var(--bg-input, #1e1e1e);
}

.schema-left-panel[b-msjnt6viru]::-webkit-scrollbar-thumb:hover,
.schema-details-main[b-msjnt6viru]::-webkit-scrollbar-thumb:hover,
.container-details-container[b-msjnt6viru]::-webkit-scrollbar-thumb:hover,
.properties-grid[b-msjnt6viru]::-webkit-scrollbar-thumb:hover,
.detailed-property-view[b-msjnt6viru]::-webkit-scrollbar-thumb:hover,
.nested-properties-section[b-msjnt6viru]::-webkit-scrollbar-thumb:hover {
  background: var(--brand-info, #17a2b8);
}

/* Loading States */
.loading-container .spinner-border[b-msjnt6viru] {
  border-color: var(--brand-info, #17a2b8) transparent
    var(--brand-info, #17a2b8) transparent;
}

/* Accessibility Improvements */
.node-header:focus[b-msjnt6viru],
.property-card:focus[b-msjnt6viru],
.container-overview-card:focus[b-msjnt6viru] {
  outline: 2px solid var(--brand-info, #17a2b8);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .schema-viewer-overlay[b-msjnt6viru] {
    background: white;
  }

  .schema-viewer-modal[b-msjnt6viru] {
    box-shadow: none;
    border: 1px solid #000;
  }

  .schema-left-panel[b-msjnt6viru] {
    border-right: 1px solid #000;
  }

  .header-actions[b-msjnt6viru] {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .properties-grid[b-msjnt6viru] {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .property-details-grid[b-msjnt6viru] {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .stat-item-header[b-msjnt6viru] {
    font-size: 0.75rem;
  }
}

@media (max-width: 992px) {
  .modal-title[b-msjnt6viru] {
    font-size: 1rem;
  }

  .overview-stats-header[b-msjnt6viru] {
    gap: 0.6rem;
  }
}

@media (max-width: 768px) {
  .properties-grid[b-msjnt6viru] {
    grid-template-columns: 1fr;
  }

  .container-properties-view[b-msjnt6viru] {
    padding: 0.75rem;
  }

  .container-details-container[b-msjnt6viru] {
    padding: 0.75rem;
  }

  .breadcrumb-nav[b-msjnt6viru] {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }

  .property-details-grid[b-msjnt6viru] {
    grid-template-columns: 1fr;
  }

  .metadata-item[b-msjnt6viru] {
    flex-direction: column;
    align-items: flex-start;
  }

  .overview-stats-header[b-msjnt6viru] {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .header-meta[b-msjnt6viru] {
    flex-wrap: wrap;
  }

  .modal-title[b-msjnt6viru] {
    font-size: 0.95rem;
  }

  .container-header-card[b-msjnt6viru],
  .property-overview-card[b-msjnt6viru],
  .container-overview-card[b-msjnt6viru] {
    padding: 0.75rem;
  }

  .property-card[b-msjnt6viru],
  .detailed-property-section[b-msjnt6viru] {
    padding: 0.6rem;
  }
}
/* /Components/Database/DatabaseSchemaViewer.razor.rz.scp.css */
/* ============================================================================ */
/* DATABASE SCHEMA VIEWER - PROFESSIONAL DARK THEME (Chat-Aligned) */
/* No Animations/Transitions - Optimized Whitespace - 3-Column Grid Layout */
/* ============================================================================ */

/* Schema Viewer Modal Overlay */
.schema-viewer-overlay[b-yjltgtl00l] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

/* Schema Viewer Modal Container - Full Screen */
.schema-viewer-modal[b-yjltgtl00l] {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: var(--bg-primary, #1e1e1e);
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Schema Viewer Header */
.schema-viewer-header[b-yjltgtl00l] {
  background: var(--bg-card-header, #323232);
  border-bottom: 2px solid var(--brand-primary, #007acc);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md, 0 2px 8px rgba(0, 0, 0, 0.5));
}

.header-info[b-yjltgtl00l] {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-title[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-title i[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  font-size: 1.3rem;
}

.header-meta[b-yjltgtl00l] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.overview-stats-header[b-yjltgtl00l] {
  display: flex;
  gap: 0.75rem;
}

.stat-item-header[b-yjltgtl00l] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary, #b0b0b0);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 0.2rem;
  background: var(--bg-accent, #383838);
}

.stat-item-header:hover[b-yjltgtl00l] {
  color: var(--text-bright, #ffffff);
  background: var(--brand-primary-bg, rgba(0, 122, 204, 0.15));
}

.stat-item-header i[b-yjltgtl00l] {
  font-size: 0.85rem;
}

.stat-value[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  font-weight: 700;
  font-size: 0.9rem;
}

.meta-info[b-yjltgtl00l] {
  color: var(--text-muted, #808080);
  font-size: 0.7rem;
  font-style: italic;
}

.header-actions[b-yjltgtl00l] {
  display: flex;
  gap: 0.4rem;
}

.header-actions .btn[b-yjltgtl00l] {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 0.3rem;
}

/* Schema Viewer Content */
.schema-viewer-content[b-yjltgtl00l] {
  flex: 1;
  overflow: hidden;
  background: var(--bg-primary, #1e1e1e);
  display: flex;
  flex-direction: column;
}

/* Loading and Error States */
.loading-container[b-yjltgtl00l],
.error-container[b-yjltgtl00l] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  gap: 0.75rem;
  padding: 1.5rem;
  position: absolute;
  top: 0;
  left: 0;
}

.loading-text[b-yjltgtl00l] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.95rem;
  font-weight: 500;
}

.loading-container .spinner-border[b-yjltgtl00l] {
  width: 2.5rem;
  height: 2.5rem;
  border-width: 0.25rem;
}

/* Main Layout Container - 18% left panel, 82% content */
.schema-main-layout[b-yjltgtl00l] {
  display: grid;
  grid-template-columns: 18% 82%;
  gap: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg-primary, #1e1e1e);
}

/* Left Navigation Panel */
.schema-left-panel[b-yjltgtl00l] {
  background: var(--bg-card, #262626);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 88vh;
}

.panel-section[b-yjltgtl00l] {
  padding: 0.75rem;
}

.panel-section-title[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--brand-primary, #007acc);
}

.panel-section-title i[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
}

/* Schema Tree Navigation */
.schema-tree[b-yjltgtl00l] {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tree-node[b-yjltgtl00l] {
  background: transparent;
  border-radius: 0.2rem;
}

.node-header[b-yjltgtl00l] {
  padding: 0.4rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  border-radius: 0.2rem;
  position: relative;
}

.node-header:hover[b-yjltgtl00l] {
  background: var(--bg-accent, #383838);
}

.node-icon[b-yjltgtl00l] {
  font-size: 0.85rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  color: var(--brand-primary, #007acc);
}

.node-label[b-yjltgtl00l] {
  color: var(--text-primary, #e0e0e0);
  font-size: 0.8rem;
  flex: 1;
  font-weight: 500;
}

.node-count[b-yjltgtl00l] {
  color: var(--text-muted, #808080);
  font-size: 0.7rem;
  background: var(--bg-input, #1e1e1e);
  padding: 0.1rem 0.3rem;
  border-radius: 0.2rem;
}

.tree-node.selected .node-header[b-yjltgtl00l] {
  background: var(--brand-primary-bg, rgba(0, 122, 204, 0.15));
  border-left: 3px solid var(--brand-primary, #007acc);
  padding-left: 0.5rem;
}

.tree-node.selected .node-header .node-label[b-yjltgtl00l] {
  color: var(--text-bright, #ffffff);
  font-weight: 600;
}

.node-children[b-yjltgtl00l] {
  margin-left: 1.2rem;
  padding-left: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.2rem;
  padding-top: 0.2rem;
}

.table-node .node-header[b-yjltgtl00l] {
  padding: 0.3rem 0.4rem;
}

.foreign-key-node .node-header[b-yjltgtl00l] {
  padding: 0.2rem 0.3rem;
}

.fk-info[b-yjltgtl00l] {
  color: var(--brand-warning, #ffc107);
  font-size: 0.65rem;
  font-style: italic;
}

/* Main Schema Details Area */
.schema-details-main[b-yjltgtl00l] {
  background: var(--bg-primary, #1e1e1e);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.details-header[b-yjltgtl00l] {
  background: var(--bg-card-header, #323232);
  border-bottom: 1px solid var(--border-primary, #3c3c3c);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.details-title[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.details-title i[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  font-size: 1.15rem;
}

.schema-filter[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  font-size: 0.85rem;
  font-weight: 500;
}

.details-info[b-yjltgtl00l] {
  display: flex;
  gap: 0.6rem;
}

.info-badge[b-yjltgtl00l] {
  background: var(--bg-accent, #383838);
  color: var(--text-secondary, #b0b0b0);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border-primary, #3c3c3c);
}

.schema-details-container[b-yjltgtl00l] {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem;
  max-height: 90vh;
}

/* Detailed Table View */
.detailed-table-view[b-yjltgtl00l] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Detailed Columns Section */
.detailed-columns-section[b-yjltgtl00l] {
  margin-bottom: 1rem;
}

.section-title[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem;
  background: var(--brand-primary-bg, rgba(0, 122, 204, 0.15));
  border-left: 3px solid var(--brand-primary, #007acc);
  border-radius: 0.2rem;
}

/* 3-Column Grid Layout for Column Details */
.columns-grid[b-yjltgtl00l] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.detailed-column-card[b-yjltgtl00l] {
  background: var(--bg-card, #262626);
  border: 1px solid var(--border-primary, #3c3c3c);
  border-radius: 0.4rem;
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
}

.detailed-column-card.primary-key[b-yjltgtl00l] {
  border-left: 3px solid var(--brand-warning, #ffc107);
}

.column-main-info[b-yjltgtl00l] {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.column-name-section[b-yjltgtl00l] {
  flex: 1;
}

.column-name[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.primary-key-icon[b-yjltgtl00l] {
  color: var(--brand-warning, #ffc107);
  font-size: 1.1rem;
}

.required-icon[b-yjltgtl00l] {
  color: var(--brand-danger, #dc3545);
  font-size: 0.9rem;
}

.optional-icon[b-yjltgtl00l] {
  color: var(--text-muted, #808080);
  font-size: 0.75rem;
}

.column-type-info[b-yjltgtl00l] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.75rem;
  margin-top: 0.1rem;
}

.data-type[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  font-family: "Consolas", "Monaco", monospace;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.1rem 0.4rem;
  background: var(--brand-primary-bg, rgba(0, 122, 204, 0.15));
  border-radius: 0.2rem;
  border: 1px solid var(--brand-primary, #007acc);
}

.detailed-type[b-yjltgtl00l] {
  color: var(--text-muted, #808080);
  font-style: italic;
  font-size: 0.7rem;
}

.column-attributes[b-yjltgtl00l] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.attribute-badge[b-yjltgtl00l] {
  padding: 0.2rem 0.4rem;
  border-radius: 0.2rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.primary-key-badge[b-yjltgtl00l] {
  background: var(--brand-warning-bg, rgba(255, 193, 7, 0.15));
  color: var(--brand-warning, #ffc107);
  border: 1px solid var(--brand-warning, #ffc107);
}

.required-badge[b-yjltgtl00l] {
  background: var(--brand-danger-bg, rgba(220, 53, 69, 0.15));
  color: var(--brand-danger, #dc3545);
  border: 1px solid var(--brand-danger, #dc3545);
}

.identity-badge[b-yjltgtl00l] {
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  color: var(--brand-info, #17a2b8);
  border: 1px solid var(--brand-info, #17a2b8);
}

.computed-badge[b-yjltgtl00l] {
  background: var(--brand-success-bg, rgba(40, 167, 69, 0.15));
  color: var(--brand-success, #28a745);
  border: 1px solid var(--brand-success, #28a745);
}

.default-badge[b-yjltgtl00l] {
  background: var(--brand-primary-bg, rgba(0, 122, 204, 0.15));
  color: var(--brand-primary, #007acc);
  border: 1px solid var(--brand-primary, #007acc);
}

.column-explanation[b-yjltgtl00l] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.75rem;
  line-height: 1.4;
  font-style: italic;
}

/* Table Relationships Section */
.table-relationships-section[b-yjltgtl00l] {
  margin-bottom: 1rem;
}

.relationships-explanation[b-yjltgtl00l] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  padding: 0.6rem;
  background: var(--brand-success-bg, rgba(40, 167, 69, 0.15));
  border-left: 3px solid var(--brand-success, #28a745);
  border-radius: 0.2rem;
}

.relationship-card[b-yjltgtl00l] {
  background: var(--bg-card, #262626);
  border: 1px solid var(--border-primary, #3c3c3c);
  border-radius: 0.4rem;
  padding: 0.75rem;
  margin-bottom: 0.6rem;
}

.relationship-info[b-yjltgtl00l] {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.relationship-type[b-yjltgtl00l] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-primary, #007acc);
  font-weight: 600;
}

.relationship-label[b-yjltgtl00l] {
  font-size: 0.75rem;
}

.relationship-details[b-yjltgtl00l] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.from-table[b-yjltgtl00l] {
  color: var(--text-primary, #e0e0e0);
  font-weight: 500;
}

.relationship-arrow[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  font-weight: 700;
}

.to-table[b-yjltgtl00l] {
  color: var(--text-primary, #e0e0e0);
  font-weight: 500;
}

.relationship-explanation[b-yjltgtl00l] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.75rem;
  line-height: 1.4;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border-secondary, #2d2d30);
  margin-top: 0.4rem;
}

/* Schema Overview */
.schema-overview-main[b-yjltgtl00l] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.overview-welcome[b-yjltgtl00l] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.welcome-header[b-yjltgtl00l] {
  text-align: center;
  padding: 1.5rem 1rem;
}

.welcome-icon[b-yjltgtl00l] {
  font-size: 2.5rem;
  color: var(--brand-primary, #007acc);
  margin-bottom: 0.75rem;
}

.welcome-header h6[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.welcome-subtitle[b-yjltgtl00l] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 550px;
  margin: 0 auto;
}

.database-summary[b-yjltgtl00l],
.schemas-overview[b-yjltgtl00l],
.navigation-help[b-yjltgtl00l] {
  border-radius: 0.4rem;
  padding: 1rem;
}

.database-summary:hover[b-yjltgtl00l],
.schemas-overview:hover[b-yjltgtl00l],
.navigation-help:hover[b-yjltgtl00l] {
  border-color: var(--brand-primary, #007acc);
}

.database-summary h7[b-yjltgtl00l],
.schemas-overview h7[b-yjltgtl00l],
.navigation-help h7[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--brand-primary, #007acc);
}

.database-explanation[b-yjltgtl00l] {
  color: var(--text-secondary, #b0b0b0);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.database-explanation strong[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  font-weight: 700;
}

.schema-overview-card[b-yjltgtl00l] {
  background: var(--bg-card, #262626);
  border: 1px solid var(--border-primary, #3c3c3c);
  border-radius: 0.4rem;
  padding: 0.75rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.schema-overview-card:hover[b-yjltgtl00l] {
  border-color: var(--brand-primary, #007acc);
  background: var(--bg-accent, #383838);
}

.schema-info h8[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.schema-info h8 i[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  font-size: 1.1rem;
}

.schema-description[b-yjltgtl00l] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.schema-tables-preview[b-yjltgtl00l] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.table-preview-item[b-yjltgtl00l] {
  background: var(--bg-accent, #383838);
  color: var(--text-primary, #e0e0e0);
  padding: 0.3rem 0.6rem;
  border-radius: 0.2rem;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border-primary, #3c3c3c);
}

.table-preview-item:hover[b-yjltgtl00l] {
  background: var(--brand-primary, #007acc);
  color: var(--text-bright, #ffffff);
  border-color: var(--brand-primary, #007acc);
}

.table-preview-item i[b-yjltgtl00l] {
  font-size: 0.75rem;
}

.more-tables-indicator[b-yjltgtl00l] {
  color: var(--text-muted, #808080);
  font-size: 0.75rem;
  font-style: italic;
  padding: 0.3rem 0.6rem;
  background: var(--bg-input, #1e1e1e);
  border-radius: 0.2rem;
}

.help-items[b-yjltgtl00l] {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.help-item[b-yjltgtl00l] {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.8rem;
  padding: 0.6rem 0.75rem;
  background: var(--brand-primary-bg, rgba(0, 122, 204, 0.15));
  border-radius: 0.2rem;
  border-left: 3px solid var(--brand-primary, #007acc);
}

.help-item:hover[b-yjltgtl00l] {
  background: var(--bg-accent, #383838);
}

.help-item i[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

/* Table Indexes Section */
.table-indexes-section[b-yjltgtl00l] {
  margin-bottom: 1rem;
}

.indexes-explanation[b-yjltgtl00l] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.75rem;
  line-height: 1.4;
  padding: 0.6rem;
  background: var(--brand-info-bg, rgba(23, 162, 184, 0.15));
  border-left: 3px solid var(--brand-info, #17a2b8);
  border-radius: 0.2rem;
}

/* Table Overview Card */
.table-overview-card[b-yjltgtl00l] {
  border-radius: 0.4rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.table-title-section[b-yjltgtl00l] {
  margin-bottom: 0.75rem;
}

.table-title[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.table-title i[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
}

.table-explanation[b-yjltgtl00l] {
  color: var(--text-secondary, #b0b0b0);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1400px) {
  .columns-grid[b-yjltgtl00l] {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1200px) {
  .schema-main-layout[b-yjltgtl00l] {
    grid-template-columns: 22% 78%;
  }

  .stat-item-header[b-yjltgtl00l] {
    font-size: 0.75rem;
  }
}

@media (max-width: 992px) {
  .schema-main-layout[b-yjltgtl00l] {
    grid-template-columns: 28% 72%;
  }

  .columns-grid[b-yjltgtl00l] {
    grid-template-columns: 1fr;
  }

  .modal-title[b-yjltgtl00l] {
    font-size: 1rem;
  }

  .overview-stats-header[b-yjltgtl00l] {
    gap: 0.6rem;
  }
}

@media (max-width: 768px) {
  .schema-main-layout[b-yjltgtl00l] {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .schema-left-panel[b-yjltgtl00l] {
    border-right: none;
    border-bottom: 1px solid var(--border-primary, #3c3c3c);
    max-height: 35vh;
  }

  .details-header[b-yjltgtl00l] {
    padding: 0.6rem 0.75rem;
  }

  .schema-details-container[b-yjltgtl00l] {
    padding: 0.75rem;
  }

  .overview-stats-header[b-yjltgtl00l] {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .header-meta[b-yjltgtl00l] {
    flex-wrap: wrap;
  }

  .modal-title[b-yjltgtl00l] {
    font-size: 0.95rem;
  }

  .table-overview-card[b-yjltgtl00l],
  .detailed-column-card[b-yjltgtl00l],
  .relationship-card[b-yjltgtl00l] {
    padding: 0.6rem;
  }
}

/* Professional Scrollbar Styling */
.schema-left-panel[b-yjltgtl00l]::-webkit-scrollbar,
.schema-details-main[b-yjltgtl00l]::-webkit-scrollbar,
.schema-details-container[b-yjltgtl00l]::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.schema-left-panel[b-yjltgtl00l]::-webkit-scrollbar-track,
.schema-details-main[b-yjltgtl00l]::-webkit-scrollbar-track,
.schema-details-container[b-yjltgtl00l]::-webkit-scrollbar-track {
  background: var(--bg-input, #1e1e1e);
  border-radius: 6px;
}

.schema-left-panel[b-yjltgtl00l]::-webkit-scrollbar-thumb,
.schema-details-main[b-yjltgtl00l]::-webkit-scrollbar-thumb,
.schema-details-container[b-yjltgtl00l]::-webkit-scrollbar-thumb {
  background: var(--bg-accent, #383838);
  border-radius: 6px;
  border: 1px solid var(--bg-input, #1e1e1e);
}

.schema-left-panel[b-yjltgtl00l]::-webkit-scrollbar-thumb:hover,
.schema-details-main[b-yjltgtl00l]::-webkit-scrollbar-thumb:hover,
.schema-details-container[b-yjltgtl00l]::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary, #007acc);
}

/* Breadcrumb Navigation Styles */
.breadcrumb-nav[b-yjltgtl00l] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  color: var(--text-header, #f0f0f0);
}

.breadcrumb-item[b-yjltgtl00l] {
  color: var(--text-secondary, #b0b0b0);
}

.breadcrumb-item.clickable[b-yjltgtl00l] {
  cursor: pointer;
  transition: color 0.2s;
}

.breadcrumb-item.clickable:hover[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  text-decoration: underline;
}

.breadcrumb-item.active[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-weight: 600;
}

.breadcrumb-separator[b-yjltgtl00l] {
  color: var(--text-tertiary, #707070);
  font-size: 0.85rem;
}

/* Accessibility Improvements */
.node-header:focus[b-yjltgtl00l],
.schema-overview-card:focus[b-yjltgtl00l] {
  outline: 2px solid var(--brand-primary, #007acc);
  outline-offset: 2px;
}

/* Schema Section Styles */
.schema-section[b-yjltgtl00l] {
  margin-bottom: 1.5rem;
}

.schema-header[b-yjltgtl00l] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-primary, #3c3c3c);
}

.schema-header .schema-name[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.schema-header .schema-name i[b-yjltgtl00l] {
  color: var(--brand-info, #17a2b8);
  font-size: 1.2rem;
}

.schema-count[b-yjltgtl00l] {
  color: var(--text-muted, #808080);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Tables Grid - Similar to Cosmos containers */
.tables-grid[b-yjltgtl00l] {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Table Overview Card - Matching Cosmos container-overview-card */
.table-overview-card[b-yjltgtl00l] {
  background: var(--bg-card, #262626);
  border: 1px solid var(--border-primary, #3c3c3c);
  border-radius: 0.4rem;
  padding: 0.75rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.table-overview-card:hover[b-yjltgtl00l] {
  background: var(--bg-accent, #383838);
}

.table-info[b-yjltgtl00l] {
  margin-bottom: 0.6rem;
}

.table-info .table-name[b-yjltgtl00l] {
  color: var(--text-header, #f0f0f0);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.table-info .table-name i[b-yjltgtl00l] {
  color: var(--brand-primary, #007acc);
  font-size: 1.1rem;
}

.table-column-count[b-yjltgtl00l] {
  color: var(--text-muted, #808080);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.3rem 0.5rem;
}

.table-column-count i[b-yjltgtl00l] {
  font-size: 0.85rem;
}

/* Table Columns Preview - Horizontal list like Cosmos properties */
.table-columns-preview[b-yjltgtl00l] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.column-preview-item[b-yjltgtl00l] {
  background: var(--bg-accent, #383838);
  color: var(--text-primary, #e0e0e0);
  padding: 0.3rem 0.6rem;
  border-radius: 0.2rem;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border-primary, #3c3c3c);
  position: relative;
  overflow: hidden;
  transition: all 0.15s ease;
}

.column-preview-item:hover[b-yjltgtl00l] {
  background: var(--brand-primary, #007acc);
  color: var(--text-bright, #ffffff);
  border-color: var(--brand-primary, #007acc);
}

.column-preview-item .column-icon[b-yjltgtl00l] {
  font-size: 0.75rem;
}

.column-preview-item i.fa-key[b-yjltgtl00l] {
  color: var(--brand-warning, #ffc107);
  font-size: 0.8rem;
}

/*.schema-navigation-list {
    position: relative;
    height: 70vh
}*/

/* Print Styles */
@media print {
  .schema-viewer-overlay[b-yjltgtl00l] {
    background: white;
  }

  .schema-viewer-modal[b-yjltgtl00l] {
    box-shadow: none;
    border: 1px solid #000;
  }

  .schema-left-panel[b-yjltgtl00l] {
    border-right: 1px solid #000;
  }

  .header-actions[b-yjltgtl00l] {
    display: none;
  }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Database RAG - Dark Theme Layout */
.page[b-8u6bqktcw4] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

main[b-8u6bqktcw4] {
    flex: 1;
    background-color: var(--bg-primary);
}

.content[b-8u6bqktcw4] {
    padding: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .content[b-8u6bqktcw4] {
        padding: 0.5rem;
    }
}
