body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
}

#app {
    padding: 20px;
}

h1 {
    text-align: center;
    color: #1a73e8;
}

.main-container {
    display: flex;
    gap: 20px;
}

.settings-pane {
    width: 250px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.settings-pane h2, .settings-pane h3 {
    color: #1a73e8;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-top: 0;
}

.setting-group {
    margin-bottom: 15px;
}

.setting-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.setting-group input[type="text"], .setting-group input[type="number"] {
    width: calc(100% - 10px);
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.editor-container {
    display: flex;
    flex: 1;
    gap: 20px;
}

.editor-pane, .preview-pane {
    flex: 1;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

textarea {
    width: 100%;
    min-height: 500px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: both;
    overflow: auto;
}

#preview-output {
    height: 500px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
}

#convert-btn {
    width: 100%;
    padding: 10px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

#convert-btn:hover {
    background-color: #155ab6;
}

#language-switcher {
    padding: 5px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
}

#language-switcher:hover {
    border-color: #80bdff;
}

#language-switcher:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.features {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.features p {
    margin: 10px 0;
    line-height: 1.6;
}

.supported-section {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.supported-section h3 {
    color: #1a73e8;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-top: 0;
}

.supported-section p {
    margin: 10px 0 0;
    line-height: 1.6;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-and-title {
    display: flex;
    align-items: center;
    width: 100%;
}

#language-switcher {
    margin-right: auto;
    margin-left: 20px;
    margin-top: 5px;
}

#app-title {
    text-align: center;
    margin: 0;
    flex: 1;
}
