// Icons
.btn > .dashicons {
	vertical-align: baseline;
}

// Forms
input[type="file"].form-control {
	padding: 0.375rem 0.75rem;
}

select.form-select {
	max-width: none;
}

// Width utilities
.min-w-25 {
	min-width: 25%;
}

// List groups
li.list-group-item {
	margin-bottom: 0;
}

// Pagination
input[type="number"].current-page {
	width: calc(var(--bs-body-font-size) * 2);
}

// Tabs
.tab-content {
	background-color: var(--bs-white);
	border-left: var(--bs-border-width) var(--bs-border-style)
		var(--bs-border-color);
	border-right: var(--bs-border-width) var(--bs-border-style)
		var(--bs-border-color);
	border-bottom: var(--bs-border-width) var(--bs-border-style)
		var(--bs-border-color);
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	padding: 1rem;
}

.nav-tabs .nav-link.active {
	background-color: var(--bs-white);
	border-bottom: 1px solid var(--bs-white);
	margin-bottom: -1px;
}

/* Overrides for WordPress Components (@wordpress/components) */
th {
	&.sortable,
	&.sorted {
		button {
			background: none;
			border: none;
			display: flex;
			overflow: hidden;
			padding: 0.5rem;
		}
	}
}

button.row-title {
	font-weight: 600;
	&.is-link {
		text-decoration: none;
	}
}

/* WordPress Component: BaseControl */
.components-base-control {
	width: 100%;
}

.components-card-body fieldset:not(:first-child) > legend {
	margin-top: 1rem;
}

/* WordPress Component: Panel */
.components-panel .components-panel__header h2 {
	font-size: inherit;
}

/* WordPress Component: SelectControl */
.components-select-control select {
	max-width: 100%;
}

/* Fix alignment issue with password icons */
.input-group > .button {
	& > .dashicons-hidden,
	& > .dashicons-visibility {
		display: inherit;
	}
}

/* \override */

.row-actions span.delete {
	button,
	button:hover {
		color: var(--bs-red);
	}
}

.cursor-pointer {
	cursor: pointer;
}

.editor {
	height: 52vh;
	min-height: 600px;
}

@media screen and (max-width: 782px) {
	#wpcontent {
		padding-right: 10px;
		min-height: 100vh;
		padding-bottom: 15px;
	}
}

#bee-plugin-container {
	position: relative;
	height: 100vh;
	width: auto;
}

#integrator-bottom-bar {
	position: absolute;
	height: 25px;
	bottom: 0;
	left: 5px;
	right: 0;
}

.mce-edit-area iframe {
	min-height: 200px;
}

li.nav-item {
	margin-bottom: 0;
}
