.markdown-editor-container {
    margin-top: 0px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.toolbar {
    background-color: #f8f9fa;
    padding: 8px 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toolbar-left {
    font-weight: 600;
    color: #495057;
}

.toolbar-right .btn {
    margin-left: 8px;
}

/*.editor-wrapper {
    display: flex;
    height: 600px;
}*/

.editor-section, .preview-section {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.editor-section {
    border-right: 1px solid #dee2e6;
}

.preview-section {
    padding: 20px;
    background-color: #fdfdfd;
}

#preview-container {
    height: 100%;
    overflow-y: auto;
}

.splitter {
    width: 8px;
    background-color: #f1f3f5;
    cursor: col-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

.splitter:hover {
    background-color: #e9ecef;
}

.splitter i {
    font-size: 12px;
}

@media (max-width: 992px) {
    .editor-wrapper {
        flex-direction: column;
        height: 800px;
    }

    .editor-section, .preview-section {
        height: 50%;
        width: 100%;
    }

    .editor-section {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .splitter {
        display: none;
    }
}

.code-block {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    overflow-x: auto;
    margin: 10px 0;
}

.success-alert {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    display: none;
    min-width: 300px;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}
