body {
    font-family: Arial, sans-serif;
    padding: 20px;
    padding-left: 0;
    padding-right: 0;
}

.container {

    margin: 0 auto;
}

.row {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 0px;
    cursor: grab;
    transition: background 0.2s ease;
    position: relative;
    border-bottom: solid;
    border-bottom-width: 0.5px;
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom-color: lightgray;
}

.row:hover {
    background: rgb(248, 248, 248)
}

.row.dragging {
    opacity: 0.5;
}

.row-icon {
    width: 20px;
    height: 20px;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--da-text-secondary);
}

.row:hover .row-icon {
    visibility: visible;
}

.input-wrapper {
    position: relative;
    flex: 1;
    padding-right: 0;
}

.search-input {
    width: 100%;
    padding: 5px;
    font-size: 14px;
    border: 1px solid var(--da-border-strong);

}

.template-name-input {
    width: 100%;
    padding: 5px;
    font-size: 14px;
    border: 1px solid var(--da-border-strong);

}

.dropdown {
    position: absolute;
    top: 35px;
    left: 8pt;
    width: 97%;
    border: 1px solid var(--da-border-strong);
    background-color: var(--da-surface);
    z-index: 10;
    max-height: 150px;
    overflow-y: auto;
    font-size: 10pt;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dropdown-item {
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #eef6ff;
}

.remove-btn {
    color: red;
    font-size: 20px;
    cursor: pointer;
    width: 35px;
    display: flex;
    justify-content: center;
    height: 35px;
    border-radius: 0;
    align-items: center;
}

.remove-btn:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.add-column {

    margin-top: 15px;
    /* cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 16px;
    height: 40px;
    width: 130px;
    padding-left: 9px; */
    align-items: center;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    flex-direction: row;
    flex-shrink: 0;
    font-family: inherit;
    font-size: inherit;
    justify-content: center;
    line-height: inherit;
    outline: none;
    overflow: visible;
    padding: 6px 12px;
    position: relative;
    transition: background 80ms linear;
}

.add-column:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.add-column.disabled {
    color: #aaa;
    cursor: not-allowed;
}

.add-column::before {
    content: '+';
    margin-right: 5px;
}

.generate-json {
    margin-top: 20px;
    background-color: #0078d4;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}

.json-output {
    margin-top: 15px;
    background: var(--da-surface-alt);
    color: var(--da-text);
    padding: 10px;
    font-family: monospace;
    font-size: 13px;
    white-space: pre-wrap;
    border-radius: 4px;
    border: 1px solid var(--da-border-strong);
}

.new-template-button:hover {
    background-color: var(--da-surface-alt) !important;
}