* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.header h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1em;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 20px;
    gap: 20px;
}

.editors-panel {
    display: flex;
    flex: 1;
    gap: 20px;
    min-height: 400px;
}

.editor-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.editor-header span {
    font-weight: 500;
    color: #2c3e50;
}

.editor-controls {
    display: flex;
    gap: 8px;
}

.btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background-color: #e9ecef;
}

.btn svg {
    width: 20px;
    height: 20px;
    color: #6c757d;
}

.editor-wrapper {
    flex: 1;
    position: relative;
}

#editor1, #editor2 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.options-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.option {
    display: flex;
    align-items: center;
}

.option label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #2c3e50;
    user-select: none;
}

.option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Monaco Editor overrides */
.monaco-editor .margin {
    background-color: #f8f9fa !important;
}

.monaco-editor .line-numbers {
    color: #6c757d !important;
}
