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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
    min-height: 100vh;
}

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

.page-title h1 {
    font-size: 24px;
    color: #24292e;
    font-weight: 600;
}

.app-container {
    display: flex;
    min-height: calc(100vh - 65px);
}

.settings-panel {
    width: 300px;
    background-color: #fff;
    padding: 20px;
    border-right: 1px solid #e1e4e8;
}

.settings-panel h3 {
    color: #24292e;
    margin-bottom: 20px;
    font-size: 16px;
}

.settings-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #24292e;
    font-size: 14px;
}

.setting-item.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.setting-item select {
    background-color: #fff;
    border: 1px solid #e1e4e8;
    color: #24292e;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
}

.setting-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0366d6;
}

.main-content {
    flex: 1;
    padding: 20px;
    background-color: #f5f5f5;
}

.editor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: calc(100vh - 40px);
}

.editor {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    overflow: hidden;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #f6f8fa;
    border-bottom: 1px solid #e1e4e8;
}

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

.format-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #586069;
    font-size: 14px;
}

.format-btn {
    background-color: #fff;
    border: 1px solid #e1e4e8;
    color: #586069;
}

.format-btn.active {
    background-color: #0366d6;
    border-color: #0366d6;
    color: white;
}

button {
    padding: 6px 12px;
    background-color: #fafbfc;
    color: #24292e;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

button:hover {
    background-color: #f3f4f6;
    border-color: #bbb;
}

textarea {
    flex: 1;
    width: 100%;
    padding: 15px;
    background-color: #fff;
    color: #24292e;
    border: none;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
}

textarea:focus {
    outline: none;
}

.error {
    color: #d73a49;
    padding: 8px 15px;
    font-size: 14px;
    background-color: rgba(215, 58, 73, 0.1);
    border-top: 1px solid #e1e4e8;
}

@media (max-width: 1024px) {
    .app-container {
        flex-direction: column;
    }
    
    .settings-panel {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e1e4e8;
    }
    
    .editor-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .editor {
        height: 400px;
    }
} 
.twitter-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.2s ease;
}

.twitter-link:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
} 