/* LikeC4 Component Styles for Hugo/Docsy */ likec4-view { display: block; width: 100%; height: 100%; border: none; } .likec4-container { width: 100%; height: 600px; border: 1px solid #ddd; border-radius: 4px; background: #f9f9f9; position: relative; overflow: hidden; margin: 2rem 0; } .likec4-loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #666; font-size: 14px; font-family: system-ui, sans-serif; } .likec4-loading::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid #dee2e6; border-top: 2px solid #007bff; border-radius: 50%; animation: likec4-spin 1s linear infinite; } @keyframes likec4-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .likec4-header { background: #f8f9fa; border-bottom: 1px solid #e9ecef; padding: 8px 16px; font-size: 12px; color: #495057; border-radius: 4px 4px 0 0; } /* Dark mode support for Docsy */ body[data-dark-mode] .likec4-container { background: #1e1e1e; border-color: #444; } body[data-dark-mode] .likec4-header { background: #2d2d2d; border-bottom-color: #444; color: #ccc; } body[data-dark-mode] .likec4-loading { color: #ccc; }