/**
 * Release Hub Block Styles
 */

:root {
    --cha-hub-bg: #FBFCFD;
    --cha-hub-bg-light: #f8f9fa;
    --cha-hub-text: #1a1a1a;
    --cha-hub-text-muted: #666666;
    --cha-hub-border: rgba(222, 225, 234, .6);
    --cha-hub-accent: #525df9;
}

/* Hub Container */
.cha-release-hub {
    background: var(--cha-hub-bg);
    color: var(--cha-hub-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    min-height: 400px;
}

/* Tabs Header */
.cha-hub-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--cha-hub-border);
    padding: 50px 0 0 0;
    background: var(--cha-hub-bg);
    justify-content: center;
}

.cha-hub-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    padding-bottom: 8px;
    background: transparent;
    border: none;
    color: var(--cha-hub-text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.cha-hub-tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cha-hub-tab:hover {
    color: var(--cha-hub-text);
    background-color: transparent;
}

.cha-hub-tab.active {
    color: var(--cha-hub-accent);
    font-weight: 600;
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    border:1px solid var(--cha-hub-border);
    border-bottom: 0;
}
.cha-hub-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
}


.cha-hub-tab .coming-soon {
    font-size: 10px;
    font-weight: 500;
    background: var(--cha-hub-bg-light);
    color: var(--cha-hub-text-muted);
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tab Content */
.cha-hub-content {
    padding: 0;
}

.cha-hub-panel {
    display: none;
    background-color: #fff;
}

.cha-hub-panel.active {
    display: block;
}

/* Coming Soon Panel */
.cha-coming-soon-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    text-align: center;
    background: var(--cha-hub-bg-light);
}

.cha-coming-soon-panel svg {
    width: 56px;
    height: 56px;
    color: var(--cha-hub-accent);
    margin-bottom: 24px;
    opacity: 0.6;
}

.cha-coming-soon-panel h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--cha-hub-text);
    margin: 0 0 8px 0;
}

.cha-coming-soon-panel p {
    font-size: 15px;
    color: var(--cha-hub-text-muted);
    margin: 0;
    max-width: 360px;
}

/* Editor Preview */
.cha-release-hub-editor {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
}

.cha-hub-preview {
    text-align: center;
}

.cha-hub-tabs-preview {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 24px;
}

.cha-hub-tabs-preview span {
    color: #888;
    font-size: 14px;
    padding-bottom: 14px;
}

.cha-hub-tabs-preview span.active {
    color: #525df9;
    font-weight: 600;
    border-bottom: 3px solid #525df9;
    margin-bottom: -17px;
}

.cha-hub-content-preview p {
    color: #666;
    font-size: 13px;
    margin: 0;
}

.cha-hub-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #525df9;
}

/* Responsive */
@media (max-width: 768px) {
    .cha-hub-tabs {
        padding: 0 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cha-hub-tab {
        padding: 16px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .cha-coming-soon-panel {
        padding: 60px 24px;
    }
}


#cha-roadmap-root{

}