body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.input-section, 
.output-section {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #555;
}

textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
}

textarea:focus {
    border-color: #007bff;
    outline: none;
}

.button-group {
    text-align: center;
    margin: 20px 0;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 10px;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.status {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
}

.status.loading {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status.success {
    background-color: #d4edda;
    color: #155724;
}

.status.error {
    background-color: #f8d7da;
    color: #721c24;
}

.file-and-examples {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.file-input {
    flex: 1;
    min-width: 250px;
}

.file-input input[type="file"] {
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.examples {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.examples strong {
    margin-right: 5px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .file-and-examples {
        flex-direction: column;
        align-items: stretch;
    }
    
    .file-input,
    .examples {
        min-width: auto;
    }
}

.example-button {
    background-color: #28a745;
    font-size: 14px;
    padding: 8px 16px;
    margin: 5px;
}

.example-button:hover {
    background-color: #218838;
}

.svg-section {
    margin-bottom: 30px;
}

.svg-container {
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
    min-height: 300px;
    max-height: 600px;
    overflow: auto;
}

.svg-container svg {
    max-width: 100%;
    height: auto;
}

.convert-svg-btn {
    background-color: #17a2b8;
}

.convert-svg-btn:hover {
    background-color: #138496;
}

.output-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}