body {
    display: flex;
    flex-direction: column;
    background-color: #1e1e1e;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #ffffff;
    height: 100vh;
    overflow: hidden;
}

.minimal-header {
    background-color: #252526;
    border-bottom: 1px solid #444444;
    padding: 10px 20px;
    flex-shrink: 0;
}

.minimal-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0;
}

.btn-outline-primary, .btn-outline-danger {
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    color: #ffffff;
}

.btn-outline-primary {
    border: 2px solid #007bff;
}

.btn-outline-danger {
    border: 2px solid #ff4d4f;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

.btn-outline-danger:hover {
    background-color: #ff4d4f;
    color: white;
}

#tabs-container {
    background-color: #252526;
    border-top: none;
    border-bottom: 1px solid #444444;
    padding: 5px;
    height: 40px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#tabs-container .btn {
    background-color: #333333;
    border: 1px solid #444444;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.75rem;
    color: #ffffff;
    transition: background-color 0.3s ease;
    margin-right: 5px;
    height: 30px;
    display: flex;
    align-items: center;
}

#tabs-container .btn:hover {
    background-color: #007bff;
    color: white;
}

.tab-active {
    background-color: #007bff;
    color: white;
    border: 2px solid #0056b3;
}

.split-container {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

#left-pane, #right-pane {
    overflow: auto;
    padding: 10px;
}

#left-pane {
    width: 50%;
    background-color: #1e1e1e;
    border-right: 1px solid #444444;
}

#right-pane {
    width: 50%;
    background-color: #2d2d2d;
    border-left: 1px solid #444444;
}

#monaco-editor {
    height: 100%;
    width: 98%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

textarea {
    width: 100%;
    height: 98%;
    border: none;
    outline: none;
    background-color: #333333;
    color: #ffffff;
    font-size: 0.9rem;
    resize: none;
    box-sizing: border-box;
}

.resizer {
    width: 5px;
    cursor: ew-resize;
    background-color: #444444;
}

body.ew-resize {
    cursor: ew-resize;
}

.tab-btn {
    background-color: #333333;
    border: 1px solid #444444;
    border-radius: 5px;
    padding: 5px 10px;
    color: #ffffff;
    transition: background-color 0.3s ease;
    margin-right: 5px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tab-btn:hover {
    background-color: #007bff;
    color: white;
}

.close-btn {
    margin-left: 10px;
    color: #ff4d4f;
    font-size: 1rem;
}

.close-btn:hover {
    color: #ff1a1d;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
        height: auto;
    }

    #left-pane, #right-pane {
        width: 100%;
        height: 50vh;
    }

    .minimal-title {
        font-size: 1.2rem;
    }

    .btn-outline-primary, .btn-outline-danger {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    #tabs-container .btn {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .split-container {
        height: 70vh;
    }

    #left-pane, #right-pane {
        width: 50%;
    }

    .minimal-title {
        font-size: 1.3rem;
    }
}
