/* Classification Cleaner Tool Styles */

/* Force width containment on all parent containers */
#configuration-input {
    min-width: 0;
    overflow: hidden;
}

#configuration-container {
    min-width: 0;
    overflow: hidden;
}

/* Table wrapper - creates isolated sizing context */
.preview-table-wrapper {
    min-width: 0;
    overflow: hidden;
}

/* Table container with scroll - this is the scrollable area */
.preview-table-container {
    display: grid;
    max-height: 400px;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* Table sizing - DO NOT set width:100%, let table size to content */
.preview-table-container table {
    width: auto;
    min-width: 100%;
    table-layout: auto;
}

/* Cells: nowrap forces horizontal expansion */
.preview-table-container th,
.preview-table-container td {
    white-space: nowrap;
    padding: 8px 12px;
}

/* Ensure form doesn't expand */
#form {
    min-width: 0;
    overflow: hidden;
}

/* Prompt textarea - resizable */
.prompt-textarea {
    resize: both;
    min-height: 150px;
    width: 100%;
    max-width: 100%;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    padding: 12px;
}
