// Field Selection
.rsl-ie-field-selection-controls {
	margin-bottom: 20px;
	display: flex;
	gap: 10px;
}

// Table Information Section
.rsl-ie-table-info {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 20px;
	margin-bottom: 20px;
	margin-top: 20px;

	h4 {
		margin: 0 0 15px;
		font-size: 15px;
		color: #1d2327;
	}

	h5 {
		margin: 15px 0 10px;
		font-size: 13px;
		color: #646970;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.5px;
	}
}

.rsl-ie-create-table-option {
	margin-top: 14px;
	padding: 16px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 6px;

	.rsl-ie-create-table-toggle {
		display: flex;
		align-items: center;
		gap: 8px;
		font-weight: 600;
		color: #1d2327;
		margin: 0;
	}

	.rsl-ie-create-table-name-wrap {
		margin-top: 14px;

		label {
			display: block;
			font-weight: 600;
			margin-bottom: 6px;
		}

		input {
			width: 100%;
			max-width: 420px;
		}
	}
}

.rsl-ie-create-table-info {
	margin: 10px 0 12px;
}

.rsl-ie-table-stats {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;

	.rsl-ie-stat {
		display: flex;
		flex-direction: column;
		gap: 4px;

		.label {
			font-size: 12px;
			color: #646970;
		}

		.value {
			font-size: 20px;
			font-weight: 600;
			color: #1d2327;
		}
	}
}

.rsl-ie-table-columns {
	border-top: 1px solid #f0f0f1;
	padding-top: 15px;
}

.rsl-ie-columns-list {
	.rsl-ie-column-badges {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.rsl-ie-column-badge {
		display: inline-flex;
		align-items: center;
		padding: 6px 12px;
		background: #f0f6fc;
		border: 1px solid #c3e0f5;
		color: #2271b1;
		font-size: 12px;
		font-weight: 500;
		font-family: "Courier New", Monaco, monospace;
		border-radius: 4px;
		transition: all 0.2s ease;

		&:hover {
			background: #e5f2ff;
			border-color: #2271b1;
			transform: translateY(-1px);
			box-shadow: 0 2px 4px rgba(34, 113, 177, 0.1);
		}
	}

	p {
		color: #646970;
		font-size: 13px;
		margin: 0;
	}
}

.rsl-ie-field-groups {
	.rsl-ie-field-group {
		margin: 30px 0;

		h3 {
			margin: 0 0 15px;
			font-size: 16px;
			padding-bottom: 10px;
			border-bottom: 1px solid #dcdcde;
		}

		.rsl-ie-fields-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
			gap: 10px;

			label {
				display: flex;
				align-items: center;
				gap: 8px;
				padding: 8px 12px;
				border: 1px solid #dcdcde;
				border-radius: 4px;
				cursor: pointer;
				transition: all 0.2s;

				&:hover {
					background: #f6f7f7;
				}

				input[type="checkbox"] {
					margin: 0;
				}
			}
		}
	}
}
