/* === SEARCH WIDGETS === */

.modal-dialog:has(.search-widget-container) {
    max-width: 800px !important;
    width: 866px;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: flex-start !important;
    margin-top: 6vh !important;
}

.modal-dialog:has(.search-widget-container) .modal-content {
    width: 100% !important;
    border-radius: 16px;
}

.modal-content:has(.search-widget-container) .modal-header {
    padding: 32px 32px 0px 32px;
}

.search-widget-container {
    width: 100%;
    background: var(--grey-white);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 16px !important;
    padding-bottom: 8px;
}

.search-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.search-widget-title {
    color: var(--grey-black);
    font-size: 28px;
    font-weight: var(--fw-bold);
    line-height: 33.60px;
    letter-spacing: 0.84px;
    margin: 0;
}

.search-prompt-text {
    margin-left: 32px; 
    margin-right: 32px; 
    text-box-trim: trim-both; 
    text-box-edge: cap alphabetic; 
    color: var(--grey-g600); 
    font-size: 18px; 
    font-weight: var(--fw-medium); 
    line-height: 23.40px; 
    letter-spacing: 0.63px; 
    word-wrap: break-word;
		margin-top: 12px;
}

.btn-close-custom {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--grey-white);
    border: 1px solid var(--grey-g200);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-close-custom:hover {
    background: var(--grey-g100);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px 16px 16px;
    background: var(--grey-white);
    border-radius: 100px;
    border: 1px solid var(--grey-icon);
    box-sizing: border-box;
    margin-left: 32px;
    margin-right: 32px;
    margin-top: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.search-input-wrapper:hover {
    background-color: var(--grey-g200) !important;
    border-color: var(--grey-black) !important;
}

.search-input-wrapper:focus-within {
    border-color: var(--grey-black) !important;
}

.search-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    outline: 1px solid var(--grey-g200);
    border-radius: 999px;
    width: 30px;
    height: 30px;
}

.search-icon-img {
    width: 16px; 
    height: 16px;
}

.search-input-control {
    flex: 1;
    border: none !important;
    background: transparent !important;
    color: var(--grey-black);
    font-size: 20px;
    font-family: var(--font-main);
    font-weight: var(--fw-bold);
    line-height: 24px;
    letter-spacing: 0.60px;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

.search-input-control::placeholder {
    color: var(--grey-icon);
    font-weight: var(--fw-bold);
}

.search-clear-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear-btn:hover {
    opacity: 1;
}

/* Tabs & Chips */
.filter-chips-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-left: 32px;
    margin-right: 32px;
    margin-bottom: 32px;
}

.filter-chip {
    padding: 12px 20px;
    background: var(--grey-white);
    border-radius: 999px;
    border: 1px solid var(--grey-g400);
    color: var(--grey-black);
    font-size: 14px;
    font-weight: var(--fw-bold);
    line-height: 16px;
    letter-spacing: 0.42px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.filter-chip:hover {
    background: var(--grey-g100);
}

.filter-chip.active {
    background: var(--btn-primary);
    color: var(--grey-white);
    border-color: var(--btn-primary);
}

.filter-chip.active:hover {
    background: var(--btn-primary-hov);
}

.filter-chips-container .nav-tabs-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: none !important;
    padding-left: 0;
    margin: 0;
}

.filter-chips-container .nav-tabs-custom .nav-item {
    margin-bottom: 0;
}

.filter-chips-container .nav-tabs-custom .nav-link {
    display: flex !important; 
    padding: 16px 20px !important; 
    justify-content: center !important; 
    align-items: center !important; 
    gap: 6px !important; 
    border-radius: 999px !important; 
    background: var(--grey-white) !important;
    border: 1px solid var(--grey-g400) !important;
    color: var(--grey-black) !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.filter-chips-container .nav-link-text {
    text-align: center; 
    font-feature-settings: 'liga' off, 'clig' off; 
    font-size: 14px; 
    font-style: normal; 
    font-weight: var(--fw-bold); 
    line-height: 16px; 
    letter-spacing: 0.42px;
}

.filter-chips-container .nav-tabs-custom .nav-link:hover {
    background: var(--grey-g100) !important;
    border-color: var(--grey-g400) !important;
}

.filter-chips-container .nav-tabs-custom .nav-link.active {
    background: var(--btn-primary) !important;
    color: var(--grey-white) !important;
    border-color: var(--btn-primary) !important;
}

.filter-chips-container .nav-tabs-custom .nav-link.active .nav-link-text {
    color: var(--grey-white);
}

.filter-chips-container .nav-tabs-custom .nav-link.active:hover {
    background: var(--btn-primary-hov) !important;
}

/* Results & Extracted Inline Styles */
.results-count-container {
    width: 100%; 
    margin-left: 32px; 
    margin-right: 32px;
}

.results-count-label {
    color: var(--grey-black); 
    font-size: 16px; 
    font-weight: var(--fw-medium); 
    line-height: 24px; 
    letter-spacing: 0.48px; 
    word-wrap: break-word;
}

.results-count-value {
    color: var(--grey-black); 
    font-size: 16px; 
    font-weight: var(--fw-bold); 
    line-height: 19.20px; 
    letter-spacing: 0.48px; 
    word-wrap: break-word;
}

.search-table-custom {
    max-height: 40vh; 
    border-radius: 25px; 
    background: var(--grey-white);
}

.th-width-2em {
    width: 2em;
}

.tr-height-47 {
    height: 47px;
}

.m-t-0 {
    margin-top: 0px !important;
}

.no-results-block {
    margin-left: 32px; 
    margin-bottom: 32px; 
    padding-top: 8px;
}

.no-results-title {
    color: var(--text-dark-purple); 
    font-feature-settings: 'liga' off, 'clig' off; 
    font-size: 20px; 
    font-style: normal; 
    font-weight: var(--fw-bold); 
    line-height: 120%; 
    letter-spacing: 0.6px;
}

.no-results-subtitle {
    color: var(--grey-g600); 
    font-size: 16px; 
    font-style: normal; 
    font-weight: var(--fw-medium); 
    line-height: 150%; 
    letter-spacing: 0.48px;
}

.btn-open-icon {
    border: none !important; 
    outline: none !important; 
    box-shadow: none !important; 
    margin: 0 !important; 
    padding: 6px; 
    display: flex; 
    justify-content: center !important; 
    align-items: center; 
    gap: 2px;
}

/* Modals & Table Components */
.modal-content:has(.search-widget-container) .modal-title {
    color: var(--grey-black);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 28px;
    font-style: normal;
    font-weight: var(--fw-bold);
    line-height: 120%;
    letter-spacing: 0.84px;
}

.table-icons {
    width: 24px;
    height: 24px;
}

.table-td-empty-custom {
    height: 48px;
    padding: 16px 24px 16px 0 !important;
    align-items: center;
    gap: 4px !important;
    align-self: stretch;
    border-top: 1px solid var(--shadow-light-10) !important;
    background: var(--grey-white) !important;
}

.table-th-empty-custom {
    width: 24px;
    height: 48px;
    padding: 16px 24px 16px 0 !important;
    align-items: center;
    gap: 4px !important;
    border-bottom: 1px solid var(--shadow-light-10) !important;
    background: var(--grey-g100) !important;
}

.clickable-row {
    position: relative;
    cursor: pointer;
    height: 48px;
}

.clickable-row a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.td-middle {
    vertical-align: middle !important;
}

.product-pod-img {
    width: 56px; 
    height: 56px; 
    object-fit: contain;
}

.cursor-pointer {
    cursor: pointer;
}

.search-divider {
    margin-top: 8px;
}

.search-widget-container table {
    margin-bottom: 32px;
}

/* === FILTER POPUP FORM === */


.modal-dialog:has(.popup-right) {
	margin-right: 10px;
}

.modal-dialog.modal-lg:has(.popup-right) {
	max-width: 620px !important;
}

.modal-content:has(.popup-right) {
	border: none;
	padding: 0.3rem;
	border-radius: 15px;
}

.modal-content:has(.popup-right) .modal-header {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 24px !important;
	background: var(--grey-white) !important;
	border-bottom: 1px solid var(--grey-g200);
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	font-weight: var(--fw-bold);
	font-size: 24px;
	line-height: 28.8px;
	letter-spacing: 0.72px;
	color: var(--grey-black);
}


.popup-right {
	width: 100%;
	height: 70vh;
}

.custom-form-container {
	background-color: transparent;
	padding: 24px;
}


.custom-form-container .pr-0 {
	padding-right: 0 !important;
}


.custom-form-container .input-pill {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 12px 14px 12px 16px !important;
	gap: 12px;
	height: 48px !important;
	background: var(--grey-white);
	border: 1px solid var(--grey-g400);
	font-size: 14px;
	line-height: normal;
	border-radius: 999px !important;
}

.custom-form-container .input-rounded {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 12px 12px 12px 16px !important;
	gap: 12px;
	height: 48px !important;
	background: var(--grey-white);
	border: 1px solid var(--grey-g400);
	font-size: 14px;
	line-height: normal;
	border-radius: 12px !important;
}

.popup-right select.form-control {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M1 4l5 5 5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px;
}

.popup-right [data-bpm-controltype="combobox"] {
	width: 100% !important;
}

.popup-right .custom-label {
	font-style: normal;
	font-weight: var(--fw-bold);
	font-size: 14px;
	line-height: 16px;
	letter-spacing: 0.03em;
	color: var(--gray-black);
	display: block;
	margin-bottom: 4px;
}

.popup-right .form-control.form-control-sm > div.ss-single-selected {
	border: none !important;
}

.popup-right .ss-main .ss-single-selected .ss-deselect {
	position: absolute;
	right: 2.75em !important;
	top: 22% !important;
	bottom: 20%;
	height: 60%;
	background-color: var(--grey-white);
	margin: 0;
	padding: .25em;
}

.popup-right .form-control.input-rounded::placeholder {
	color: var(--grey-g600);
	font-feature-settings: 'liga' off, 'clig' off;
	font-size: 14px;
	font-style: normal;
	font-weight: var(--fw-medium);
	line-height: 24px;
	letter-spacing: 0.42px;
}

.popup-right .ss-main .ss-single-selected .placeholder .ss-disabled {
	color: var(--grey-g600);
	font-feature-settings: 'liga' off, 'clig' off;
	font-size: 14px;
	font-style: normal;
	font-weight: var(--fw-medium);
	line-height: 24px;
	letter-spacing: 0.42px;
}


.popup-right .material-select {
	text-indent: 12px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url('/content/resources/dropdown-arrow.svg');
	background-repeat: no-repeat;
	background-position: right 20px center;
	padding: 12px;
	background-color: var(--grey-white);
	outline: 1px solid var(--grey-g400);
	outline-offset: -1px;
	border: none;
	border-radius: 999px !important;
	color: var(--grey-black);
	font-size: 14px;
	font-weight: var(--fw-medium);
	line-height: 24px;
	letter-spacing: 0.42px;
}

.popup-right .select-status {
	text-indent: 12px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url('/content/resources/dropdown-arrow.svg');
	background-repeat: no-repeat;
	background-position: right 20px center;
	padding: 12px;
	background-color: var(--grey-white);
	outline: 1px solid var(--grey-g400);
	outline-offset: -1px;
	border: none;
	border-radius: 12px !important;
	color: var(--grey-black);
	font-size: 14px;
	font-weight: var(--fw-medium);
	line-height: 24px;
	letter-spacing: 0.42px;
}

.modal-content:has(.popup-right) .footer-actions {
	margin-top: 0 !important;
	padding: 24px !important;
	border-top: 1px solid var(--grey-g200);
	display: flex !important;
	justify-content: space-between !important;
	gap: 16px !important;
	align-items: center;
}

.footer-right {
	display: flex;
	gap: 16px;
}

.btn-export-secondary {
	padding: 16px 20px;
	border-radius: 999px;
	border: 1px solid var(--grey-g400);
	background: var(--grey-white);
	font-weight: var(--fw-bold);
	font-size: 14px;
	color: var(--grey-black);
	cursor: pointer;
	line-height: 16px;
	letter-spacing: 0.42px;
	height: 48px;
	transition: all 0.3s ease-in-out;
}

.btn-export-secondary:hover {
	background: var(--grey-g200) !important;
	border: 1px solid var(--grey-black) !important;
}

.btn-export-primary {
	padding: 16px 20px;
	border-radius: 999px !important;
	border: none !important;
	background: var(--btn-primary) !important;
	font-weight: var(--fw-bold);
	font-size: 14px;
	color: var(--grey-white) !important;
	cursor: pointer;
	line-height: 16px;
	height: 48px;
	transition: all 0.3s ease-in-out;
}

.btn-export-primary:hover {
	background-color: var(--btn-primary-active) !important;
}

.btn-clear-filters {
	border: none;
	background: var(--grey-g100);
	padding: 8px 12px;
	border-radius: 4px;
	font-weight: var(--fw-bold);
	font-size: 14px;
	color: var(--gray-black);
	cursor: pointer;
}

.material-select:focus {
	outline: 1px solid #19171A !important;
}

.custom-form-container .input-rounded:hover,
.popup-right .material-select:hover {
    background-color: var(--grey-g200) !important;
    border-color: var(--grey-black) !important;
}

.custom-form-container .input-rounded:focus-within,
.popup-right .material-select:focus-within {
    border-color: var(--grey-black) !important;
}