/* Tab navigation for settings */ .cc-settings-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--background-modifier-border); margin-bottom: 16px; position: sticky; top: 0; background: var(--background-primary); z-index: 1; padding-top: 4px; } .cc-settings-tab { padding: 8px 16px; border: none; background: none; color: var(--text-muted); cursor: pointer; font-size: 14px; border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease; } .cc-settings-tab:hover { color: var(--text-normal); } .cc-settings-tab.is-active { color: var(--text-normal); border-bottom-color: var(--interactive-accent); font-weight: 600; } /* Collapsible sections */ .cc-section { margin-bottom: 8px; } .cc-section-header { display: flex; align-items: center; padding: 8px 4px; cursor: pointer; border-radius: 4px; user-select: none; } .cc-section-header:hover { background: var(--background-modifier-hover); } .cc-section-title { flex: 1; font-weight: 600; font-size: 14px; } .cc-section-chevron { font-size: 16px; transition: transform 0.2s ease; transform: rotate(90deg); } .cc-section.is-collapsed .cc-section-chevron { transform: rotate(0deg); } .cc-section-content { max-height: 2000px; overflow: hidden; transition: max-height 0.25s ease, opacity 0.2s ease; opacity: 1; padding-top: 4px; } .cc-section.is-collapsed .cc-section-content { max-height: 0; opacity: 0; padding-top: 0; } /* Generator modal */ .cc-gen-modal { width: 70vw; max-width: 900px; } .cc-gen-modal .modal-content { max-height: 80vh; overflow: hidden; display: flex; flex-direction: column; } .cc-gen-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; flex: 1; min-height: 0; } .cc-gen-zone { overflow-y: auto; max-height: 60vh; padding-right: 8px; } .cc-gen-selection { border-right: 1px solid var(--background-modifier-border); padding-right: 20px; } .cc-gen-zone h3 { margin-top: 0; } .cc-gen-footer { border-top: 1px solid var(--background-modifier-border); padding-top: 12px; margin-top: 12px; } .cc-gen-stat { font-size: 12px; color: var(--text-muted); padding: 6px 10px; background: var(--background-secondary); border-radius: 4px; margin-top: 8px; } /* Stack on narrow viewports */ @media (max-width: 768px) { .cc-gen-modal { width: 90vw; } .cc-gen-layout { grid-template-columns: 1fr; } .cc-gen-selection { border-right: none; border-bottom: 1px solid var(--background-modifier-border); padding-right: 0; padding-bottom: 16px; max-height: none; } .cc-gen-zone { max-height: none; } }