
/* Settings popup modal */
.editor-settings-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 0;
    z-index: 2147483647;
    width: 700px;
    max-width: 90vw;
    height: 90vh;
    max-height: 700px;
    min-height: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
}

/* Backdrop overlay */
.editor-settings-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2147483646;
    display: none;
}

/* Tab navigation buttons */
.settings-tab-btn {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}

.settings-tab-btn:hover {
    opacity: 0.8;
}

.settings-tab-btn:focus {
    outline: 2px solid #2196F3;
    outline-offset: -2px;
}

/* Tab content areas */
.settings-tab-content {
    padding-bottom: 20px;
}

/* Disabled form controls */
.settings-tab-content input:disabled,
.settings-tab-content select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.settings-tab-content label:has(input:disabled),
.settings-tab-content label:has(select:disabled) {
    opacity: 0.6;
    cursor: not-allowed;
}


/* NOTE: The old "block borders" helper has been refactored to gutter indicators.
   The visuals now live in editor.css under `.ProseMirror.editor-show-block-borders`. */
