.converter-layout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

@media (min-width: 800px) {
    .converter-layout {
        flex-direction: row;
        align-items: stretch;
    }
    .editor-col, .settings-col {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
}

.drop-zone {
    width: 100%;
    padding: 1.5rem;
    border: 3px dashed var(--color-border);
    border-radius: var(--radius);
    text-align: center;
    background-color: var(--color-light-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--color-blue);
    background-color: rgba(0, 123, 255, 0.05);
}

[data-theme="dark"] .drop-zone {
    background-color: rgba(255, 255, 255, 0.02);
}

#svg-input {
    width: 100%;
    flex-grow: 1;
    min-height: 200px;
    padding: var(--spacing-md);
    font-size: 0.9rem;
    font-family: "Courier New", Courier, monospace;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    resize: vertical;
    background-color: #282c34;
    color: #e5c07b;
}

.preview-box {
    width: 100%;
    min-height: 250px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius) var(--radius) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
    background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%),
                      linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

[data-theme="dark"] .preview-box {
    background-image: linear-gradient(45deg, #333 25%, transparent 25%, transparent 75%, #333 75%, #333 100%),
                      linear-gradient(45deg, #333 25%, transparent 25%, transparent 75%, #333 75%, #333 100%);
}

#svg-preview {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.settings-panel {
    background-color: var(--color-light-gray);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
}

[data-theme="dark"] .settings-panel {
    background-color: rgba(255, 255, 255, 0.05);
}

.settings-panel h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 5px;
}

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

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

.setting-group small {
    color: #777;
    font-size: 0.8rem;
    display: block;
    margin-top: 3px;
}

.full-width-input {
    width: 100%;
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background-color: var(--color-white);
    color: var(--color-text);
}

[data-theme="dark"] .full-width-input {
    background-color: #2a2a2a;
}