
.wpsc-xs-1, .wpsc-sm-1, .wpsc-md-1, .wpsc-lg-1, .wpsc-xs-2, .wpsc-sm-2, .wpsc-md-2, .wpsc-lg-2, .wpsc-xs-3, .wpsc-sm-3, .wpsc-md-3, .wpsc-lg-3, .wpsc-xs-4, .wpsc-sm-4, .wpsc-md-4, .wpsc-lg-4, .wpsc-xs-5, .wpsc-sm-5, .wpsc-md-5, .wpsc-lg-5, .wpsc-xs-6, .wpsc-sm-6, .wpsc-md-6, .wpsc-lg-6, .wpsc-xs-7, .wpsc-sm-7, .wpsc-md-7, .wpsc-lg-7, .wpsc-xs-8, .wpsc-sm-8, .wpsc-md-8, .wpsc-lg-8, .wpsc-xs-9, .wpsc-sm-9, .wpsc-md-9, .wpsc-lg-9, .wpsc-xs-10, .wpsc-sm-10, .wpsc-md-10, .wpsc-lg-10, .wpsc-xs-11, .wpsc-sm-11, .wpsc-md-11, .wpsc-lg-11, .wpsc-xs-12, .wpsc-sm-12, .wpsc-md-12, .wpsc-lg-12 {
	float: left;
	position: relative;
	padding: 0 15px 15px;
	box-sizing: border-box;
}

#wpsc-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	background-color: transparent;
	box-sizing: border-box;
	font-size: 14px !important;
}

.wpsc-modal {
	font-size: 14px !important;
}

.select2-container {
	font-size: 14px !important;
}

#wpsc-container input[type="text"]:focus, #wpsc-container input[type="text"], #wpsc-container input[type="password"]:focus, #wpsc-container input[type="password"], .wpsc-modal input[type="text"]:focus, .wpsc-modal input[type="text"], .wpsc-modal input[type="password"]:focus, .wpsc-modal input[type="password"], #wpsc-container select, #wpsc-container select:focus, .wpsc-modal select, .wpsc-modal select:focus, #wpsc-container textarea, #wpsc-container textarea:focus, .wpsc-modal textarea, .wpsc-modal textarea:focus, .select2-selection:focus, .select2-results__options li:focus, input[type="text"].select2-search__field:focus {
	outline: none !important;
	outline-width: 0 !important;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	border-radius: 5px !important;
}

#wpsc-container input[type="text"].select2-search__field, #wpsc-container input[type="text"]:focus.select2-search__field, .wpsc-modal input[type="text"].select2-search__field, .wpsc-modal input[type="text"]:focus.select2-search__field, #wpsc-container input[type="text"].wpsc-search-input, #wpsc-container input[type="text"]:focus.wpsc-search-input {
	border: none !important;
}

.select2-search__field {
	padding: 0 !important;
}

#wpsc-container form, .wpsc-modal form {
	width: 100%;
}

.wpsc-row {
	float: left;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.wpsc-tag {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 2px 10px;
	border-radius: 5px;
	font-size: 10px;
	font-weight: normal;
	width: fit-content;
	margin: 2px 0 2px 0;
}

/* Header */
.wpsc-header {
	float: left;
	display: flex;
	align-items: center;
	width: 100%;
	padding: 10px 15px;
	box-sizing: border-box;
}

.wpsc-tickets-nav, .wpsc-header-nav {
	display: flex;
	align-items: center;
	cursor: pointer;
	margin-right: 15px;
	opacity: .7;
}

.wpsc-tickets-nav.active, .wpsc-tickets-nav:hover, .wpsc-header-nav.active, .wpsc-header-nav:hover {
	opacity: 1;
}

.wpsc-tickets-nav svg, .wpsc-header-nav svg, .wpsc-humbargar-title svg {
	height: 16px;
	margin-right: 5px;
	overflow: visible;
}

.wpsc-tickets-nav label, .wpsc-header-nav label, .wpsc-humbargar-title label {
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.wpsc-header .log-out {
	margin-right: 0;
	margin-left: auto;
}

.wpsc-humbargar {
	display: flex;
	align-items: center;
	color: #000;
}

.wpsc-humbargar-title {
	display: flex;
	align-items: center;
	flex-grow: 1;
	color: #000;
}

.wpsc-humbargar svg {
	width: 22px;
}

.wpsc-humbargar-overlay, .wpsc-modal .overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #000;
	opacity: .6;
	cursor: pointer;
}

.wpsc-humbargar-menu {
	position: fixed;
	width: 250px;
	height: 100%;
	box-sizing: border-box;
	top: 0;
	right: 0;
	background-color: #fff;
	overflow: auto;
}

.wpsc-humbargar-menu .wpsc-merge-box-inner {
	padding: 15px 15px 0;
}

.wpsc-humbargar-close {
	display: flex;
	width: 100%;
	align-items: center;
	color: #000;
	cursor: pointer;
	margin-bottom: 20px;
}

.wpsc-humbargar-close svg {
	width: 16px;
}

.wpsc-humbargar-menu-item, .wpsc-setting-nav {
	width: 100%;
	display: flex;
	align-items: center;
	padding: 10px;
	box-sizing: border-box;
	border: none;
	border-radius: 5px;
	background-color: #fff;
	color: #707070;
	cursor: pointer;
	margin-bottom: 5px;
}

.wpsc-humbargar-menu-item:hover, .wpsc-humbargar-menu-item.active, .wpsc-setting-nav:hover, .wpsc-setting-nav.active {
	color: #fff;
}

.wpsc-humbargar-menu-item svg, .wpsc-setting-nav svg {
	width: 18px;
	margin-right: 10px;
	min-width: 18px;
}

.wpsc-humbargar-menu-item label .wpsc-setting-nav label {
	font-size: 16px;
	font-weight: normal;
}

/* Body */
.wpsc-body {
	float: left;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	padding-top: 15px;
	box-sizing: border-box;
}

/* Loading div */
.wpsc-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100px;
}

.wpsc-loader img {
	width: 40px;
}

.wpsc-inline-loader {
	width: 18px;
}

/* Filters */
.wpsc-filter {
	float: left;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	margin: 0 15px;
}

.wpsc-search {
	display: flex;
	align-items: center;
	flex-grow: 1;
	color: #9aa5b4;
}

.wpsc-search .search-field {
	display: flex;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	width: 320px;
	max-width: 100%;
	height: 38px;
	margin-bottom: 10px;
	padding: 0 12px;
	background-color: #fff;
	border: 1px solid #d5dae1;
	border-radius: 8px;
	transition: border-color .15s, box-shadow .15s;
}

.wpsc-search .search-field:hover {
	border-color: #9aa5b4;
}

.wpsc-search .search-field:focus-within {
	border-color: #0079bf;
	box-shadow: 0 0 0 2px rgba(0, 121, 191, .15);
	color: #0079bf;
}

.wpsc-search svg {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.wpsc-search input, .wpsc-search input:focus {
	flex-grow: 1;
	min-width: 0;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	background-color: transparent !important;
	font-size: 14px;
	color: #3d4756;
}

.wpsc-search input::placeholder {
	color: #9aa5b4;
}

.wpsc-filter-container {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	margin-bottom: 10px;
}

.wpsc-filter-item {
	max-width: 200px;
	margin-right: 5px;
	margin-bottom: 10px;
}

.wpsc-filter-item label {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 3px;
}

.wpsc-filter-item select {
	width: 100% !important;
}

.wpsc-filter-submit {
	display: flex;
	margin-bottom: 10px;
}

/* Quick filters */
.wpsc-quick-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin-bottom: 12px;
}

.wpsc-qf {
	position: relative;
	max-width: 100%;
}

.wpsc-qf-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: min(260px, 100%);
	height: 32px;
	margin: 0;
	padding: 0 10px 0 12px;
	background: #fff;
	border: 1px solid #d5dae1;
	border-radius: 20px;
	box-shadow: none;
	font-size: 13px;
	line-height: 1;
	color: #3d4756;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}

.wpsc-qf-btn:hover {
	border-color: #9aa5b4;
	background: #fff;
	color: #3d4756;
}

.wpsc-qf-btn:focus-visible, .wpsc-qf-btn[aria-expanded="true"] {
	outline: none;
	border-color: #0079bf;
	box-shadow: 0 0 0 2px rgba(0, 121, 191, .15);
}

.wpsc-qf-btn.active {
	background: #e8f3fb;
	border-color: #0079bf;
	color: #0079bf;
}

.wpsc-qf-btn .qf-label, .wpsc-qf-btn .qf-value {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.wpsc-qf-btn .qf-label {
	flex-shrink: 1;
	min-width: 0;
	max-width: 120px;
	font-weight: 500;
}

.wpsc-qf-btn .qf-value {
	flex-shrink: 1;
	min-width: 0;
	max-width: 140px;
	font-weight: 600;
}

.wpsc-qf-btn .qf-value:empty {
	display: none;
}

.wpsc-qf-btn .qf-value:not(:empty)::before {
	content: ":";
	margin-right: 4px;
	font-weight: 500;
}

.wpsc-qf-btn .qf-caret {
	flex-shrink: 0;
	opacity: .6;
}

.wpsc-qf-panel {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	box-sizing: border-box;
	min-width: 220px;
	max-width: min(320px, 92vw);
	background: #fff;
	border: 1px solid #d5dae1;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(16, 24, 40, .14);
	overflow: hidden;
}

.wpsc-qf-panel .qf-search-wrap {
	position: relative;
	padding: 8px;
	border-bottom: 1px solid #eef0f4;
	background: #fff;
}

.wpsc-qf-panel .qf-search-wrap .qf-search-icon {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	color: #9aa5b4;
	pointer-events: none;
}

.wpsc-qf-panel .qf-search-wrap input.qf-search, .wpsc-qf-panel .qf-search-wrap input.qf-search:hover {
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	height: 36px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 12px 0 34px !important;
	border: 1px solid #d5dae1 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	outline: none !important;
	background: #fff !important;
	font-size: 13px;
	color: #3d4756;
}

.wpsc-qf-panel .qf-search-wrap input.qf-search:hover {
	border-color: #9aa5b4 !important;
}

.wpsc-qf-panel .qf-search-wrap input.qf-search:focus {
	border: 1px solid #0079bf !important;
	border-radius: 8px !important;
	box-shadow: 0 0 0 2px rgba(0, 121, 191, .15) !important;
	outline: none !important;
	background: #fff !important;
}

.wpsc-qf-panel .qf-search-wrap input.qf-search::placeholder {
	color: #9aa5b4;
}

.wpsc-qf-panel .qf-options li.qf-loading {
	color: #9aa5b4;
	font-size: 12px;
	text-align: center;
	cursor: default;
	pointer-events: none;
}

.wpsc-qf-panel .qf-options {
	max-height: 260px;
	margin: 0;
	padding: 4px;
	overflow-y: auto;
	list-style: none;
}

.wpsc-qf-panel .qf-options li {
	position: relative;
	margin: 0;
	padding: 7px 28px 7px 10px;
	border-radius: 6px;
	font-size: 13px;
	color: #3d4756;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	cursor: pointer;
}

.wpsc-qf-panel .qf-options li:hover, .wpsc-qf-panel .qf-options li.hover {
	background: #f1f5f9;
}

.wpsc-qf-panel .qf-options li.selected {
	font-weight: 600;
	color: #0079bf;
}

.wpsc-qf-panel .qf-options li.selected::after {
	content: "✓";
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}

.wpsc-qf-panel .qf-empty {
	padding: 12px;
	font-size: 13px;
	color: #6b7686;
	text-align: center;
}

.wpsc-quick-filters .wpsc-quick-clear {
	padding: 4px 8px;
	border: none;
	background: none;
	box-shadow: none;
	font-size: 12px;
	color: #6b7686;
	cursor: pointer;
}

.wpsc-quick-filters .wpsc-quick-clear:hover {
	color: #c0392b;
	background: none;
}

.wpsc-it-action-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.wpsc-filter-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.wpsc-it-action-container .wpsc-filter-actions {
	margin-bottom: 15px;
}

.wpsc-filter-actions .action-devider {
	height: 18px;
	border-left: 1px solid #2c3e50;
	margin: 0 5px;
}

.wpsc-filter-actions span {
	cursor: pointer;
	font-size: 16px;
	text-decoration: underline;
}

.wpsc-filter-actions span:hover {
	color: #0073aa;
}

/* Ticket List */
.wpsc-tickets-container {
	border: none;
	box-shadow: 0 0 3px 0 #a4b0be;
	border-radius: 5px;
	padding: 15px 15px 0 15px;
	margin: 0 15px 15px;
	width: calc(100% - 30px);
	box-sizing: border-box;
}

.wpsc-bulk-actions {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.wpsc-bulk-actions select {
	min-width: 150px;
	max-width: 250px;
	margin-right: 5px;
}

.wpsc-bulk-actions button {
	margin-right: 5px;
	display: flex;
	align-items: center;
}

.wpsc-bulk-actions button:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.wpsc-bulk-actions button svg {
	height: 13px;
	margin-left: 15px;
}

.wpsc-ticket-pagination-header {
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: flex-end;
}

.wpsc-ticket-pagination-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0 0 20px;
	box-sizing: border-box;
}

.wpsc-ticket-pagination-header span, .wpsc-ticket-pagination-footer span {
	display: flex;
	align-items: center;
	font-size: 14px;
	cursor: pointer;
}

.wpsc-ticket-pagination-header span.wpsc-pagination-txt, .wpsc-ticket-pagination-footer span.wpsc-pagination-txt {
	text-decoration: none;
	cursor: default;
}

.wpsc-ticket-pagination-header svg, .wpsc-ticket-pagination-footer svg {
	height: 14px;
	margin: 0 10px;
	cursor: pointer;
}

.wpsc-ticket-pagination-header span.wpsc-pagination-btn.disabled, .wpsc-ticket-pagination-footer span.wpsc-pagination-btn.disabled {
	opacity: .4;
	cursor: not-allowed;
}

/* Popover Menu */
.wpsc-popover-menu {
	padding: 3px !important;
	border-radius: 3px !important;
}

.wpsc-popover-menu-item {
	display: flex;
	align-items: center;
	padding: 10px;
	cursor: pointer;
	background-color: #fff;
	color: #707070;
}

.wpsc-popover-menu-item:hover {
	color: #fff;
}

.wpsc-popover-menu-item svg {
	width: 14px;
	margin-right: 10px;
}

.wpsc-popover-menu-item span {
	font-size: 14px;
}

/* Ticket List */
.wpsc-ticket-list-tbl {
	width: 100% !important;
	margin-bottom: 20px !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	border: none !important;
	font-size: 13px !important;
}

.wpsc-ticket-list-tbl th, .wpsc-ticket-list-tbl td {
	text-align: left !important;
	padding: 10px !important;
	border: none !important;
	box-sizing: border-box;
}

.wpsc-ticket-list-tbl tbody tr:hover {
	cursor: pointer;
}

.wpsc-ticket-list-tbl th.wpsc-tl-sortable-th {
	cursor: pointer;
	white-space: nowrap;
	-webkit-user-select: none;
	user-select: none;
}

.wpsc-ticket-list-tbl th .wpsc-tl-th-inner {
	display: flex;
	align-items: center;
}

.wpsc-ticket-list-tbl th .wpsc-tl-sort-icon {
	display: inline-flex;
	align-items: center;
	flex: none;
	height: 12px;
	margin-left: 6px;
}

.wpsc-ticket-list-tbl th .wpsc-tl-sort-icon svg {
	width: auto;
	height: 100%;
	fill: #a7aaad;
}

.wpsc-ticket-list-tbl th.wpsc-tl-sorted-asc .wpsc-tl-sort-icon svg, .wpsc-ticket-list-tbl th.wpsc-tl-sorted-desc .wpsc-tl-sort-icon svg {
	fill: #2271b1;
}

/* Modal Popup */
.wpsc-modal .loader, .wpsc-modal .inner-container {
	position: fixed;
	display: flex;
	justify-content: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.wpsc-modal .loader {
	align-items: center;
}

.wpsc-modal .inner-container {
	padding-top: 50px;
	align-items: flex-start;
}

.wpsc-modal .loader img {
	width: 50px;
}

.wpsc-modal .modal {
	width: 650px;
	max-width: 95%;
	display: block;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	top: auto;
	bottom: auto;
	right: auto;
	left: auto;
}

@media only screen and (max-width: 768px) {
	.wpsc-modal .modal {
		width: 90%;
	}
	
	.wpsc-modal .inner-container {
		padding-top: 20px;
	}
	
	.wpsc-modal-body {
		max-height: calc(100vh - 180px);
		max-height: calc(100dvh - 180px);
	}
}

.wpsc-modal-header {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	padding: 14px 20px;
}

.wpsc-modal-body {
	display: flex;
	font-size: 14px;
	padding: 20px 20px 15px 20px;
	max-height: 60vh;
	overflow: auto;
	border-bottom: 1px solid #dcdfe4;
}

.wpsc-modal-footer {
	padding: 12px 20px;
}

#wpsc-container .select2-container {
	width: 100% !important;
}

.select2-container .select2-selection--single {
	height: 30px !important;
}

#wpsc-container input[type="text"], #wpsc-container input[type="password"], .wpsc-modal input[type="text"], .wpsc-modal input[type="password"] {
	padding: 0 8px;
	line-height: 2 !important;
	min-height: 30px !important;
	max-height: 30px !important;
}

.wpsc-modal-body .wpsc-tff {
	padding: 0 0 15px !important;
}

.wpsc-modal-body .wpsc-tff .name {
	font-size: 12px !important;
	font-weight: 600 !important;
}

/* Thread view toggle */
.wpsc-it-body-item.wpsc-it-thread-view-toggle {
	display: inline-flex;
	gap: 2px;
	width: fit-content;
	max-width: 100%;
	padding: 3px;
	margin-bottom: 10px;
	border: 1px solid #e2e4e7;
	border-radius: 999px;
	background-color: #f3f4f6;
}

.wpsc-it-thread-view-btn {
	padding: 5px 16px !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 999px !important;
	background-color: transparent !important;
	box-shadow: none;
	color: #50575e !important;
	font-size: 12px !important;
	font-weight: 500;
	line-height: normal;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.wpsc-it-thread-view-btn:hover:not(.active) {
	background-color: #e5e7eb !important;
	color: #1d2327 !important;
}

.wpsc-it-thread-view-btn:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 1px;
}

.wpsc-it-thread-view-btn.active {
	box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
	cursor: default;
}

.wpsc-it-thread-view-btn:disabled {
	cursor: wait;
}

/* Toggle Buttons */
.wpsc-toggle-btn {
	display: flex;
	width: fit-content;
	border: 1px solid #c3c3c3;
}

.wpsc-toggle-btn div {
	padding: 5px 10px;
	background-color: #fff;
	color: #000;
	border: none !important;
	cursor: pointer;
	font-size: 12px;
}

.wpsc-toggle-btn div.active {
	background-color: #c3c3c3;
}

/* Form fields */
.wpsc-input-group {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding-bottom: 15px;
	box-sizing: border-box;
}

.wpsc-input-group .label-container {
	display: flex;
	align-items: center;
	color: #000;
	margin-bottom: 2px;
}

.wpsc-input-group label {
	font-size: 12px;
	font-weight: 600;
	margin-right: 5px;
}

.wpsc-input-group .label-container svg {
	width: 12px;
	margin-left: 5px;
}

.wpsc-input-group .wpsc-input-desc {
	font-size: 12px;
	line-height: 1.5;
	color: #646970;
	margin: 0 0 5px;
}

.wpsc-input-group input[type="text"], .wpsc-input-group select {
	width: 100%;
	max-width: 100%;
}

.wpsc-input-group .checkbox-group, .wpsc-input-group .radio-group {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.wpsc-input-group .checkbox-group div, .wpsc-input-group .radio-group div {
	width: 250px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 10px 5px 0;
}

.wpsc-input-group .checkbox-group div input, .wpsc-input-group .radio-group div input {
	margin: 0 5px 0 0 !important;
}

.wpsc-input-group .checkbox-group div span, .wpsc-input-group .radio-group div span {
	font-size: 12px;
	font-weight: 300;
}

.wpsc-input-group .required-char {
	font-size: 12px;
	color: #f00;
}

.wpsc-input-group .divide-bar {
	width: 100%;
	display: flex;
	flex-wrap: grid;
	align-items: center;
}

.wpsc-form-devider {
	width: 100%;
	display: flex;
	justify-content: center;
	font-size: 18px;
	margin-bottom: 15px;
}

.wpsc-form-devider span.label {
	margin: 0 10px;
}

/* Individual Ticket */
.wpsc-it-container {
	display: flex;
	align-items: flex-start;
	width: 100%;
	box-sizing: border-box;
	margin: 0 15px;
}

.wpsc-it-body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	flex-grow: 1;
	gap: 10px;
}

.wpsc-it-sidebar-widget-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 250px;
	max-width: 250px;
	box-sizing: border-box;
	margin-left: 20px;
}

.wpsc-it-body-item, .wpsc-it-widget {
	width: 100%;
	box-sizing: border-box;
}

.wpsc-it-subject-container {
	display: flex;
	align-items: flex-start;
	width: 100%;
	box-sizing: border-box;
}

.wpsc-it-subject-container h2 {
	flex-grow: 1;
	margin: 0px !important;
	font-size: 18px !important;
	font-weight: 300;
	color: #000;
}

.wpsc-it-subject-container span {
	display: flex;
	align-items: center;
	cursor: pointer;
	width: 20px;
	margin-left: 5px;
}

.wpsc-it-subject-container svg {
	width: 18px;
	margin-bottom: 5px;
}

.wpsc-it-reply-section-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
}

#wpsc-it-bcc, #wpsc-it-cc {
	width: 100%;
	box-shadow: 0px 0px 3px 2px #ddd !important;
	border-radius: 0px !important;
	margin-bottom: 10px;
}

.mce-tinymce {
	margin-bottom: 10px !important;
	box-shadow: 0px 0px 3px 2px #ddd !important;
}

.wpsc-it-editor-action-container {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
	margin: 0 1px;
}

.wpsc-it-editor-action-container > * {
	flex: 1 1 auto;
}

.wpsc-it-editor-action-container .actions {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	margin-bottom: 5px;
}

.wpsc-it-editor-action-container .submit-container {
	display: flex;
	justify-content: flex-end;
}

.wpsc-it-editor-submit {
	margin-left: 5px;
}

.wpsc-editor-actions, .wpsc-editor-attachment-container {
	display: flex;
	flex-wrap: wrap;
}

.wpsc-editor-actions span {
	cursor: pointer;
	font-size: 16px;
	font-weight: normal;
	margin-right: 10px;
}

.wpsc-editor-attachment-container {
	flex-direction: column;
}

.wpsc-editor-attachment {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 500px;
	box-sizing: border-box;
	margin-top: 5px;
	padding: 5px 10px;
	border-radius: 3px;
}

.wpsc-editor-attachment.upload-waiting {
	background-color: #ffebce;
	color: #eb961c;
}

.wpsc-editor-attachment.upload-success {
	background-color: #c7ecee;
	color: #2d9ba1;
}

.wpsc-editor-attachment.upload-error {
	background-color: #ffe7e1;
	color: #ec1010;
}

.wpsc-editor-attachment.upload-waiting .attachment-remove {
	display: none;
}

.wpsc-editor-attachment.upload-success .attachment-waiting, .wpsc-editor-attachment.upload-error .attachment-waiting {
	display: none;
}

.wpsc-editor-attachment .attachment-label {
	flex-grow: 1;
	font-size: 12px;
	font-weight: 400;
}

.wpsc-editor-attachment .attachment-remove, .wpsc-editor-attachment .attachment-waiting {
	display: flex;
	align-items: center;
	margin-left: 5px;
}

.wpsc-editor-attachment .attachment-remove {
	cursor: pointer;
}

.wpsc-editor-attachment svg {
	height: 12px;
}

.wpsc-it-thread-section-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	margin-top: 35px;
	margin-bottom: 0px !important;
}

.wpsc-thread {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 50px;
}

.wpsc-thread .thread-avatar {
	display: flex;
	align-items: flex-start;
}

.wpsc-thread .thread-avatar img {
	border-radius: 22px;
	max-width: 32px;
}

.wpsc-thread .thread-avatar svg {
	width: 32px;
	color: #777;
}

.wpsc-thread .thread-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex-grow: 1;
	margin-left: 10px;
}

.wpsc-thread .thread-header {
	display: flex;
	width: 100%;
	margin-bottom: 10px;
}

.wpsc-thread .user-info {
	display: flex;
	flex-grow: 1;
	flex-direction: column;
}

.wpsc-thread .user-info h2 {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

.wpsc-thread .thread-type {
	opacity: .5;
}

.wpsc-thread .thread-time, .wpsc-thread-logs {
	font-size: 10px;
	font-weight: normal;
}

.wpsc-thread .actions {
	display: none;
	align-items: flex-start;
	justify-content: flex-end;
}

.wpsc-thread:hover .actions {
	display: flex;
}

.wpsc-thread .actions span {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
	margin-left: 5px;
}

.wpsc-thread .actions svg {
	height: 14px;
}

.wpsc-thread .thread-text, .wpsc-modal-thread-log .thread-text {
	font-size: 14px;
	font-weight: 400;
	margin-bottom: 10px;
	word-break: break-word;
}

.wpsc-thread .thread-text {
	overflow: hidden;
}

.wpsc-thread .thread-text.wpsc-collapsed {
	max-height: 100px;
}

.wpsc-thread .thread-text.wpsc-expanded {
	max-height: none;
}

.wpsc-thread .thread-text ul {
	list-style-type: disc !important;
	padding-inline-start: 2em;
}

.wpsc-thread p {
	font-size: 14px;
	font-weight: 400;
}

.wpsc-log-diff {
	display: flex;
	width: 100%;
	box-sizing: border-box;
}

.wpsc-log-diff .lhs, .wpsc-log-diff .transform-icon, .wpsc-log-diff .rhs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	word-break: break-word;
	overflow-wrap: anywhere;
	white-space: normal;
}

.wpsc-log-diff .transform-icon svg {
	width: 12px;
	margin: 0 10px;
}

.wpsc-edit-thread {
	display: flex;
	width: 100%;
	flex-direction: column;
}

.wpsc-modal-thread-log {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.wpsc-it-widget {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-bottom: 15px;
}

.wpsc-widget-header {
	display: flex;
	align-items: center;
	padding: 10px;
}

.wpsc-widget-header h2 {
	font-size: 14px !important;
	font-weight: 600;
	flex-grow: 1;
	margin: 0px !important;
}

.wpsc-widget-header span {
	display: flex;
	align-items: center;
	margin-left: 5px;
	cursor: pointer;
}

.wpsc-widget-header svg {
	width: 14px;
}

.wpsc-widget-body {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	font-weight: normal;
	padding: 10px 10px 0;
	overflow-y: auto;
}

.wpsc-widget-body .info-list-item {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.wpsc-widget-body .info-list-item .info-label {
	margin-right: 5px;
}

.wpsc-widget-default {
	margin-bottom: 10px;
}

.info-val.fullwidth {
	width: 100%;
}

.wpsc-widget-body .user-list-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
}

.wpsc-widget-body .user-list-item img {
	border-radius: 20px;
	margin-right: 5px;
}

.wpsc-widget-body .user-list-item .ul-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 40px;
}

.wpsc-widget-body .user-list-item .ul-label {
	font-size: 14px;
	font-weight: normal;
	margin-bottom: 5px;
}

.wpsc-widget-body .user-list-item .ul-actions {
	display: flex;
	align-items: center;
}

.wpsc-widget-body .user-list-item .ul-actions span {
	display: flex;
	align-items: center;
	cursor: pointer;
	margin-right: 5px;
}

.wpsc-widget-body .user-list-item .ul-actions svg {
	height: 14px;
}

.wpsc-it-mob-widget-trigger-btn {
	display: flex;
	cursor: pointer;
	padding: 10px;
	align-items: center;
	color: #000;
	box-shadow: 0px 0px 3px 2px #ddd !important;
}

.wpsc-it-mob-widget-trigger-btn h2 {
	flex-grow: 1;
	font-size: 16px !important;
	font-weight: 600;
	margin: 0px !important;
	color: #000;
}

.wpsc-it-mob-widget-trigger-btn span {
	display: flex;
	align-items: center;
}

.wpsc-it-mob-widget-trigger-btn svg {
	height: 16px;
}

.wpsc-it-mob-widgets-inner-container {
	margin-top: 15px;
}

.wpsc-thread-attachments {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}

.wpsc-attachment-header {
	flex-grow: 1;
	margin: 0 0 2px 0 !important;
	font-size: 12px;
	font-weight: bold;
}

.wpsc-attachment-item {
	display: flex;
	align-items: center;
	max-width: 400px;
	margin-bottom: 2px;
}

.wpsc-attachment-name {
	flex-grow: 1;
	cursor: pointer;
}

.wpsc-thread-logs {
	display: flex;
	flex-direction: column;
}

#wpsc-container table, #wpsc-container th, #wpsc-container td, .wpsc-modal table, .wpsc-modal th, .wpsc-modal td {
	border: 1px solid #ddd;
	border-collapse: collapse;
	cursor: pointer;
}

#wpsc-container table.wpsc-ap-table, #wpsc-container table.wpsc-ap-table td {
	border: none;
}

.dt-search {
	margin-bottom: 10px !important;
}

#wpsc-container .dataTables_wrapper th, #wpsc-container .dataTables_wrapper td, #wpsc-container table.dataTable.no-footer, .wpsc-modal .dataTables_wrapper th, .wpsc-modal .dataTables_wrapper td, .wpsc-modal table.dataTable.no-footer {
	border-bottom: 1px solid #ddd !important;
}

.wpsc_url_auth_sign_in {
	padding-bottom: 10px;
}

.wpsc_url_auth_sign_in p {
	margin: 0;
}

.wpsc_auth_header {
	font-size: 16px;
}

.wpsc_auth_link {
	font-size: 12px;
}

/* Macro */
.wpscMacros .extra-info {
	font-size: 12px;
	color: #777;
}

/* Form Filter */
.wpsc-form-filter-container, .wpsc-form-filter-container .and-item {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	border: 1px dashed #000;
	border-radius: 5px;
	padding: 15px;
	box-sizing: border-box;
}

.wpsc-form-filter-container .and-container, .wpsc-form-filter-container .or-container {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.wpsc-form-filter-container .and-container {
	gap: 15px;
}

.wpsc-form-filter-container .or-container {
	gap: 5px;
}

.wpsc-form-filter-container button {
	width: fit-content;
}

.wpsc-form-filter-item {
	display: flex;
	width: 100%;
	align-items: center;
	margin-bottom: 5px;
	padding: 5px 5px 0 5px;
	background-color: #dcdcdc;
	border-radius: 3px;
	box-sizing: border-box;
}

.wpsc-form-filter-item .content {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.wpsc-form-filter-item .operator {
	min-height: 28px !important;
	height: 28px !important;
}

.wpsc-form-filter-item .remove-container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-grow: 1;
}

.wpsc-form-filter-item .content .item {
	width: 130px;
	max-width: 130px;
	margin: 0 5px 5px 0;
}

.wpsc-form-filter-item .content .item.operand.single {
	width: 250px;
	max-width: 250px;
}

.wpsc-form-filter-item .remove-container span {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
	cursor: pointer;
}

.wpsc-form-filter-item .remove-container svg {
	width: 18px;
	color: #c3c3c3;
}

.wpsc-form-filter-add-btn {
	width: fit-content;
}

.select2-container .select2-selection--single {
	margin: 0 !important;
}

.wpsc-form-filter-item .content .wpsc-inline-loader {
	margin-bottom: 5px;
}

/* Snippets */
.wpsc-snippets {
	display: none;
}

/* Flatpicker */
.flatpickr-calendar.open {
	z-index: 999999999 !important;
}

/* Section */
.wpsc-section-header {
	font-size: 22px;
	font-weight: 300;
	margin: 0 5px 15px 0;
}

.wpsc-section-container {
	border: none;
	box-shadow: 0 0 3px 0 #a4b0be;
	border-radius: 5px;
	padding: 15px 0 0 0;
	width: 100%;
	font-size: 12px;
	box-sizing: border-box;
}

/* TinyMCE editor switching */
.wpsc_tinymce_editor_btns {
	display: flex !important;
	justify-content: flex-end;
	margin-bottom: 4px;
}

.wpsc_tinymce_editor_btns .inner-container {
	border: 1px solid #c3c3c3;
	display: flex;
}

.wpsc-switch-editor {
	cursor: pointer;
	border: none;
	padding: 6px 24px !important;
	text-align: center;
	font-size: 13px;
	background-color: #fff;
	color: #000;
	border-radius: 0 !important;
	margin: 0 !important;
}

.wpsc-switch-editor.active {
	background: #c3c3c3;
}

.wpsc_textarea:not(#wpsc-en-body) {
	height: 160px !important;
	width: 100% !important;
}

/* Email Notifications body editor (Ticket Notifications, OTP, Satisfaction Survey,
   Auto Close Ticket, WooCommerce create ticket): allow vertical resize handle to work
   by not forcing height with !important. Scoped to this id only so other .wpsc_textarea
   usages (canned replies, GDPR/T&C, ticket description, print templates, etc.) are unaffected. */
#wpsc-en-body.wpsc_textarea {
	height: 160px;
	width: 100% !important;
	resize: vertical;
}

/* Ticket form field */
.wpsc-tff {
	display: flex;
	flex-direction: column;
}

.wpsc-tff .name {
	font-weight: bold;
}

.wpsc-tff .extra-info {
	font-size: 10px;
	margin-bottom: 5px;
}

.wpsc-tff textarea {
	min-height: 100px;
}

.wpsc-tff-label {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}

.wpsc-tff-label .required-indicator {
	color: #f00;
	margin-left: 5px;
}

.wpsc-hidden {
	display: none !important;
}

.wpsc-thread-info {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
}

.wpsc-thread-info .info-list-item {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.wpsc-thread-info .info-list-item .info-label {
	font-size: 14px;
	font-weight: normal;
	margin-right: 5px;
}

.wpsc-thread-info .info-list-item .info-val {
	font-size: 14px;
	font-weight: normal;
}

.wpsc-ticket-thread-expander {
	margin-bottom: 10px;
	color: #003eff;
	cursor: pointer;
}

/** Agent profile */
.wpsc-agent-profile {
	width: 100%;
	display: flex;
	margin: 0 15px 15px;
}

.wpsc-ap-mobile-menu {
	width: 100%;
	margin: 0 15px 10px;
}

.wpsc-ap-menu-container {
	min-width: 250px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 10px;
	margin-right: 30px;
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 6px 6px 10px 0px #ced6e0;
}

.wpsc-ap-menu-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	flex-grow: 1;
}

.wpsc-ap-nav {
	width: 100%;
	display: flex;
	align-items: center;
	padding: 10px;
	box-sizing: border-box;
	border: none;
	border-radius: 5px;
	background-color: #fff;
	color: #707070;
	cursor: pointer;
	margin-bottom: 5px;
}

.wpsc-ap-nav.active, .wpsc-ap-nav:hover {
	color: #fff;
}

.wpsc-ap-nav svg {
	width: 18px;
	margin-right: 10px;
}

.wpsc-ap-nav label {
	font-size: 14px !important;
}

.wpsc-ap-tab-container {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	align-items: center;
	margin-bottom: 10px;
}

.wpsc-ap-tab-container button {
	padding: 7px 15px;
	font-size: 16px;
	font-weight: normal;
	border: none !important;
	color: #6a6a6a;
	background-color: transparent;
	cursor: pointer;
	border-radius: 16px;
	margin: 0 5px 5px 0;
}

.wpsc-ap-tab-container button.active, .wpsc-ap-tab-container button:hover {
	color: #fff;
	background-color: #ffa04a;
}

/* date input */
.wpsc-input-close-group {
	width: 100%;
	display: flex;
}

.wpsc-input-close-group input {
	width: 100%;
}

.wpsc-input-close-group span {
	display: flex !important;
	margin-left: -18px !important;
	align-items: center !important;
	cursor: pointer !important;
}

.wpsc-input-close-group svg {
	height: 10px;
	color: #888;
}

.wpsc-no-ticket-found {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 0 0 50px 0;
	color: #8a8a8a;
	align-items: center;
	font-size: 14px;
	text-decoration: none;
	cursor: default;
}

/* working hrs */
table.wpsc-working-hrs, table.wpsc-working-hrs tr, table.wpsc-working-hrs td {
	border: none !important;
	font-size: 13px;
	color: #777;
}

table.wpsc-working-hrs td {
	padding: 0 15px 15px !important;
}

table.wpsc-working-hrs {
	width: fit-content !important;
}

.wpsc-working-hrs .dayName {
	font-weight: 600;
}

.wpsc-wh-copy-popover {
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 10;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
	padding: 10px;
	min-width: 130px;
}

.wpsc-wh-copy-popover label {
	display: block;
	margin: 6px 0;
}

.wpsc-wh-copy-popover button {
	margin-top: 6px;
}

.wpsc-working-hrs .wpsc-wh-copy {
	cursor: pointer;
}

#wpsc-calendar {
	font-size: 13px;
}

#wpsc-calendar .fc-toolbar-title {
	font-size: 1.15em;
}

#wpsc-calendar .fc-button {
	padding: .25em .6em;
	font-size: .9em;
}

#wpsc-calendar .fc-daygrid-day-number {
	padding: 2px 4px;
}

.wpsc-working-hrs .wpsc-wh-24h {
	margin-left: 5px;
}

/* Shortcode */
.wpsc-shortcode-container {
	border-radius: 5px;
	overflow: hidden;
}

/* wpsc image */
.mce-i-wpsc_insert_editor_img::before {
	content: "";
}

/* Theme compatibility */
#wpsc-container label, .wpsc-humbargar-menu label, .wpsc-modal label {
	margin: 0px !important;
}

#wpsc-container form, .wpsc-modal form {
	margin: 0 !important;
}

/* Select */
#wpsc-container select, .wpsc-modal select {
	font-size: 14px !important;
	min-height: 30px !important;
	max-height: 30px !important;
	padding: 0 24px 0 8px !important;
	line-height: 2 !important;
}

/* Checkboxes */
#wpsc-container .checkbox-container, .wpsc-modal .checkbox-container {
	display: flex;
	line-height: normal;
}

#wpsc-container .checkbox-container input, .wpsc-modal .checkbox-container input {
	padding: 0;
	height: initial;
	width: initial;
	margin-bottom: 0;
	display: none;
	cursor: pointer;
}

#wpsc-container .checkbox-container label, .wpsc-modal .checkbox-container label {
	position: relative;
	cursor: pointer;
	padding: 0 !important;
	font-size: 14px !important;
}

#wpsc-container .checkbox-container label:before, .wpsc-modal .checkbox-container label:before {
	content: "";
	-webkit-appearance: none;
	background-color: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05), inset 0px -15px 10px -12px rgba(0, 0, 0, .05);
	display: inline-block;
	position: relative;
	vertical-align: middle;
	cursor: pointer;
	margin-right: 5px;
	border: 1px solid #8a8a8a;
}

#wpsc-container .checkbox-container input:checked + label:after, .wpsc-modal .checkbox-container input:checked + label:after {
	content: "";
	display: block;
	position: absolute;
	top: 1px;
	left: 7px;
	width: 6px;
	height: 12px;
	border: solid #0079bf;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

#wpsc-container .checkbox-container label, .wpsc-modal .checkbox-container label {
	display: flex;
}

#wpsc-container .checkbox-container label:before, .wpsc-modal .checkbox-container label:before {
	width: 18px !important;
	height: 18px !important;
	box-sizing: border-box;
	padding: 8px;
}

#wpsc-container .checkbox-container label:after, .wpsc-modal .checkbox-container label:after {
	flex-grow: 1;
}

#wpsc-container .checkbox-container p, .wpsc-modal .checkbox-container p {
	margin: 0 !important;
}

/* Radio button */
#wpsc-container .radio-container, .wpsc-modal .radio-container {
	display: flex;
	line-height: normal;
	margin-bottom: 5px;
}

#wpsc-container .radio-container input, .wpsc-modal .radio-container input {
	display: none !important;
}

#wpsc-container .radio-container input + label, .wpsc-modal .radio-container input + label {
	position: relative;
	padding-left: 23px;
	cursor: pointer;
	line-height: 18px;
	display: inline-block;
}

#wpsc-container .radio-container input + label:before, .wpsc-modal .radio-container input + label:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	border-radius: 100%;
	background: #fff;
	box-sizing: border-box;
}

#wpsc-container .radio-container input + label:after, .wpsc-modal .radio-container input + label:after {
	content: "";
	width: 12px;
	height: 12px;
	background: #0079bf;
	position: absolute;
	top: 3px;
	left: 3px;
	border-radius: 100%;
	-webkit-transition: all .2s ease;
	transition: all .2s ease;
}

#wpsc-container .radio-container input:not(:checked) + label:after, .wpsc-modal .radio-container input:not(:checked) + label:after {
	opacity: 0;
	-webkit-transform: scale(0);
	transform: scale(0);
}

#wpsc-container .radio-container input:checked + label:after, .wpsc-modal .radio-container input:checked + label:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

#wpsc-container .radio-container p, .wpsc-modal .radio-container p {
	margin: 0 !important;
}

/* Buttons */
.wpsc-button {
	border-radius: 5px !important;
	padding: 5px 10px !important;
	cursor: pointer;
	line-height: normal;
}

.wpsc-button.margin-right {
	margin-right: 5px;
}

.wpsc-button.margin-left {
	margin-left: 5px;
}

.wpsc-button.small {
	font-size: 12px !important;
}

.wpsc-button.normal {
	font-size: 14px !important;
}

/* Links */
.wpsc-link {
	cursor: pointer !important;
	text-decoration: none !important;
}

.wpsc-link:hover {
	text-decoration: underline !important;
}

/* Auth screen */
.wpsc-auth-container {
	display: flex;
	margin: 20px;
	align-items: center;
	justify-content: center;
}

.wpsc-shortcode-container:has(> .wpsc-auth-container) {
	background-color: transparent !important;
	border: none !important;
	overflow: visible;
}

.wpsc-auth-container .auth-inner-container {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	max-width: 450px !important;
	padding: 32px 40px;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
	font-size: 14px;
	line-height: 1.5;
}

.wpsc-auth-container form {
	margin: 0 !important;
}

.wpsc-auth-container h2 {
	font-size: 24px !important;
	line-height: 1.3 !important;
	margin: 0 0 20px 0 !important;
	padding: 0 !important;
	text-align: start;
}

.wpsc-auth-container .wpsc-auth-error {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 16px;
	padding: 10px 12px;
	border: 1px solid #f1c1c3;
	border-inline-start: 4px solid #d63638;
	border-radius: 5px;
	background-color: #fcf0f1;
	color: #8a1c1e;
	font-size: 13px;
	line-height: 1.45;
	text-align: start;
	animation: wpsc-auth-error-in .18s ease-out;
}

.wpsc-auth-container .wpsc-auth-error[hidden] {
	display: none;
}

.wpsc-auth-container .wpsc-auth-error-icon {
	flex-shrink: 0;
	color: #d63638;
}

#wpsc-container .wpsc-auth-container input.wpsc-invalid {
	border-color: #d63638 !important;
	box-shadow: 0 0 0 1px #d63638 !important;
}

@keyframes wpsc-auth-error-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpsc-auth-container .wpsc-auth-error {
		animation: none;
	}
}

#wpsc-container .wpsc-auth-container input[type="text"], #wpsc-container .wpsc-auth-container input[type="password"] {
	width: 100% !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: none !important;
	padding: 0 12px !important;
	font-size: 14px !important;
	line-height: normal !important;
	margin: 0 0 12px !important;
}

/* Registration rows wrap the input in a div with inline `margin: 0 0 5px !important`; pad up to the same 12px rhythm. */
.wpsc-auth-container form > div:has(> #wpsc-username), .wpsc-auth-container form > div:has(> #wpsc-email) {
	padding-bottom: 7px;
}

.wpsc-auth-container form > div small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.4;
}

.wpsc-auth-container .auth-inner-container > small {
	display: block;
	margin: -8px 0 16px !important;
	font-size: 13px;
	line-height: 1.5;
	opacity: .85;
}

.wpsc-auth-container .remember-me {
	margin: 0 0 16px !important;
}

.wpsc-auth-container .wpsc-button {
	min-height: 40px;
	padding: 0 20px !important;
	margin: 0 !important;
	line-height: 38px;
	vertical-align: middle;
}

.wpsc-auth-container .wpsc-button + .wpsc-button {
	margin-inline-start: 8px !important;
}

.wpsc-auth-container .auth-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin: 20px 0 0 !important;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, .08);
}

.wpsc-auth-container .auth-links:not(:has(*)) {
	display: none;
}

.wpsc-auth-container .auth-links .wpsc-link {
	margin: 0 !important;
	font-size: 14px;
	line-height: 1.4;
}

@media (max-width: 575px) {
	.wpsc-auth-container {
		margin: 20px 0;
	}
	
	.wpsc-auth-container .auth-inner-container {
		padding: 24px 20px;
	}
}

.wpsc-shortcode-container .select2-container, .wpsc-section-container .select2-container, .wpsc-modal-body .select2-container {
	width: 100% !important;
}

/* file attachment notice */
.wpsc-file-attachment-notice {
	align-self: flex-start;
	font-style: italic;
	font-size: 10px;
	font-weight: normal;
	color: #6e6e6e;
	margin-bottom: 10px;
}

/* Progress loader */
.wpscPrograssLoaderContainer {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.wpscPrograssLoader {
	width: 100px;
	display: inline-block;
	position: relative;
	text-align: center;
	line-height: 1.2;
}

.wpscPrograssLoader strong {
	position: absolute;
	top: 30px;
	left: 0;
	width: 100%;
	text-align: center;
	line-height: 40px;
	font-size: 30px;
}

.wpscPrograssLoader strong small {
	font-size: 15px;
}

.thread-body img {
	max-width: 100% !important;
}

/* Setting datatables */
.wpsc-setting-tbl {
	width: 100% !important;
	margin-bottom: 20px !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	border: none !important;
	font-size: 13px !important;
}

.wpsc-setting-tbl th, .wpsc-setting-tbl td {
	text-align: left !important;
	padding: 10px !important;
	border: none !important;
	box-sizing: border-box;
}

.wpsc-setting-tbl tbody tr:hover {
	cursor: pointer;
}

.wpsc-setting-tbl th {
	background-color: #313042;
	color: #fff;
}

.wpsc-setting-tbl tr:nth-child(even) {
	background-color: #f2f2f2;
	color: #2c3e50;
}

.wpsc-setting-tbl tr:nth-child(odd) {
	background-color: #fff;
	color: #2c3e50;
}

.wpsc-setting-tbl tbody tr:hover {
	background-color: #dfe4ea;
	color: #2c3e50;
}

.wpsc-thread .user-info h2.user-name {
	margin-right: 5px;
}

.options button {
	width: fit-content;
}

/* Progressbar */
.wpsc-pg-container {
	width: 100%;
}

.wpsc-pg-container .ui-progressbar {
	position: relative;
}

.wpsc-pg-label {
	position: absolute;
	left: 50%;
	top: 4px;
	font-weight: bold;
	text-shadow: 1px 1px 0 #fff;
}

/* Ticket tags */
.wpsc-ticket-tag {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
	font-weight: normal;
	width: fit-content;
	font-size: 12px;
	padding: 5px 5px;
	margin: 0 5px 5px 0;
	cursor: pointer;
	line-height: 1em;
}

.wpsc-tag-list {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

/* Agent collision */
.wpsc-agent-collision {
	margin: 0;
}

.wpsc-agent-collision .wpsc-widget-body {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 5px;
	padding: 10px;
}

/* Dashboard widgets css */

/* Card/widget background, text and icon colors are NOT set here - they come from the "Appearance
   > Dashboard" settings (wpsc-ap-dashboard option), injected as inline !important styles by
   WPSC_Tickets::get_agent_dashboard() (core/includes/admin/tickets/class-wpsc-tickets.php). This
   stylesheet only handles structure/spacing/shape, so it never fights that setting. */
:root {
	--wpsc-dash-border: #e7eaf0;
	--wpsc-dash-divider: #eef0f4;
	--wpsc-dash-surface-hover: #f8fafc;
	--wpsc-dash-accent: #0079bf;
	--wpsc-dash-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
}

.wpsc-dash-widget svg {
	height: 80px !important;
}

.wpsc-dashboard-widget-icon-header {
	display: flex;
	align-items: center;
}

.wpsc-dashboard-widget-icon-header span {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
}

.wpsc-dashboard-card-icon-header {
	cursor: pointer;
}

/* Style the row of small widgets */
.wpsc-dash-widgets-row {
	display: flex;
	flex-wrap: wrap;
}

/* Style individual small widgets */
.wpsc-dash-widget {
	margin: 10px;
	position: relative;
	box-sizing: border-box;
	border: 1px solid var(--wpsc-dash-border);
	border-radius: 12px;
	padding: 16px 18px;
	box-shadow: var(--wpsc-dash-shadow);
}

.wpsc-dash-widget2 {
	padding: 16px 18px;
}

.wpsc-dash-widget-small {
	width: calc(20% - 20px);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.wpsc-dash-widget-small .wpsc-dash-widget-icon {
	font-size: 70px;
	/* Increase the size as needed */
	margin-left: 10px;
}

.wpsc-dash-widget-small svg {
	opacity: .5;
	flex-shrink: 0;
	overflow: visible;
	height: 48px !important;
	width: 48px !important;
	margin-left: 10px;
}

.wpsc-dash-widget-mid {
	width: calc(50% - 20px);
}

.wpsc-dash-widget-large {
	width: calc(100% - 20px);
}

.wpsc-widget h2 {
	font-size: 18px;
	margin-bottom: 5px;
	font-weight: 600;
}

.wpsc-dash-widget-small h2 {
	margin-bottom: 4px;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -.02em;
}

.wpsc-dash-widget-small p {
	font-size: 13px;
	font-weight: 500;
}

/* Style the header of widgets with icons and actions */
.wpsc-dash-widget-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--wpsc-dash-divider);
	padding-bottom: 12px;
}

.wpsc-dash-widget-header svg {
	height: 15px !important;
	margin: 0px 5px 0px 0px;
}

.wpsc-dash-widget-actions {
	font-size: 12px;
}

.wpsc-dash-widget-actions a {
	cursor: pointer;
	text-decoration: none;
	color: var(--wpsc-dash-accent);
	font-weight: 500;
}

.wpsc-dash-widget-actions a:hover {
	text-decoration: underline;
}

/* Style the content of widgets */
.wpsc-dash-widget-content {
	font-size: 13px;
}

/* Tables rendered inside a widget's content area (agent list, recent tickets, todos, out-of-sla,
   timers, usergroups, agent performance, feedback, ...) - scoped to the content wrapper so this
   doesn't touch tables anywhere else in the app. Text color is intentionally left unset here so
   it inherits the widget's appearance-setting-driven text color instead of overriding it. */
.wpsc-dash-widget-content table {
	width: 100%;
	border-collapse: collapse;
}

.wpsc-dash-widget-content table thead th {
	text-align: left;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 8px 10px;
	border-bottom: 1px solid var(--wpsc-dash-divider);
	white-space: nowrap;
}

.wpsc-dash-widget-content table tbody td {
	padding: 10px;
	border-bottom: 1px solid var(--wpsc-dash-divider);
}

.wpsc-dash-widget-content table tbody tr:last-child td {
	border-bottom: none;
}

.wpsc-dash-widget-content table tbody tr:hover td {
	background-color: var(--wpsc-dash-surface-hover);
}

.wpsc-actions-btn-setting {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 15px;
}

/* Style full-width widgets */
.wpsc-full-width-widget {
	width: 100%;
}

.wpsc-dashboard-view {
	width: 100%;
}

/* table scrollable */
.wpsc-db-agent-list {
	width: 100%;
	border-collapse: collapse;
}

.wpsc-dash-widget-content::-webkit-scrollbar, .wpsc-widget-body::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}

.wpsc-dash-widget-content::-webkit-scrollbar-thumb, .wpsc-widget-body::-webkit-scrollbar-thumb {
	margin-top: 10px;
	background-color: #cfcfcf;
	border-radius: 10px;
}

.wpsc-dash-widget-content::-webkit-scrollbar-track, .wpsc-widget-body::-webkit-scrollbar-track {
	background-color: transparent;
}

/* table scrollable end */
.wpsc-dash-widget-mid .wpsc-dash-widget-content {
	max-height: 400px;
	height: 400px;
}

.wpsc-dbw-info {
	overflow-y: auto;
}

/* Additional styles for responsive design can be added as needed */
@media screen and (max-width: 1200px) {
	.wpsc-dash-widget-small {
		width: calc(25% - 20px);
	}
	
	.wpsc-dash-widget-mid {
		width: calc(100% - 20px);
	}
}

@media screen and (max-width: 768px) {
	.wpsc-dash-widget-small {
		width: calc(33% - 20px);
	}
	
	.wpsc-dash-widgets-row {
		margin: 0 10px;
	}
	
	.wpsc-widget {
		width: 100%;
	}
	
	.wpsc-dash-widget-small h2 {
		font-size: 25px;
		margin-bottom: 5px;
		font-weight: 600;
	}
	
	.wpsc-dash-widget-small p {
		font-size: 14px;
		font-weight: 500;
	}
	
	.wpsc-dash-widget svg {
		height: 60px !important;
	}
	
	.wpsc-dashboard-widget-icon-header {
		display: inline-flex;
		align-items: center;
	}
	
	.wpsc-dash-widget-header svg {
		height: 30px !important;
	}
	
	.wpsc-dash-widget-actions {
		padding-top: 10px;
	}
	
	.wpsc-dash-widget-mid {
		width: calc(100% - 20px);
	}
}

@media screen and (max-width: 600px) {
	.wpsc-dash-widget-small {
		width: calc(50% - 20px);
	}
	
	.wpsc-dashboard-view, .wpsc-dashboard-widget-view {
		display: contents;
	}
	
	.wpsc-dash-widget-small h2 {
		font-size: 18px;
		margin-bottom: 5px;
		font-weight: 600;
	}
	
	.wpsc-dash-widget-mid {
		width: calc(100% - 20px);
	}
}

@media screen and (max-width: 480px) {
	.wpsc-dash-widget-small {
		width: calc(100% - 20px);
	}
	
	.wpsc-dash-widget-mid {
		width: calc(100% - 20px);
	}
	
	.wpsc-dash-widget-header {
		display: block;
	}
}

.wpsc-widget-list-section {
	display: flex;
	flex-direction: column;
}

.wpsc-widget-list {
	border-bottom: 1px solid var(--wpsc-dash-divider, #eef0f4);
	padding: 10px 2px;
	font-size: 13px;
	line-height: 1.6;
}

.wpsc-widget-list:last-child {
	border-bottom: none;
}

.wpsc-widget-list a {
	color: var(--wpsc-dash-accent, #0079bf);
	font-weight: 500;
	text-decoration: none;
}

.wpsc-widget-list a:hover {
	text-decoration: underline;
}

#wpsc-dash-agent-list .dt-search {
	display: none;
}

.wpsc-recent-ticket-list td, .wpsc-db-agent-list td, .wpsc-db-user-todo td {
	cursor: default !important;
}

/* User profile starts */
.wpsc-up-section {
	width: 100%;
}

.wpsc-up-section main {
	min-width: 320px;
	max-width: 100%;
	margin: 0 auto;
}

.wpsc-up-section section {
	padding: 10px 0px;
}

.wpsc-up-content {
	display: none;
}

.wpsc-up-content.active {
	display: block;
}

.wpsc-up-section .wpsc-profile-tab {
	display: inline-block;
	margin: 0 0 -1px;
	padding: 15px 25px;
	font-weight: 600;
	font-size: 16px;
	text-align: center;
	color: #bbb;
	border: 1px solid transparent;
}

.wpsc-up-section .wpsc-profile-tab:hover {
	color: #2b2d42;
	cursor: pointer;
}

.wpsc-up-tab > .active {
	color: #2b2d42;
}

.wpsc-up-container {
	display: flex;
	align-items: center;
	margin: 0px 0px 20px 0px;
	padding: 10px;
	background-color: #f0f0f1;
	border-radius: 5px;
}

.wpsc-up-picture img {
	display: flex;
	align-items: center;
	border-radius: 50%;
	margin-right: 10px;
}

.wpsc-up-info {
	display: flex;
	flex-direction: column;
}

.wpsc-up-name {
	font-size: 16px;
	font-weight: bold;
}

.wpsc-up-email {
	font-size: 14px;
	color: #888;
}

.wpsc-back-button {
	padding: 0px 0px 10px 0px;
}

.wpsc-widget-scroller {
	height: 250px;
}

.wpsc-widget-scroller::-webkit-scrollbar {
	width: 5px;
}

.wpsc-widget-scroller::-webkit-scrollbar-thumb {
	margin-top: 10px;
	background-color: #888;
	border-radius: 10px;
}

.wpsc-widget-scroller::-webkit-scrollbar-track {
	background-color: #eee;
}

/* User profile Ends */

/* Ticket statistic create and closed ticket count css */
.ticket-info-container {
	display: flex;
	align-items: center;
}

.ticket-info-container > div, .ticket-info-container > select {
	margin: 0px 10px;
}

@media screen and (max-width: 480px) {
	.ticket-info-container {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}
	
	.ticket-info-container > div, .ticket-info-container > select {
		margin: 0px 10px 5px 0px;
	}
}

/* Ticket statistic create and closed ticket count css end */
.wpsc-ct-loader {
	margin: 0 5px;
	display: flex;
	align-items: center;
}

.wpsc-ct-actions {
	display: flex;
}

.wpsc-reg-user > .wpsc-tff {
	padding-left: 0px !important;
}

.wpsc-icon-wp-logo {
	height: 15px !important;
}

/* Agent collision css starts */
.wpsc-live-agents {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: stretch;
}

.wpsc-agent-avatar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 2px 10px 2px 2px;
	border-radius: 16px;
	cursor: pointer;
	box-sizing: border-box;
	transition: transform .2s ease, box-shadow .2s ease;
}

/* Avatar image */
.wpsc-agent-avatar img {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	object-fit: cover;
	border-radius: 50%;
}

/* Agent name shown alongside avatar (also covers installs with avatars disabled) */
.wpsc-agent-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
}

/* Agent collision css ends */

/* Error message only */
.wpsc-error-msg {
	color: #e53935;
	font-size: 12px;
	margin-top: 4px;
	line-height: 1.4;
}

#wpsc-container input[type=number] {
	min-height: 30px !important;
}

/* Inline edit (individual ticket widgets) */
.wpsc-ie-trigger {
	display: inline-block;
	max-width: 100%;
	padding: 3px 6px;
	margin: -3px -6px;
	border-radius: 6px;
	cursor: pointer;
	box-sizing: border-box;
}

.wpsc-ie-trigger:hover, .wpsc-ie-trigger.open {
	/* outline: 1px solid #c3c9d3; */
	outline-offset: 1px;
}

.wpsc-ie-trigger:focus-visible {
	outline: 2px solid #0079bf;
	outline-offset: 1px;
}

.wpsc-ie-trigger.saving {
	opacity: .5;
	pointer-events: none;
}

.wpsc-ie-trigger.wpsc-ie-assignee:hover, .wpsc-ie-trigger.wpsc-ie-assignee.open {
	background-color: #f1f3f5;
}

.wpsc-ie-trigger.wpsc-ie-assignee {
	transition: background-color .15s;
	display: block;
	width: 100%;
	margin: 0;
	padding: 4px 4px 0;
	box-sizing: border-box;
}

/* Jira style button for status, category and priority */
.wpsc-ie-trigger.wpsc-ie-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	margin: 0;
	padding: 5px 10px;
	border-radius: 6px;
	background: #eef1f5;
	color: #344054;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.wpsc-ie-trigger.wpsc-ie-btn:hover, .wpsc-ie-trigger.wpsc-ie-btn.open {
	outline: none;
	filter: brightness(.94);
}

.wpsc-ie-btn .wpsc-ie-btn-label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wpsc-ie-btn .wpsc-ie-chevron {
	display: inline-flex;
	flex: none;
}

.wpsc-ie-btn .wpsc-ie-chevron svg {
	width: 10px;
	height: 10px;
}

.wpsc-ie-assignee .wpsc-ie-avatar-empty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 28px;
	height: 28px;
	margin-right: 8px;
	border-radius: 50%;
	background: #e4e7ec;
	color: #667085;
}

.wpsc-ie-assignee .wpsc-ie-avatar-empty svg {
	width: 14px;
	height: 14px;
}

.wpsc-widget-body .wpsc-ie-assign-me {
	display: inline-block;
	margin: -6px 0 10px 4px;
	cursor: pointer;
}

.wpsc-ie-panel {
	color: #1d2327;
	font-size: 13px;
	box-sizing: border-box;
}

.wpsc-ie-popover {
	position: fixed;
	z-index: 100000;
	width: 260px;
	max-width: calc(100vw - 16px);
	background: #fff;
	color: #1d2327;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(16, 24, 40, .18);
	padding: 6px;
	box-sizing: border-box;
	font-size: 13px;
}

.wpsc-ie-panel .wpsc-ie-search {
	display: block;
	width: 100%;
	margin: 0 0 6px;
	padding: 7px 10px;
	font-size: 13px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	box-sizing: border-box;
}

.wpsc-ie-panel .wpsc-ie-list {
	max-height: 260px;
	overflow-y: auto;
}

.wpsc-ie-panel .wpsc-ie-list.loading {
	opacity: .55;
}

.wpsc-ie-panel .wpsc-ie-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 8px;
	border-radius: 6px;
	cursor: pointer;
}

.wpsc-ie-panel .wpsc-ie-item:hover, .wpsc-ie-panel .wpsc-ie-item:focus {
	background: #f2f4f7;
	outline: none;
}

.wpsc-ie-panel .wpsc-ie-item .wpsc-ie-label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wpsc-ie-panel .wpsc-ie-item .wpsc-tag {
	flex: none;
	width: auto;
	font-size: 12px;
	margin: 0;
	margin-inline-end: auto;
}

.wpsc-ie-panel .wpsc-ie-check {
	flex: none;
	width: 16px;
	text-align: center;
	color: #0079bf;
	font-weight: bold;
}

.wpsc-ie-panel .wpsc-ie-avatar {
	flex: none;
	width: 26px;
	height: 26px;
	line-height: 26px;
	border-radius: 50%;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
}

.wpsc-ie-panel .wpsc-ie-me {
	color: #0079bf;
	font-weight: 600;
	margin-bottom: 2px;
}

.wpsc-ie-panel .wpsc-ie-me .wpsc-ie-avatar {
	background: #0079bf !important;
}

.wpsc-ie-panel .wpsc-ie-me.selected .wpsc-ie-label::after {
	content: "";
}

.wpsc-ie-panel .wpsc-ie-group-title {
	margin: 8px 0 2px;
	padding: 4px 8px 0;
	border-top: 1px solid #e5e7eb;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: #6b7280;
}

.wpsc-ie-panel .wpsc-ie-sort {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 6px 8px 2px;
	border-top: 1px solid #eef0f4;
	margin-top: 4px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #667085;
}

.wpsc-ie-panel .wpsc-ie-sort-btns {
	display: flex;
	gap: 2px;
}

.wpsc-ie-panel .wpsc-ie-sort-btns button {
	padding: 2px 8px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #667085;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
	cursor: pointer;
}

.wpsc-ie-panel .wpsc-ie-sort-btns button.active {
	background: #eef2f6;
	color: #1d2327;
	font-weight: 600;
}

.wpsc-ie-panel .wpsc-ie-empty {
	padding: 10px 8px;
	color: #667085;
}

.wpsc-ie-panel .wpsc-ie-footer {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	padding-top: 6px;
	margin-top: 6px;
	border-top: 1px solid #eef0f4;
}

/* Assignee inline editor (rendered inside the widget, like tags) */
.wpsc-ie-assignee-editor {
	display: none;
}

.wpsc-ie-assignee-wrap.editing .wpsc-ie-assignee, .wpsc-ie-assignee-wrap.editing .wpsc-ie-assign-me {
	display: none;
}

.wpsc-ie-assignee-wrap.editing .wpsc-ie-assignee-editor {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	background: transparent;
	border: 0;
}

.wpsc-ie-assignee-editor.saving {
	opacity: .5;
	pointer-events: none;
}

/* Ticket tags inline editor */
.wpsc-tags-view {
	cursor: pointer;
}

.wpsc-tags-view:focus-visible {
	outline: 2px solid #0079bf;
	outline-offset: 2px;
	border-radius: 4px;
}

.wpsc-tags-editor {
	display: none;
}

.wpsc-tags-wrap.editing .wpsc-tags-view {
	display: none;
}

.wpsc-tags-wrap.editing .wpsc-tags-editor {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	background: transparent;
	border: 0;
}

.wpsc-tags-editor.saving {
	opacity: .5;
	pointer-events: none;
}

.wpsc-tags-editor .wpsc-tags-create {
	color: #0079bf;
	font-weight: 600;
}

.wpsc-tags-editor .wpsc-ie-footer button:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.wpsc-ie-panel .wpsc-ie-footer button:disabled {
	opacity: .5;
	cursor: not-allowed;
}

/* Assignee widget avatar */
.wpsc-av {
	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-right: 8px;
	border-radius: 50%;
	overflow: hidden;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.wpsc-av img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	border-radius: 50%;
	object-fit: cover;
}

.wpsc-ie-assignee .user-list-item {
	align-items: center;
}

.wpsc-ie-assignee .user-list-item .ul-body {
	min-height: 28px;
}

.wpsc-ie-assignee .user-list-item .ul-label {
	margin-bottom: 0;
}

.wpsc-ie-assignee .wpsc-ie-unassigned .ul-body {
	min-height: 28px;
}

.wpsc-av.wpsc-av-lg {
	margin-right: 5px;
}

.wpsc-thread .thread-avatar .wpsc-av, .wpsc-agent-avatar .wpsc-av {
	margin: 0;
}

.wpsc-up-picture .wpsc-av {
	margin: 0 10px 0 0;
}

/* Widget frame: border colour is derived from the Appearance colours in class-wpsc-framework.php */
.wpsc-it-widget:not(.wpsc-itw-ticket-summary) {
	border: 1px solid rgba(128, 128, 128, .14);
	border-radius: 6px;
	overflow: hidden;
}

/* Inline editors sit directly on the widget body, so they follow its colours */
.wpsc-widget-body .wpsc-ie-panel {
	color: inherit;
}

.wpsc-widget-body .wpsc-ie-panel .wpsc-ie-item:hover, .wpsc-widget-body .wpsc-ie-panel .wpsc-ie-item:focus {
	background: rgba(128, 128, 128, .14);
}

.wpsc-widget-body .wpsc-ie-panel .wpsc-ie-search {
	background: transparent;
	color: inherit;
	border-color: rgba(128, 128, 128, .45);
}

.wpsc-widget-body .wpsc-ie-panel .wpsc-ie-item, .wpsc-widget-body .wpsc-ie-panel .wpsc-ie-empty, .wpsc-widget-body .wpsc-ie-panel .wpsc-ie-sort {
	color: inherit;
}

.wpsc-widget-body .wpsc-ie-panel .wpsc-ie-footer, .wpsc-widget-body .wpsc-ie-panel .wpsc-ie-sort {
	border-top-color: rgba(128, 128, 128, .25);
}
