.main-content .container {
    padding-bottom: 15px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

#editorSection {
    margin-top: 20px;
}

/* Textarea with JS-calculated height */
.text-editor {
width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    resize: none;
    background: white;
    color: #333;
    box-sizing: border-box;
    overflow-y: auto;
}

.text-editor:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.3);
}

.actions {
    text-align: center;
    margin-top: 20px;
}

.diagnostic-message {
    color: #e65100;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
    background: white;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ffcc80;
}

.diagnostic-section.error-type .diagnostic-message {
    color: #c62828;
    border-color: #ef9a9a;
}

@media (max-width: 768px) {
    .site-footer {
        opacity: 0;
        transition: opacity 0.2s ease;
    }
}

