#punycode-convert-container {
    margin-bottom: 15px;
}

#punycode-convert-container .section-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

#punycode-convert-container .section-row .settings-card {
    flex: 1;
    margin-bottom: 0;
}

#punycode-convert-container .section-row .preview-card {
    flex: 1;
    margin-bottom: 0;
}

.id-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.id-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.id-item:hover {
    background: #f3f4f6;
    border-color: #8b5cf6;
}

.id-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
    margin-right: 10px;
    min-width: 80px;
    text-align: left;
}

.id-text {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    color: #1f2937;
    word-break: break-all;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    #punycode-convert-container .section-row {
        flex-direction: column;
    }
}
