/*
 * dgs Tabs Container - Editor Styles
 * These styles improve the editor experience for the tabs component
 */

/* Make tabs more visible in the editor */
.dgs-tabs-editor-mode .dgs-tab {
    min-height: 50px;
    padding: 10px;
}

/* Add a subtle outline to the active tab content */
.dgs-tabs-container .dgs-tab[aria-hidden="false"] {
    /* outline: 2px dashed rgba(0, 124, 186, 0.2); */
}

/* Tab navigation in editor */
.dgs-tabs-editor-mode .dgs-tabs-navigation {
    position: sticky;
    top: 0;
    z-index: 5;
}

/* Make the tab editor info more visible */
.dgs-tab-editor-info {
    padding: 8px 12px;
    margin-bottom: 12px;
    background: #f0f0f1;
    border-radius: 4px;
    font-size: 13px;
    color: #50575e;
    border-left: 3px solid #ddd;
}

/* Improve tab button appearance in editor */
.dgs-tabs-editor-mode .dgs-tab-button {
    transition: all 0.2s ease;
}

.dgs-tabs-editor-mode .dgs-tab-button:hover {
    transform: translateY(-2px);
}

/* Better tab panel visibility */
.dgs-tabs-editor-mode .dgs-tab-panel {
    transition: background-color 0.2s ease;
}

.dgs-tabs-editor-mode .dgs-tab-panel:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

/* Tabs container instruction message */
.dgs-tabs-editor-info {
    padding: 16px;
    margin-bottom: 20px;
    background: #e7f5ff;
    border-left: 4px solid #007cba;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 4px;
}

.dgs-tabs-editor-info strong {
    color: #007cba;
    display: inline-block;
    margin-bottom: 2px;
    margin-right: 4px;
    font-size: 14px;
}

/* Better indication of active tab */
.dgs-tabs-editor-mode .dgs-tab-button[aria-selected="true"]::after {
    content: "";
    display: block;
    height: 3px;
    background: currentColor;
    margin-top: 5px;
    opacity: 0.5;
}

/* Empty tab placeholder */
.dgs-tabs-editor-mode .dgs-tab-content:empty::before {
    content: "Add blocks here";
    display: block;
    padding: 20px;
    text-align: center;
    color: #888;
    background: #f9f9f9;
    /* border: 1px dashed #ddd; */
    border-radius: 4px;
}
