/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */
@charset "UTF-8";

/* Scroll lock class for form submission */
.dhaab-scroll-lock {
	overflow: hidden !important;
	position: relative !important;
	height: 100% !important;
}

.dhaab-scroll-lock body {
	overflow: hidden !important;
	position: relative !important;
	height: 100% !important;
}

/* Ensure form remains visible during submission */
#dhaab_form {
	transition: opacity 0.2s ease;
}

#dhaab_form.dhaab-submitting {
	opacity: 0.8;
	pointer-events: none;
}

/* Loading overlay */
.dhaab-loading-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.7);
	z-index: 999999;
	justify-content: center;
	align-items: center;
}

.dhaab-loading-overlay.active {
	display: flex;
}

.dhaab-loading-spinner {
	width: 50px;
	height: 50px;
	border: 5px solid #f3f3f3;
	border-top: 5px solid #3498db;
	border-radius: 50%;
	animation: dhaab-spin 1s linear infinite;
}

@keyframes dhaab-spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.sembunyikan {
	display: none;
}

/* Notification Messages */
#dhaab-pesan {
	display: none;
	margin: 15px 0;
	padding: 0;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
	transition: all 0.3s ease;
	overflow: hidden;
}

/* Message Container */
#dhaab-pesan .ui.message {
	margin: 0;
	padding: 12px 40px 12px 15px;
	display: flex;
	align-items: center;
	min-height: 40px;
	position: relative;
}

/* Icons inside message */
#dhaab-pesan .ui.message>i.icon:not(.close) {
	font-size: 18px !important;
	margin-right: 10px !important;
}

/* Close Button */
#dhaab-pesan .close.icon {
	cursor: pointer;
	opacity: 0.7;
	transition: all 0.2s ease;
	font-size: 14px;
	margin: 0;
	padding: 8px;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#dhaab-pesan .close.icon:hover {
	opacity: 1;
	background: rgba(123, 44, 191, 0.15);
	border-radius: 50%;
}

/* Message Content */
#dhaab-pesan .pesan {
	flex-grow: 1;
	display: flex;
	align-items: center;
	min-width: 0;
	/* Needed for text truncation */
}

#dhaab-pesan .title {
	font-weight: 600;
	margin-right: 7.5px;
	white-space: nowrap;
}

#dhaab-pesan .body {
	color: inherit;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Success Message */
#dhaab-pesan .ui.message.positive {
	background-color: #f0f9f0;
	color: #1d7a1d;
	border-left: 4px solid #46b450;
}

/* Error Message */
#dhaab-pesan .ui.message.negative {
	background-color: #fdf0f0;
	color: #d63638;
	border-left: 4px solid #dc3232;
}

/* Warning Message */
#dhaab-pesan .ui.message.warning {
	background-color: #fef9ee;
	color: #dba617;
	border-left: 4px solid #ffb900;
}

/* Info Message */
#dhaab-pesan .ui.message.info {
	background-color: #f0f6fc;
	color: #2271b1;
	border-left: 4px solid #72aee6;
}

/* Loading Overlay */
#dhaab-loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(123, 44, 191, 0.85);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	z-index: 9999999;
	display: flex;
	justify-content: center;
	align-items: center;
}

#dhaab-loading-overlay .ui.inverted.dimmer {
	background-color: transparent;
}

#dhaab-loading-overlay .ui.text.loader {
	color: #fff;
	font-size: 1.2em;
}

/* Animation */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

#dhaab-pesan {
	animation: fadeIn 0.3s ease-out forwards;
}

/* Responsive */
@media screen and (max-width: 782px) {
	#dhaab-pesan {
		margin-left: 10px;
		margin-right: 10px;
	}
}

/* Plugin Action Links */
.wp-list-table.plugins .dhaab-action-links a {
	display: inline-block;
	padding: 4px 8px;
	background: #f0f0f1;
	border-radius: 3px;
	color: #8c45cf;
	/* Warna ungu tema */
	opacity: 0.85;
	text-decoration: none;
	margin-right: 4px;
	font-size: 13px;
	line-height: 1.4;
	transition: all 0.2s ease;
}

.wp-list-table.plugins .dhaab-action-links a:hover {
	background: #f0e6ff;
	color: #7b2cbf;
	opacity: 1;
}

section#dhaab {
	padding: 25px 30px 15px 15px !important;
	display: block !important;
	font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
}

#dhaab label {
	font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
	font-size: 100% !important;
	display: block;
	margin: 0 !important;
	line-height: 1.2 !important;
	height: auto !important;
	padding: 0 0 0 22px !important;
}

#dhaab table td,
#dhaab table th {
	vertical-align: middle !important;
	padding: 0 !important;
	height: 50px !important;
	min-height: 50px !important;
	max-height: 50px !important;
	box-sizing: border-box !important;
	line-height: 1.4 !important;
	overflow: visible !important;
	display: table-cell;
}

#dhaab input[type="text"],
#dhaab input[type="number"],
#dhaab select,
#dhaab textarea,
#dhaab .ui.selection.dropdown,
#dhaab .ui.fluid.dropdown {
	height: 35px !important;
	min-height: 35px !important;
	line-height: 1.5 !important;
	padding: 0.5em 0.75em !important;
	font-size: 0.9em !important;
	border: 1px solid rgba(88, 41, 187, 0.5) !important;
	border-radius: 0.15rem !important;
	background-color: #fff;
	color: rgba(0, 0, 0, 0.87);
	transition: border-color 0.2s ease;
}

#dhaab input[type="text"]:focus,
#dhaab input[type="number"]:focus,
#dhaab select:focus,
#dhaab textarea:focus {
	border-color: rgba(88, 41, 187, 0.85) !important;
	outline: none;
}

#dhaab .ui.input {
	width: 100% !important;
}

#dhaab .ui.input input[type="text"] {
	width: 100% !important;
	height: 35px !important;
	min-height: 35px !important;
	padding: 0.5em 0.75em !important;
	line-height: 1.5 !important;
}

/* Pickr Color Picker Styles */
.pickr-container {
	display: inline-block;
	position: relative;
	vertical-align: middle;
}

/* Color picker container */
.dhaab-color-picker-wrapper {
	display: flex !important;
	align-items: center;
	width: auto !important;
}

.dhaab-color-picker-wrapper input[type="text"] {
	width: 100px !important;
	height: 35px !important;
	min-height: 35px !important;
	margin-right: 10px !important;
	padding: 0.5em 0.75em !important;
	line-height: 1.5 !important;
}

/* Color picker button styles */
.dhaab-pickr-button {
	display: inline-block !important;
	width: 30px !important;
	height: 30px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 !important;
	background: #fff !important;
	position: relative;
	overflow: hidden;
	vertical-align: middle;
	line-height: 1rem !important;
}

.dhaab-pickr-button::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: currentColor;
	border-radius: 2px;
	pointer-events: none;
}

.dhaab-pickr-button:hover {
	border-color: #9ca3af !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
	transform: translateY(-1px);
}

/* Nano theme specific styles */
.pickr .pcr-button {
	width: 100% !important;
	height: 100% !important;
	border-radius: 4px !important;
	overflow: hidden;
}

/* Adjust the pickr container */
.pcr-app[data-theme="nano"] {
	border-radius: 8px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
	border: 1px solid #e5e7eb;
}

/* Make sure the picker appears above other elements */
.pickr {
	position: relative;
	z-index: 1000;
}

/* Style for the clear button */
.pcr-clear {
	border: 1px solid #e5e7eb !important;
	border-radius: 4px !important;
	padding: 4px 8px !important;
	font-size: 12px !important;
	margin-top: 8px !important;
}

/* Style for the save button */
.pcr-save {
	background: #3b82f6 !important;
	border-radius: 4px !important;
	padding: 4px 8px !important;
	font-size: 12px !important;
	margin-top: 8px !important;
}

/* Style for the color preview */
.pickr .pcr-button:after {
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Hide the default input */
.dhaab-color-picker,
.dhaab-overlay-color-picker {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Dropdown styles */
#dhaab .field {
	line-height: 1 !important;
}

#dhaab .ui.selection.dropdown .menu {
	margin: 0 !important;
	border-top: none !important;
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

#dhaab .ui.selection.dropdown .menu>.item {
	padding: 4px 10px !important;
	line-height: 1.2 !important;
}

/* Compact form styles */
#dhaab .ui.form .field>label {
	margin: 0 0 2px 0 !important;
}

#dhaab .ui.form .field {
	margin: 0 0 8px 0 !important;
}

/* Table styles */
#dhaab .ui.table {
	margin: 0.5em 0;
}

#dhaab .ui.table thead th {
	padding: 10px 15px !important;
}

#dhaab .ui.table tbody td {
	padding: 8px 12px !important;
}

/* Specific input widths */
#dhaab .ui.input.small {
	width: 150px !important;
}

#dhaab .ui.input.medium {
	width: 250px !important;
}

/* Button styles */
#dhaab .ui.button {
	margin: 3px 0;
}

/* Table cell styles */
#dhaab .compact-cell {
	width: 25% !important;
}

#dhaab .compact-cell.wide {
	width: 75% !important;
}

/* Padding utilities */
#dhaab .pb-20 {
	padding-bottom: 20px !important;
}

/* Multiple dropdown with X icon */
#dhaab .ui.multiple.dropdown>.label {
	display: flex !important;
	align-items: center;
	padding-right: 2.5em !important;
	position: relative;
}

#dhaab .ui.multiple.dropdown>.label>.delete.icon {
	position: absolute !important;
	right: 0.5em !important;
	top: 0 !important;
	bottom: 0 !important;
	margin: auto 0 !important;
	height: 1.5em !important;
	width: 1.5em !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* Dropdown remove icon */
#dhaab .ui.selection.dropdown>.remove.icon {
	position: absolute !important;
	right: 1.7rem !important;
	line-height: 0 !important;
	margin: -0.9px 0 0 0 !important;
	opacity: 0.7;
	transition: opacity 0.1s ease;
	cursor: pointer;
	pointer-events: auto !important;
	z-index: 3;
}

/* Style khusus untuk ikon remove */
#dhaab .ui.selection.dropdown>.remove.icon,
#dhaab .ui.selection.dropdown>.remove.icon:hover {
	color: rgba(0, 0, 0, 0.4) !important;
}

#dhaab .ui.selection.dropdown>.remove.icon:hover {
	opacity: 1 !important;
	background: none !important;
	color: rgba(100, 53, 201, 0.85) !important;
	transform: none !important;
}

/* Force color on hover */
#dhaab .ui.selection.dropdown>.remove.icon:hover::before {
	color: rgba(100, 53, 201, 0.85) !important;
}

/* Text alignment */
#dhaab .text-left {
	text-align: left !important;
}

/* Checkbox Styles */
#dhaab .ui.checkbox {
	font-size: 1em !important;
	align-items: center !important;
	position: relative;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	outline: none;
	vertical-align: baseline;
	font-style: normal;
	min-height: 17px;
	line-height: 17px;
	min-width: 17px;
}

#dhaab .ui.checkbox input[type=checkbox] {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0 !important;
	outline: none;
	z-index: 3;
	width: 17px;
	height: 17px;
}

#dhaab .ui.checkbox .box:before,
#dhaab .ui.checkbox label:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 17px;
	height: 17px;
	content: '';
	background: #fff;
	border-radius: .21428571rem;
	transition: border .1s ease, opacity .1s ease, transform .1s ease;
	border: 1px solid #d4d4d5;
}

#dhaab .ui.checkbox:not(.toggle) .box:after,
#dhaab .ui.checkbox:not(.toggle) label:after {
	content: '✓' !important;
	position: absolute;
	opacity: 0;
	font-size: 13px;
	font-weight: 900;
	top: 1px;
	left: 1px;
	width: 15px;
	height: 15px;
	text-align: center;
	color: #6435c9;
	line-height: 15px;
	transition: opacity 0.1s ease;
	pointer-events: none;
	text-shadow: 0.3px 0 0 currentColor;
}

#dhaab .ui.checkbox input:checked~.box:after,
#dhaab .ui.checkbox input:checked~label:after {
	opacity: 1 !important;
}

#dhaab .ui.checkbox label {
	cursor: auto;
	position: relative;
	display: block;
	padding-left: 1.85714em;
	outline: 0;
	font-size: 1em;
	min-height: 17px;
	line-height: 1.21428571em;
	transition: color .1s ease;
}

/* ===================== */
/* Radio Button Styles   */
/* ===================== */
#dhaab .ui.radio.checkbox .box:before,
#dhaab .ui.radio.checkbox label:before {
	border-radius: 50% !important;
	/* bulat sempurna */
}

#dhaab .ui.radio.checkbox input:checked~.box:before,
#dhaab .ui.radio.checkbox input:checked~label:before {
	border-color: #6435c9 !important;
	box-shadow: none !important;
	/* Hapus bayangan */
}

#dhaab .ui.radio.checkbox input:checked~.box:after,
#dhaab .ui.radio.checkbox input:checked~label:after {
	background-color: #6435c9 !important;
	border-radius: 50% !important;
	/* titik di dalam juga bulat */
}

#dhaab .ui.radio.checkbox input:focus~.box:before,
#dhaab .ui.radio.checkbox input:focus~label:before {
	border-color: #6435c9 !important;
	box-shadow: none !important;
	/* Tidak pakai efek shadow */
}

/* Toggle Checkbox Styles */
#dhaab .ui.toggle.checkbox {
	min-height: 20px !important;
	padding: 4px 0;
	position: relative;
	display: inline-block;
	vertical-align: middle;
}

.pickr-container {
	display: inline-block;
	position: relative;
	vertical-align: middle;
}

/* Color picker container */
.dhaab-color-picker-wrapper {
	display: flex !important;
	align-items: center;
	width: auto !important;
}

.dhaab-color-picker-wrapper input[type="text"] {
	width: 100px !important;
	height: 35px !important;
	min-height: 35px !important;
	margin-right: 10px !important;
	padding: 0.5em 0.75em !important;
	line-height: 1.5 !important;
}

/* Color picker button styles */
.dhaab-pickr-button {
	display: inline-block !important;
	width: 30px !important;
	height: 30px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 !important;
	background: #fff !important;
	position: relative;
	overflow: hidden;
	vertical-align: middle;
	line-height: 1rem !important;
}

.dhaab-pickr-button::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: currentColor;
	border-radius: 2px;
	pointer-events: none;
}

.dhaab-pickr-button:hover {
	border-color: #9ca3af !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
	transform: translateY(-1px);
}

/* Nano theme specific styles */
.pickr .pcr-button {
	width: 100% !important;
	height: 100% !important;
	border-radius: 4px !important;
	overflow: hidden;
}

/* Adjust the pickr container */
.pcr-app[data-theme="nano"] {
	border-radius: 8px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
	border: 1px solid #e5e7eb;
}

/* Make sure the picker appears above other elements */
.pickr {
	position: relative;
	z-index: 1000;
}

/* Style for the clear button */
.pcr-clear {
	border: 1px solid #e5e7eb !important;
	border-radius: 4px !important;
	padding: 4px 8px !important;
	font-size: 12px !important;
	margin-top: 8px !important;
}

/* Style for the save button */
.pcr-save {
	background: #3b82f6 !important;
	border-radius: 4px !important;
	padding: 4px 8px !important;
	font-size: 12px !important;
	margin-top: 8px !important;
}

/* Style for the color preview */
.pickr .pcr-button:after {
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

#dhaab .ui.toggle.checkbox .box:before,
#dhaab .ui.toggle.checkbox label:before {
	cursor: pointer;
	height: 20px !important;
	width: 36px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	background-color: #e0e1e2;
	transition: background-color 0.3s ease;
	border-radius: 500rem !important;
}

#dhaab .ui.toggle.checkbox input:checked~.box:before,
#dhaab .ui.toggle.checkbox input:checked~label:before {
	background-color: #6435c9 !important;
}

#dhaab .ui.toggle.checkbox .box:after,
#dhaab .ui.toggle.checkbox label:after {
	content: '' !important;
	position: absolute;
	top: 50%;
	left: 2px !important;
	transform: translateY(-50%) !important;
	width: 16px !important;
	height: 16px !important;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
	transition: left 0.3s ease;
}

#dhaab .ui.toggle.checkbox input:checked~.box:after,
#dhaab .ui.toggle.checkbox input:checked~label:after {
	left: 18px !important;
}

/* Success Message */
#dhaab .dhaab-success-message {
	display: flex !important;
	align-items: center;
	text-align: left !important;
	margin-bottom: 1rem !important;
}

#dhaab .dhaab-success-message .content {
	flex: 1;
}

#dhaab .dhaab-success-message p {
	margin: 0;
	font-weight: 500;
}

#dhaab .dhaab-close-button {
	background: none !important;
	border: none !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 !important;
}

#dhaab .dhaab-close-button .icon {
	margin: 0 !important;
}

#dhaab .check.circle.icon {
	font-size: 1.1em !important;
	line-height: 1em !important;
}

/* Other Styles */
#dhaab .ui.checkbox input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	margin: 0 0.5em 0 0 !important;
}

/* Cursor pointer untuk semua tipe checkbox/radio/toggle */
#dhaab .ui.checkbox,
#dhaab .ui.checkbox label,
#dhaab .ui.checkbox .box,
#dhaab .ui.radio.checkbox,
#dhaab .ui.radio.checkbox label,
#dhaab .ui.radio.checkbox .box,
#dhaab .ui.toggle.checkbox,
#dhaab .ui.toggle.checkbox label,
#dhaab .ui.toggle.checkbox .box {
	cursor: pointer !important;
}

#dhaab table tbody .stripped:nth-child(odd) {
	background-color: rgba(88, 41, 187, 0.025) !important;
}

#dhaab table tbody .stripped:nth-child(even) {
	background-color: rgba(88, 41, 187, 0.05) !important;
}

#dhaab table tbody .stripped:hover {
	background-color: rgba(88, 41, 187, 0.1) !important;
}

/* Color picker styles */
.dhaab-color-picker-wrapper {
	display: inline-flex !important;
	align-items: center !important;
	vertical-align: middle !important;
	height: 100% !important;
}

.dhaab-pickr-button {
	margin: 0 !important;
	vertical-align: middle !important;
}

/* Ensure consistent height for table cells with color pickers */
table td .dhaab-color-picker-wrapper {
	line-height: 1 !important;
	height: 100% !important;
	display: inline-flex !important;
	align-items: center !important;
	padding: 0 !important;
	margin: 0 !important;
}

#dhaab .dhaab-colors {
	margin: 0 !important;
	padding: 0 !important;
}

#dhaab .dhaab-colors td {
	margin: 0 !important;
	padding: 0 !important;
	height: 33px !important;
}

#dhaab .dhaab-colors td:hover label {
	color: rgba(88, 41, 187, 1) !important;
}

#dhaab .dhaab_colors .default {
	background-color: rgba(236, 240, 241, 0.5) !important;
}

#dhaab .dhaab-colors .purple {
	background-color: rgb(100, 53, 201, 0.5) !important;
}

#dhaab .dhaab-colors .blue {
	background-color: rgba(52, 152, 219, 0.5) !important;
}

#dhaab .dhaab-colors .green {
	background-color: rgba(46, 204, 113, 0.5) !important;
}

#dhaab .dhaab-colors .red {
	background-color: rgba(231, 76, 60, 0.5) !important;
}

#dhaab .dhaab-colors .orange {
	background-color: rgba(241, 196, 15, 0.5) !important;
}

#dhaab .dhaab-colors .dark {
	background-color: rgba(52, 73, 94, 0.5) !important;
}

/* Dropdown Styles */
#dhaab .ui.fluid.dropdown {
	min-width: 100%;
	max-width: 100%;
}

#dhaab .ui.selection.dropdown {
	padding: 0 2.5em 0 0.85em !important;
	height: 35px !important;
	min-height: 35px !important;
	line-height: 1.5 !important;
	margin: 0 !important;
	border: 1px solid rgba(88, 41, 187, 0.5) !important;
	border-radius: 0.15rem !important;
	font-size: 0.9em !important;
	position: relative;
	display: flex;
	align-items: center;
	background-color: #fff;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
	width: 100%;
}

#dhaab .ui.selection.dropdown a {
	margin-right: 0.85em !important;
	padding-right: 0.95em !important;
	padding-left: 0.95em !important;
}

#dhaab .ui.selection.dropdown a:hover {
	color: #000000 !important;
}

#dhaab .ui.selection.dropdown>.text {
	flex-grow: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: normal;
	height: auto !important;
	text-align: left;
	padding-right: 1.5em;
}

#dhaab .ui.selection.dropdown .menu>.item:hover {
	background-color: rgba(88, 41, 187, 0.35) !important;
	color: rgba(88, 41, 187, 0.95) !important;
}

#dhaab .ui.selection.dropdown .menu>.item {
	padding: 0.5em 1em !important;
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

#dhaab .ui.selection.dropdown:focus,
#dhaab .ui.selection.dropdown.active,
#dhaab .ui.selection.dropdown.visible {
	border-color: rgba(88, 41, 187, 0.85) !important;
}

#dhaab .ui.selection.dropdown .menu {
	border: 1px solid rgba(88, 41, 187, 0.5) !important;
	border-top: none !important;
	border-radius: 0 0 0.15rem 0.15rem !important;
	box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
	margin: 0 !important;
	width: calc(100% + 2px) !important;
	left: -1px !important;
	min-width: calc(100% + 2px) !important;
}

/* Ensure consistent border color on focus/active */
#dhaab .ui.selection.dropdown:focus,
#dhaab .ui.selection.dropdown.active,
#dhaab .ui.selection.dropdown.visible,
#dhaab .ui.selection.dropdown:focus .menu,
#dhaab .ui.selection.dropdown.active .menu,
#dhaab .ui.selection.dropdown.visible .menu {
	border-color: rgba(88, 41, 187, 0.85) !important;
}

/* Input with unit label */
#dhaab .ui.right.labeled.input {
	display: inline-flex !important;
	align-items: stretch;
	height: 35px !important;
	line-height: 1;
}

#dhaab .ui.right.labeled.input .ui.basic.label {
	display: flex !important;
	align-items: center;
	padding: 0 0.75em !important;
	margin: 0 !important;
	margin-left: -1px !important;
	border: 1px solid rgba(88, 41, 187, 0.5) !important;
	border-left: none !important;
	border-radius: 0 0.15rem 0.15rem 0 !important;
}

#dhaab .ui.right.labeled.input input {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	border-right: none !important;
}

#dhaab .ui.right.labeled.input input:focus {
	border-right: 1px solid rgba(88, 41, 187, 0.85) !important;
}

/* Dropdown icon positioning */
#dhaab .ui.selection.dropdown>.dropdown.icon {
	position: absolute !important;
	top: 50% !important;
	right: 1em !important;
	transform: translateY(-50%);
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	line-height: 1;
}

#dhaab .ui.selection.dropdown .menu>.item:hover {
	background: rgba(88, 41, 187, 0.05) !important;
}

#dhaab .ui.selection.dropdown .menu>.item.active {
	background: rgba(88, 41, 187, 0.1) !important;
	font-weight: 500;
}

#dhaab .ui.label {
	background: rgba(88, 41, 187, 0.1) !important;
	color: #6435c9 !important;
	margin: 0.2em 0.2em 0.2em 0 !important;
	padding: 0.4em 0.7em !important;
	font-size: 0.8em !important;
}

#dhaab .ui.label>.delete.icon {
	margin-left: 0.5em;
	opacity: 0.7;
}

#dhaab .ui.label>.delete.icon:hover {
	opacity: 1;
}