/* Monaco Editor Styles */

/* Shared editor container base */
.monaco-editor-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #1e1e1e;
}

/* Full-height variant (floating overlay covering entire screen) */
.monaco-editor-container.full-height {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    margin: 0;
}

/* Inline variant (embedded in content) */
.monaco-editor-container.inline {
    height: 50vh;
    min-height: 300px;
    margin: 20px 0;
}

/* Editor content area */
.monaco-editor-content {
    flex: 1;
    min-height: 0;
}

/* Status bar */
.monaco-editor-status {
    height: 40px;
    background: #1e1e1e;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    font-size: 13px;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}

.monaco-editor-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    transition: background-color 0.2s;
    cursor: pointer;
}

.monaco-editor-status-dot.unsaved {
    background: #ff9800;
}

.monaco-editor-status-text {
    color: #fff;
}

.monaco-editor-path {
    color: #888;
    margin-left: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .monaco-editor-container.inline {
        height: 40vh;
    }
}
