.llm-csv-view {
	display: flex;
	flex-direction: column;
	min-height: 50px;
	gap: 6px;

	&__label__content {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
    padding-right: 10px;
	}

	&__label {
		font-size: 14px;
		font-weight: 500;
		font-stretch: normal;
		font-style: normal;
		line-height: 1.71;
		letter-spacing: normal;
		color: #40405b;
	}

	&__info {
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}

	&__content {
		position: relative;
		display: flex;
		flex-direction: row;
		width: 100%;
		overflow: scroll;
	}

	&__table {
		width: 100%;
		max-height: 300px;
		display: table;
		border-radius: 8px;
	}

	&__row,
	&__header {
		display: table-row;
		box-sizing: border-box;
		position: relative;
		min-height: 32px;

		&__editable {
			cursor: pointer;
			outline: none;

			>input {
				min-height: 32px;
				border: none;
			}
		}

		&__readonly {
			>input {
				min-height: 32px;
				border: none;
			}
		}

		&__editable,
		&__readonly {
			border: solid .2px #c0c0c0;

			>input {
				margin: 0 6px;
			}
		}

		.header {
			background-color: #F4F5F9;

			>input {
				text-align: center;
			}

			&.first {
				flex: none
			}
		}

		.first {
			min-width: 32px;
			background-color: #F4F5F9;
			display: table-cell;
			text-align: center;
		}
	}

	&__cell {
		display: table-cell;
		position: relative;
	}

	&__header {
		>.llm-csv-view__row {
			background: #f5f5f5;
		}
	}

	.header {
		&.first {
			border-top-left-radius: 8px;
		}

		&.last-cell-of-row {
			border-top-right-radius: 8px;
		}
	}

	.last-table-cell {
		border-bottom-right-radius: 8px;
	}

	.first.last-row {
		border-bottom-left-radius: 8px;
	}

	.resize-handle-v {
		display: block;
		position: absolute;
		cursor: col-resize;
		width: 6px;
		right: 0;
		top: 0;
		bottom: 0;
		z-index: 1;
		border-right: 2px solid transparent;

		&:hover {
			border-color: #ccc;
		}

		&.active {
			border-color: #517ea5;
		}
	}

	.resize-handle-h {
		display: block;
		position: absolute;
		cursor: row-resize;
		height: 6px;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1;
		border-bottom: 2px solid transparent;

		&:hover {
			border-color: #ccc;
		}

		&.active {
			border-color: #517ea5;
		}
	}

}