/* Remove blue border on link click/focus - Global */
.ssc-app a:focus,
.ssc-app a:active,
.ssc-app a:focus-visible,
a:focus,
a:active,
a:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}

/* Dashicons Base Styles */
.dashicons,
.dashicons-before:before {
	font-family: dashicons !important;
	display: inline-block;
	line-height: 1;
	font-weight: normal;
	font-style: normal;
	speak: never;
	text-decoration: inherit;
	text-transform: none;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-align: center;
	transition: color .1s ease-in;
}

.dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	vertical-align: top;
}

/* Remove underline from links and buttons throughout the app */
.ssc-app a,
.ssc-app a:hover,
.ssc-app a:focus,
.ssc-app .button,
.ssc-app .button:hover,
.ssc-app .button:focus,
.ssc-app button,
.ssc-app button:hover,
.ssc-app button:focus {
	text-decoration: none !important;
	cursor: pointer !important;
}

/* Dashboard button-secondary styling */
.ssc-app .button.button-secondary {
	width: auto;
	margin: 0;
}

:root {
	--ssc-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Typography */
body,
h1, h2, h3, h4, h5, h6, p, a {
	font-family: var(--ssc-font-stack);
}

/* Base font settings for body text */
.ssc-app,
.ssc-app * {
	font-family: var(--ssc-font-stack);
}

.ssc-app h1,
.ssc-app h2,
.ssc-app h3,
.ssc-app h4,
.ssc-app h5,
.ssc-app h6,
.ssc-app p,
.ssc-app a {
	font-family: var(--ssc-font-stack);
}

/* Global Form Styling */
.ssc-panel form label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	color: #7c869d;
	margin-bottom: 6px;
	display: block;
}

.ssc-panel form input[type="text"],
.ssc-panel form input[type="email"],
.ssc-panel form input[type="tel"],
.ssc-panel form input[type="url"],
.ssc-panel form input[type="password"],
.ssc-panel form input[type="number"],
.ssc-panel form input[type="search"],
.ssc-panel form input[type="date"],
.ssc-panel form input[type="time"],
.ssc-panel form input[type="datetime-local"],
.ssc-panel form input[type="month"],
.ssc-panel form textarea,
.ssc-panel form select {
	width: 100%;
	border-radius: 16px;
	border: 1px solid #dfe5f5;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 500;
	font-family: var(--ssc-font-stack);
	color: #1c2434;
	background: #fff;
	box-sizing: border-box;
	margin: 0 0 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ssc-panel form textarea {
	min-height: 110px;
	resize: vertical;
}

.ssc-panel form select:not([multiple]) {
	appearance: none;
	-webkit-appearance: none;
	-moz-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='%231c2434' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 44px;
	cursor: pointer;
}

.ssc-panel form input[type="checkbox"],
.ssc-panel form input[type="radio"] {
	width: auto;
	margin: 0 8px 0 0;
}

.ssc-panel form input:focus,
.ssc-panel form textarea:focus,
.ssc-panel form select:focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 2px rgba(31,142,241,.12);
	background: #fff;
}

.ssc-panel form input::placeholder,
.ssc-panel form textarea::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

.ssc-date-field {
	position: relative;
}

.ssc-date-field input[type="date"] {
	padding: 10px 38px 10px 14px;
}

.ssc-date-field::after {
	content: '\f508';
	font-family: dashicons;
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #7c869d;
	pointer-events: none;
	font-size: 16px;
}

.ssc-date-field input[data-date-picker] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ssc-date-field .flatpickr-input {
	width: 100%;
	border-radius: 12px;
	border: 1px solid #dfe5f5;
	padding: 10px 38px 10px 14px;
	font-size: 14px;
	background: #fff;
}

.ssc-date-field .flatpickr-input:focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 2px rgba(31,142,241,.15);
}

.flatpickr-calendar {
	font-family: 'Segoe UI', 'Roboto', sans-serif;
	border: none;
	box-shadow: 0 20px 40px rgba(20,29,43,.15);
	border-radius: 20px;
	padding: 12px 16px 16px;
}

.flatpickr-months .flatpickr-month {
	background: transparent;
	color: #1c2434;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
	color: #1f8ef1;
}

.flatpickr-current-month input.cur-year {
	font-weight: 600;
	color: #1c2434;
}

.flatpickr-weekday {
	color: #7c869d;
	font-weight: 600;
}

.flatpickr-day {
	border-radius: 12px;
	color: #1c2434;
	font-weight: 500;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
	background: linear-gradient(135deg, #002444, #003c6e);
	border: none;
	color: #fff;
	box-shadow: 0 8px 16px rgba(31,142,241,.3);
}

.flatpickr-day:hover {
	background: #f0f6ff;
	color: #1f8ef1;
}
.ssc-catalog-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 6px;
}

.ssc-catalog-hidden-select {
	position: absolute;
	left: -9999px;
	height: 0;
	width: 0;
	opacity: 0;
	pointer-events: none;
}

.ssc-client-panel form {
	overflow: hidden;
	max-height: var(--ssc-collapse-max, 0px);
	transition: max-height .45s ease, opacity .3s ease;
	opacity: 1;
}

.ssc-client-panel form.is-collapsed,
.ssc-service-panel form.is-collapsed,
form.is-collapsed[id*="form"] {
	max-height: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	overflow: hidden !important;
	display: none !important;
	transition: max-height 0.45s ease, opacity 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
}

.ssc-client-panel form:not(.is-collapsed),
.ssc-service-panel form:not(.is-collapsed) {
	display: block !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

.ssc-client-panel form.is-expanded,
.ssc-service-panel form.is-expanded,
.ssc-client-panel form:not(.is-collapsed),
.ssc-service-panel form:not(.is-collapsed),
form.is-expanded:not(.is-collapsed),
form:not(.is-collapsed)[id*="form"] {
	max-height: var(--ssc-collapse-max, 2000px) !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	display: block !important;
	overflow: visible !important;
	margin-top: 20px !important;
	margin-bottom: 20px !important;
	padding: 20px !important;
	transition: max-height 0.45s ease, opacity 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
}

/* Ensure Add Client form is always visible */
#ssc-client-form {
	display: block !important;
	opacity: 1 !important;
	max-height: none !important;
	overflow: visible !important;
	margin-top: 20px !important;
	margin-bottom: 20px !important;
	padding: 20px !important;
}

/* Ensure service grid is visible when form is expanded */
.ssc-service-panel form:not(.is-collapsed) .ssc-service-grid {
	display: grid !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.ssc-client-panel form.ssc-edit-form,
.ssc-service-panel form.ssc-edit-form {
	max-height: none !important;
	opacity: 1 !important;
	overflow: visible;
}

#ssc-edit-service-panel {
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

#ssc-edit-service-panel.ssc-show-edit-form,
#ssc-edit-product-panel.ssc-show-edit-form {
	opacity: 1;
	transform: translateY(0);
}

#ssc-edit-product-panel {
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.ssc-assign-panel {
	padding: 28px;
}

.ssc-assign-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 24px;
}

.ssc-assign-header h2 {
	font-size: 20px;
	margin: 0 0 6px;
}

.ssc-assign-header p {
	color: #7c869d;
	margin: 0;
}

.ssc-assign-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.ssc-assign-card {
	background: #f7f9fc;
	border-radius: 18px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	border: 1px solid #e2e7f3;
}

.ssc-assign-card label {
	font-size: 12px;
	text-transform: uppercase;
	color: #7c869d;
	letter-spacing: .05em;
	font-weight: 600;
}

.ssc-assign-card input,
.ssc-assign-card select {
	border-radius: 12px;
	border: 1px solid #dfe5f5;
	padding: 10px 14px;
	font-size: 14px;
	background: #fff;
}

.ssc-assign-card select:not([multiple]) {
	appearance: none;
	-webkit-appearance: none;
	-moz-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='%231c2434' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
	cursor: pointer;
}

.ssc-assign-card input:focus,
.ssc-assign-card select:focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 2px rgba(31,142,241,.15);
}

.ssc-divider-text {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 10px 0;
	color: #7c869d;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.ssc-divider-text::before,
.ssc-divider-text::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e0e6f7;
}

.ssc-catalog-meta {
	font-size: 11px;
	text-transform: uppercase;
	color: #94a0bc;
}

.ssc-catalog-live-list {
	margin-bottom: 10px;
}

.ssc-assign-footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 18px;
}

.ssc-assign-note {
	margin-top: auto;
	background: #fff;
	border-radius: 12px;
	padding: 12px;
	font-size: 12px;
	color: #6f788f;
	border: 1px dashed #ccd6ef;
}

.ssc-assign-note-section {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #e2e7f3;
}

.ssc-assign-note-section label {
	font-size: 12px;
	text-transform: uppercase;
	color: #7c869d;
	letter-spacing: .05em;
	font-weight: 600;
	margin-bottom: 10px;
	display: block;
}

.ssc-assign-note-section textarea {
	width: 100%;
	border-radius: 12px;
	border: 1px solid #dfe5f5;
	padding: 12px 14px;
	font-size: 14px;
	background: #fff;
	font-family: inherit;
	resize: vertical;
	min-height: 100px;
}

.ssc-assign-note-section textarea:focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 2px rgba(31,142,241,.15);
}

.ssc-assign-note-section textarea::placeholder {
	color: #a0a8bc;
}

.ssc-client-panel {
	padding: 28px;
	margin-bottom: 28px;
	position: relative;
	overflow: hidden;
	transition: background .2s ease;
}

.ssc-client-panel.has-expanded-form {
	overflow: visible !important;
}

.ssc-client-header {
	margin-bottom: 20px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ssc-client-header h2 {
	font-size: 20px;
	margin: 0 0 6px;
}

.ssc-client-header p {
	color: #7c869d;
	margin: 0;
}

.ssc-client-header .button {
	align-self: flex-start;
}

.ssc-client-panel::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(31,142,241,.22), rgba(61,167,255,.35));
	opacity: 0;
	transition: opacity .2s ease;
	pointer-events: none;
}

.ssc-client-panel.is-collapsed::before {
	opacity: 1;
}

.ssc-client-panel.is-collapsed .ssc-client-header h2,
.ssc-client-panel.is-collapsed .ssc-client-header p {
	color: #1f8ef1;
}

.ssc-client-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.ssc-client-card {
	background: #f7f9fc;
	border-radius: 18px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border: 1px solid #e2e7f3;
}

.ssc-client-card label {
	font-size: 12px;
	text-transform: uppercase;
	color: #7c869d;
	letter-spacing: .05em;
	font-weight: 600;
	margin-bottom: -4px;
}

.ssc-client-card input,
.ssc-client-card select,
.ssc-client-card textarea {
	border-radius: 12px;
	border: 1px solid #dfe5f5;
	padding: 10px 14px;
	font-size: 14px;
	font-family: var(--ssc-font-stack);
	font-weight: 500;
	color: #1c2434;
	background: #fff;
}

.ssc-client-card select:not([multiple]) {
	appearance: none;
	-webkit-appearance: none;
	-moz-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='%231c2434' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
	cursor: pointer;
}

.ssc-client-card textarea {
	min-height: 100px;
	resize: vertical;
}

.ssc-client-card input:focus,
.ssc-client-card select:focus,
.ssc-client-card textarea:focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 2px rgba(31,142,241,.15);
}

.ssc-client-card select[multiple] {
	min-height: 120px;
	padding: 8px 12px;
	border-radius: 12px;
	border: 1px solid #dfe5f5;
	background: #fff;
	font-size: 14px;
	line-height: 1.5;
}

.ssc-client-card select[multiple]:focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 2px rgba(31,142,241,.15);
}

.ssc-client-card select[multiple] option {
	padding: 8px 12px;
	margin: 2px 0;
	border-radius: 8px;
	transition: background-color 0.15s ease;
}

.ssc-client-card select[multiple] option:hover {
	background: #f5f7fb;
}

.ssc-client-card select[multiple] option:checked {
	background: #1f8ef1;
	color: #fff;
	font-weight: 500;
}

.ssc-client-card select[multiple] optgroup {
	font-weight: 600;
	color: #38405a;
	margin-top: 8px;
	padding: 4px 0;
	font-size: 12px;
}

/* View field value styling */
.ssc-view-field-value {
	padding: 12px 14px;
	background: #f8f9fa;
	border-radius: 12px;
	font-size: 14px;
	color: #1f2937;
	min-height: 20px;
	margin-top: 6px;
}

.ssc-view-field-value a {
	color: #1f8ef1;
	text-decoration: none;
}

.ssc-view-field-value a:hover {
	text-decoration: underline;
}

.ssc-view-field-value-bold {
	font-weight: 600;
}

.ssc-client-upload-hint {
	font-size: 11px;
	color: #7c869d;
}

.ssc-client-note {
	margin-top: auto;
	background: #fff;
	border-radius: 12px;
	padding: 12px;
	font-size: 12px;
	color: #6f788f;
	border: 1px dashed #ccd6ef;
}

.ssc-client-footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
	align-items: center;
}

.ssc-client-list-panel {
	margin-bottom: 28px;
}

.ssc-alert-panel-full {
	padding: 28px;
	margin-bottom: 28px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 8px 24px rgba(20,29,43,.08);
	overflow: hidden;
}

.ssc-panel.ssc-alert-panel-full {
	height: auto;
	padding-bottom: 48px;
}

.ssc-alert-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.ssc-alert-card-header h3 {
	margin: 0;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #7c869d;
	font-weight: 600;
}

.ssc-alert-card-header p {
	margin: 6px 0 0;
	color: #1c2434;
	font-size: 14px;
	line-height: 1.45;
}

.ssc-alert-list {
	list-style: none;
	margin: 0;
	padding: 0 0 4px;
	display: flex;
	flex-direction: row;
	gap: 16px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 8px;
	/* Hide scrollbar */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
}

.ssc-alert-list::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

/* Arrow navigation container */
.ssc-alert-scroll-wrapper {
	position: relative;
}

.ssc-alert-scroll-arrows {
	display: flex;
	justify-content: space-between;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 10;
	padding: 0 8px;
}

.ssc-alert-scroll-arrow {
	pointer-events: all;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	border: 2px solid #e2e8f0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	opacity: 0;
	visibility: hidden;
}

.ssc-alert-scroll-arrow.visible {
	opacity: 1;
	visibility: visible;
}

.ssc-alert-scroll-arrow:hover {
	background: #fff;
	border-color: #3b82f6;
	box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
	transform: scale(1.1);
}

.ssc-alert-scroll-arrow:active {
	transform: scale(0.95);
}

.ssc-alert-scroll-arrow .dashicons {
	font-size: 20px;
	color: #3b82f6;
	width: 20px;
	height: 20px;
}

.ssc-alert-scroll-arrow:hover .dashicons {
	color: #2563eb;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ssc-alert-list > li {
	flex: 0 0 280px;
	min-width: 280px;
	display: flex;
	scroll-snap-align: start;
}

.ssc-alert-empty {
	margin: 0;
	color: #7c869d;
	font-size: 14px;
}

.ssc-alert-content {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	flex: 1;
	align-content: center;
	align-items: center;
	text-align: center;
}

.ssc-alert-content strong {
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	line-height: 1.3;
}

.ssc-alert-content p {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	line-height: 1.5;
}

.ssc-alert-pill {
	display: inline-flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(10px);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #fff;
	font-weight: 600;
	width: fit-content;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin: 0 auto;
}

.ssc-panel p {
	color: #ffffff;
}

.ssc-service-alert-row td {
	border-top: none;
	padding-top: 0;
	background: transparent;
}

.ssc-service-note-row td {
	border-top: none;
	background: transparent;
	padding-top: 6px;
}

.ssc-service-note {
	background: none;
	border-radius: 14px;
	padding: 10px;
	border: none;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
	margin-top: -20px;
}

.ssc-service-note label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #7c869d;
	font-weight: 600;
	margin-bottom: 6px;
}

.ssc-service-note p {
	margin: 0;
	color: #434b5f;
	font-size: 13px;
	line-height: 1.5;
}

.ssc-alert {
	border-radius: 18px;
	padding: 10px;
	font-size: 13px;
	display: inline;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
	border: 1px solid transparent;
	box-shadow: none;
	height: 100%;
	min-height: auto;
	transition: transform .2s ease;
	position: relative;
	overflow: hidden;
}

.ssc-alert-panel-full .ssc-alert {
	min-height: auto;
	gap: 0;
}

.ssc-alert:hover {
	transform: none;
	box-shadow: none;
}

.ssc-service-alert-row .ssc-alert {
	justify-content: flex-start;
	text-align: left;
}

.ssc-alert .button,
.ssc-alert .button-secondary,
.ssc-alert .button-small {
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(10px);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: all .2s ease;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 12px;
	padding: 10px 18px;
	border-radius: 10px;
	width: 100%;
	text-align: center;
}

.ssc-alert-panel-full .ssc-alert .button,
.ssc-alert-panel-full .ssc-alert .button-secondary,
.ssc-alert-panel-full .ssc-alert .button-small {
	margin-top: auto;
}

.ssc-alert .button:hover,
.ssc-alert .button-secondary:hover {
	background: rgba(255, 255, 255, 0.35);
	border-color: rgba(255, 255, 255, 0.4);
	transform: none;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
	color: #fff;
}

.ssc-alert-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: currentColor;
	display: inline-block;
}

.ssc-alert-success {
	background: none;
	color: green;
	border-color: transparent;
	width: 100%;
	display: inline-block;
	border-radius: 0;
	margin: 0;
	box-shadow: none;
	margin-top: -30px;
	font-family: var(--ssc-font-stack);
	font-weight: 400;
}

.ssc-alert-success:hover {
	box-shadow: none;
}

.ssc-alert.ssc-alert-success {
	top: 20px;
}

.ssc-alert-warning {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.ssc-alert-warning::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, #fbbf24, #f59e0b);
	border-radius: 12px 0 0 12px;
}

.ssc-alert-warning:hover {
	box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
	transform: translateY(-1px);
	border-color: rgba(255, 255, 255, 0.3);
}

.ssc-alert-urgent {
	border-color: rgba(255, 255, 255, 0.3);
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25), 0 0 0 1px rgba(245, 158, 11, 0.15);
}

.ssc-alert-urgent::before {
	width: 4px;
	background: linear-gradient(180deg, #fcd34d, #fbbf24);
}

.ssc-alert-danger {
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.ssc-alert-danger::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, #fca5a5, #ef4444);
	border-radius: 12px 0 0 12px;
}

.ssc-alert-danger:hover {
	box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
	transform: translateY(-1px);
	border-color: rgba(255, 255, 255, 0.3);
}

@keyframes pulse-border {
	0%, 100% {
		border-color: rgba(255, 255, 255, 0.2);
	}
	50% {
		border-color: rgba(255, 255, 255, 0.4);
	}
}

/* Expiring Services Specific Enhancements - Split Design */
.ssc-alert-panel-full .ssc-alert {
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: auto;
	height: auto;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	border-radius: 12px;
	overflow: hidden;
}

.ssc-alert-panel-full .ssc-alert:hover {
	transform: translateY(-2px);
}

.ssc-alert-panel-full .ssc-alert-header {
	padding: 16px 18px;
	display: inline-block;
	align-items: center;
	width: 100%;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.05);
}

.ssc-alert-panel-full .ssc-alert-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 18px;
	flex: 1;
}

.ssc-alert-panel-full .ssc-alert-content strong {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ssc-alert-panel-full .ssc-alert-content strong .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	opacity: 0.95;
	flex-shrink: 0;
}

.ssc-alert-panel-full .ssc-alert-content .ssc-service-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ssc-alert-panel-full .ssc-alert-content .ssc-service-name {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 500;
	line-height: 1.4;
}

.ssc-alert-panel-full .ssc-alert-content .ssc-service-details {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ssc-alert-panel-full .ssc-alert-content .ssc-status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(10px);
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
	border: 1px solid rgba(255, 255, 255, 0.2);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.ssc-alert-panel-full .ssc-alert-content .ssc-date-text {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	font-family: 'Courier New', monospace;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ssc-alert-panel-full .ssc-alert-content .ssc-date-text .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	opacity: 0.8;
}

.ssc-alert-panel-full .ssc-alert-content p {
	display: none;
}

/* Footer section for button - white background with colored border */
.ssc-alert-panel-full .ssc-alert-footer {
	padding: 14px 18px;
	background: #fff;
	border-top: 2px solid;
	display: flex;
	align-items: center;
	justify-content: center;
}

li.ssc-alert.ssc-alert-warning {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}

li.ssc-alert.ssc-alert-danger {
	display: flex;
	align-content: center;
	align-items: center;
}

.ssc-alert-warning .ssc-alert-footer {
	background: transparent !important;
	border-top: 2px solid #f59e0b;
}

.ssc-alert-danger .ssc-alert-footer {
	background: transparent !important;
	border-top: 2px solid #ef4444;
}

.ssc-alert-panel-full .ssc-alert .button {
	margin: 0;
	background: #fff;
	color: #64748b;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	font-size: 13px;
	padding: 10px 18px;
	border-radius: 8px;
	width: 100%;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-shrink: 0;
}

.ssc-alert-panel-full .ssc-alert .button:hover {
	background: #f8f9fa;
	border-color: #cbd5e1;
	transform: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	color: #475569;
}

.ssc-alert-panel-full .ssc-alert .button .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: #64748b;
}

.ssc-alert-panel-full .ssc-alert .button-text {
	display: inline;
}

.ssc-alert-empty {
	margin: 40px 20px;
	color: #7c869d;
	font-size: 15px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 40px;
	background: linear-gradient(135deg, #f8f9fb 0%, #f1f5f9 100%);
	border-radius: 16px;
	border: 2px dashed #e2e8f0;
}

.ssc-alert-empty::before {
	content: '✓';
	display: block;
	font-size: 48px;
	color: #10b981;
	font-weight: 300;
	line-height: 1;
	margin-bottom: 8px;
}

.ssc-alert-empty strong {
	display: block;
	color: #1c2434;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 4px;
}

.ssc-alert-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid #f1f5f9;
}

.ssc-alert-card-header h3 {
	margin: 0 0 4px 0;
	font-size: 22px;
	font-weight: 700;
	color: #1c2434;
}

.ssc-alert-card-header p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
}

.ssc-alert-card-header .ssc-badge {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: #fff;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 700;
	min-width: 40px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ssc-alert-info {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 12px 32px rgba(102, 126, 234, 0.25);
}

.ssc-alert-info:hover {
	box-shadow: 0 16px 40px rgba(102, 126, 234, 0.35);
}

.ssc-alert-info .ssc-alert-content strong {
	color: #fff;
}

.ssc-alert-info .ssc-alert-content p {
	color: rgba(255, 255, 255, 0.9);
}

.ssc-alert-info .ssc-alert-pill {
	background: rgba(255, 255, 255, 0.3);
	color: #fff;
	backdrop-filter: blur(10px);
}

/* ========================================
   ADD SERVICE PANEL - Plugin-exact styling
   ======================================== */

.ssc-service-panel,
.ssc-add-service-panel {
	padding: 32px 40px;
	margin-bottom: 28px;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.04);
	position: relative;
	z-index: 1;
	overflow: visible;
}

/* Ensure form content is properly displayed when expanded */
.ssc-service-panel form:not(.is-collapsed) {
	min-height: auto;
}

/* Form expanded state - for add service panel */
.ssc-add-service-panel form.is-expanded {
	max-height: var(--ssc-collapse-max, 2000px);
	opacity: 1 !important;
	overflow: visible !important;
	pointer-events: auto !important;
	transition: max-height 0.45s ease, opacity 0.3s ease;
}

/* Form collapsed state - for add service panel */
.ssc-add-service-panel form.is-collapsed {
	max-height: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	display: none !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	overflow: hidden !important;
	transition: max-height 0.45s ease, opacity 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
}

/* Product sale form should be visible when panel is shown */
.ssc-add-product-sale-panel.ssc-panel-visible form.ssc-product-sale-form,
.ssc-add-product-sale-panel:not([style*="display: none"]) form.ssc-product-sale-form {
	max-height: 5000px !important;
	opacity: 1 !important;
	overflow: visible !important;
}

.ssc-service-header {
	margin-bottom: 28px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ssc-service-header h2 {
	font-size: 18px;
	font-weight: 600;
	color: #1c2434;
	margin: 0 0 6px;
}

.ssc-service-header p {
	color: #7c869d;
	font-size: 14px;
	margin: 0;
}

/* Cancel button - uses secondary button style from plugin */
.ssc-cancel-pill {
	background: #f5f7fb !important;
	color: #1c2434 !important;
	box-shadow: none !important;
	border: 1px solid #dbe2f3 !important;
	border-radius: 12px !important;
	padding: 10px 18px !important;
	font-weight: 600 !important;
	transition: transform .15s ease, opacity .2s;
}

.ssc-cancel-pill:hover {
	background: #e8ecf5 !important;
	color: #1c2434 !important;
	border-color: #c5d0e8 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
}

/* 4-column grid layout */
.ssc-service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	align-items: stretch;
}

.ssc-service-grid-4col {
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	align-items: stretch;
}

@media (max-width: 1200px) {
	.ssc-service-grid-4col {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.ssc-service-grid-4col {
		grid-template-columns: 1fr;
	}
}

/* Service cards */
.ssc-service-card {
	background: #f8fafc;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	border: 1px solid #e8ecf4;
}

.ssc-service-card-wide {
	grid-column: 1 / -1;
}

/* Labels - uppercase, small, grayish-blue */
.ssc-service-card label {
	font-size: 11px;
	text-transform: uppercase;
	color: #8d97b1;
	letter-spacing: 0.05em;
	font-weight: 600;
	margin-bottom: 0;
}

/* Inputs - white, rounded */
.ssc-service-card input,
.ssc-service-card textarea,
.ssc-service-card select {
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	padding: 0 18px;
	font-size: 14px;
	font-weight: 400;
	font-family: var(--ssc-font-stack);
	color: #1c2434;
	background: #fff;
	width: 100%;
	height: 52px;
}

.ssc-service-card input::placeholder {
	color: #94a3b8;
}

.ssc-service-card textarea {
	min-height: 140px;
	resize: vertical;
	padding: 18px;
	height: auto;
}

.ssc-service-card input:focus,
.ssc-service-card textarea:focus,
.ssc-service-card select:focus {
	outline: none;
	border-color: #3a7bff;
	box-shadow: 0 0 0 2px rgba(58,123,255,0.1);
}

/* Input group with $ prefix */
.ssc-input-group {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.ssc-input-prefix {
	position: absolute;
	left: 18px;
	top: 17px;
	color: #94a3b8;
	font-weight: 500;
	font-size: 14px;
	pointer-events: none;
}

.ssc-input-group input {
	padding-left: 38px !important;
}

/* Card footer with enable button */
.ssc-card-footer {
	margin-top: auto;
	padding-top: 8px;
}

/* Enable/Disable pill buttons - uses secondary button style */
.ssc-enable-pill {
	background: #f5f7fb !important;
	color: #1c2434 !important;
	box-shadow: none !important;
	border: 1px solid #dbe2f3 !important;
	border-radius: 12px !important;
	padding: 10px 18px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.03em !important;
	text-transform: uppercase !important;
	transition: transform .15s ease, opacity .2s;
	width: 100%;
}

.ssc-enable-pill:hover {
	background: #e8ecf5 !important;
	color: #1c2434 !important;
	border-color: #c5d0e8 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
}

.ssc-enable-pill.is-active {
	background: linear-gradient(135deg, #002444, #003c6e) !important;
	color: #fff !important;
	border: none !important;
}

.ssc-enable-pill.is-active:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #002444, #003c6e) !important;
}

/* Enabled state for card */
.ssc-service-card.is-enabled {
	background: #f0f7ff;
	border-color: #c7dbf5;
}

/* Save button - dark blue pill */
.ssc-service-footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 28px;
	align-items: center;
}

.ssc-save-pill {
	background: linear-gradient(135deg, #002444, #003c6e) !important;
	border: none !important;
	color: #fff !important;
	border-radius: 12px !important;
	padding: 10px 18px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	transition: transform .15s ease, opacity .2s;
}

/* Service table action buttons - matching plugin style */
.ssc-btn-edit,
.ssc-btn-delete {
	border-radius: 999px !important;
	padding: 6px 12px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	transition: transform .15s ease, opacity .2s;
	color: #fff !important;
	border: none !important;
}

.ssc-btn-edit {
	background: linear-gradient(135deg, #002444, #003c6e) !important;
}

.ssc-btn-edit:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #002444, #003c6e) !important;
}

.ssc-btn-delete {
	background-color: #b32d2e !important;
	border-color: #b32d2e !important;
}

.ssc-btn-delete:hover {
	background-color: #a02626 !important;
	transform: translateY(-1px);
}

.ssc-save-pill:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #002444, #003c6e) !important;
	color: #fff !important;
}

/* Legacy pill button support - uses secondary button style */
.ssc-pill-button {
	background: #f5f7fb !important;
	color: #1c2434 !important;
	box-shadow: none !important;
	border: 1px solid #dbe2f3 !important;
	border-radius: 12px !important;
	padding: 10px 18px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	transition: transform .15s ease, opacity .2s;
}

.ssc-pill-button:hover {
	background: #e8ecf5 !important;
	color: #1c2434 !important;
	border-color: #c5d0e8 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
}

/* Toast Notification Container */
.ssc-toast-container {
	position: fixed !important;
	top: 20px !important;
	right: 20px !important;
	z-index: 999999 !important;
	display: flex !important;
	flex-direction: column;
	gap: 12px;
	pointer-events: none;
}

.ssc-toast {
	position: relative;
	background: #1c2434;
	color: #fff;
	padding: 16px 20px;
	padding-right: 48px;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
	display: flex !important;
	align-items: center;
	gap: 12px;
	min-width: 320px;
	max-width: 420px;
	pointer-events: auto;
	opacity: 1 !important;
	visibility: visible !important;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.ssc-toast.hiding {
	animation: slideOutRight .3s ease forwards;
}

.ssc-toast-icon {
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ssc-toast-content {
	flex: 1;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 500;
}

.ssc-toast-close {
	position: absolute;
	top: 8px;
	right: 8px;
	background: rgba(255,255,255,.15);
	border: none;
	color: inherit;
	font-size: 18px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	padding: 0;
	line-height: 1;
}

.ssc-toast-close:hover {
	background: rgba(255,255,255,.25);
	transform: scale(1.1);
}

/* Toast Types */
.ssc-toast[data-toast-type="success"] {
	background: linear-gradient(135deg, #10b981, #059669);
	color: #fff;
}

.ssc-toast[data-toast-type="success"] .ssc-toast-icon {
	color: #fff;
}

.ssc-toast[data-toast-type="error"] {
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: #fff;
}

.ssc-toast[data-toast-type="error"] .ssc-toast-icon {
	color: #fff;
}

.ssc-toast[data-toast-type="warning"] {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #fff;
}

.ssc-toast[data-toast-type="warning"] .ssc-toast-icon {
	color: #fff;
}

.ssc-toast[data-toast-type="info"] {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: #fff;
}

.ssc-toast[data-toast-type="info"] .ssc-toast-icon {
	color: #fff;
}

/* Animations */
@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(100%);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideOutRight {
	from {
		opacity: 1;
		transform: translateX(0);
	}
	to {
		opacity: 0;
		transform: translateX(100%);
	}
}

.ssc-file-upload {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 6px;
}

.ssc-upload-button {
	background: linear-gradient(135deg, #002444, #003c6e);
	color: #fff;
	padding: 10px 20px;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(30,140,241,.25);
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .15s ease, box-shadow .15s ease, opacity .2s;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.ssc-client-card .ssc-upload-button {
	color: #fff;
}

.ssc-upload-button:hover {
	box-shadow: 0 10px 24px rgba(30,140,241,.35);
	transform: none;
}

.ssc-upload-button:active {
	transform: none;
	box-shadow: 0 5px 15px rgba(30,140,241,.3);
}

.ssc-upload-filename {
	font-size: 13px;
	color: #5d6884;
}

.ssc-amount-field {
	position: relative;
}

.ssc-amount-field::before {
	content: '$'; /* Default, will be updated by JavaScript */
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #6a7290;
	font-weight: 600;
	z-index: 1;
	pointer-events: none;
}

.ssc-amount-field input {
	padding-left: 32px;
	position: relative;
	z-index: 2;
}

span.ssc-input-prefix.currency-symbol-prefix {
	margin-left: -7px !important;
}
.ssc-app {
	min-height: calc(100vh - 32px);
	display: flex;
	font-family: var(--ssc-font-stack);
	font-size: 16px;
	font-weight: 400;
	background: #e9edf3;
	margin: -20px -20px 0 -20px;
}

/* ========================================
   MODERN SIDEBAR - Enhanced Professional Design
   ======================================== */

/* ========================================
   MODERN MINIMAL ICON-ONLY SIDEBAR (OLD - DISABLED)
   ======================================== */
/* OLD SIDEBAR CSS - COMMENTED OUT TO PREVENT CONFLICTS WITH NEW SIDEBAR DESIGN
.ssc-sidebar {
	width: 80px !important;
	flex-shrink: 0 !important;
	flex-grow: 0 !important;
	max-width: 80px !important;
	min-width: 80px !important;
	background: linear-gradient(50deg, #002444, #01060a) !important;
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-radius: 50px !important;
	margin: 0 0 0 16px;
	padding: 24px 0 !important;
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.4),
		0 0 1px rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.08);
	height: calc(100vh - 90px);
	position: fixed;
	left: 0;
	top: 90px;
	margin-top: 0 !important;
	margin-bottom: 0;
	color: #fff !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 4px;
	overflow-y: hidden !important;
	overflow-x: hidden !important;
	z-index: 1000 !important;
	font-family: var(--ssc-font-stack);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
*/

/* Animated gradient overlay */
.ssc-sidebar::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		135deg,
		rgba(30, 58, 138, 0.08) 0%,
		rgba(59, 130, 246, 0.08) 25%,
		rgba(30, 58, 138, 0.08) 50%,
		rgba(59, 130, 246, 0.08) 75%,
		rgba(30, 58, 138, 0.08) 100%
	);
	background-size: 400% 400%;
	animation: gradientShift 15s ease infinite;
	pointer-events: none;
	z-index: 0;
}

@keyframes gradientShift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

/* Tech scanline effect */
.ssc-sidebar::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(30, 58, 138, 0.4),
		transparent
	);
	animation: none;
	pointer-events: none;
	z-index: 1;
}

@keyframes scanline {
	0% { transform: translateY(0); opacity: 0; }
	50% { opacity: 1; }
	100% { transform: translateY(100vh); opacity: 0; }
}

/* Ensure content is above overlays */
.ssc-sidebar > * {
	position: relative;
	z-index: 2;
}

.ssc-sidebar * {
	font-family: inherit;
}

/* Sidebar Header with Toggle - Defined below */

/* Sidebar Search - Navy Blue Professional */
.ssc-sidebar-search {
	padding: 16px 16px;
	border-bottom: 1px solid rgba(30, 58, 138, 0.2);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	background: rgba(30, 58, 138, 0.05);
}

.ssc-sidebar-search input {
	width: 100%;
	background: rgba(30, 58, 138, 0.1);
	border: 1px solid rgba(30, 58, 138, 0.3);
	border-radius: 10px;
	padding: 10px 12px 10px 40px;
	color: #fff;
	font-size: 13px;
	font-family: var(--ssc-font-stack);
	transition: all 0.3s ease;
}

.ssc-sidebar-search:focus-within {
	box-shadow: 0 0 20px rgba(30, 58, 138, 0.4);
}

.ssc-sidebar-search:focus-within input {
	border-color: #1e40af;
	box-shadow: 0 0 15px rgba(30, 58, 138, 0.3);
	background: rgba(30, 58, 138, 0.15);
}

.ssc-sidebar-search input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.ssc-sidebar-search input:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(59, 130, 246, 0.5);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ssc-sidebar-search .dashicons {
	position: absolute;
	left: 28px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 16px;
	pointer-events: none;
}

/* Brand/Logo - Cleaner */
/* Remove Header/Brand - Icon Only Design (OLD - DISABLED) */
/* OLD CSS - COMMENTED OUT TO PREVENT CONFLICTS WITH NEW SIDEBAR DESIGN
.ssc-sidebar-header,
.ssc-brand {
	display: none !important;
}
*/

/* Brand Section - Compact Minimal */
.ssc-brand {
	transition: opacity 0.3s ease;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ssc-brand img {
	max-height: 36px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: block;
	filter: brightness(1.1);
}

/* Remove Toggle Button - Icon Only Design */
.ssc-sidebar-toggle {
	display: none !important;
}

/* Duplicate rule removed - using the one above with max-height: 36px */

.ssc-brand svg {
	width: 100% !important;
	max-width: 200px !important;
	height: auto !important;
}

.ssc-brand svg .st0 {
	fill: #FFFFFF !important;
}

/* Menu container - Better spacing */
/* Menu Container - Centered Icons */
.ssc-menu {
	flex: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 0 !important;
	padding-top: 12px !important;
	width: 100%;
	justify-content: flex-start;
	overflow-y: hidden;
	overflow-x: hidden;
}

/* Menu items - Enhanced styling */
/* Menu Items - Icon Only, Circular */
.ssc-menu-item,
.ssc-menu a {
	position: relative;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px;
	height: 44px;
	border-radius: 12px !important;
	background: transparent !important;
	border: none !important;
	color: rgba(255, 255, 255, 0.6) !important;
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible;
}

/* Hide Text - Icon Only Design */
.ssc-menu-item-text {
	display: none !important;
}

/* Always-visible label for active page - Higher specificity */
a.ssc-menu-item.is-active .ssc-menu-item-text,
a.ssc-menu.is-active .ssc-menu-item-text {
	display: block !important;
	position: fixed !important;
	left: 96px !important; /* 80px sidebar width + 16px gap */
	top: 0 !important; /* Will be set by JavaScript */
	transform: translateY(-50%) !important;
	background: rgba(20, 20, 20, 0.95) !important;
	color: #ffffff !important;
	padding: 8px 14px !important;
	border-radius: 10px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	white-space: nowrap !important;
	z-index: 10001 !important;
	box-shadow: 
		0 4px 16px rgba(0, 0, 0, 0.4),
		0 0 1px rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(59, 130, 246, 0.3) !important;
	backdrop-filter: blur(10px) !important;
	letter-spacing: 0.2px !important;
	pointer-events: none !important;
	animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Active label arrow */
.ssc-menu-item.is-active .ssc-menu-item-text::before,
.ssc-menu a.is-active .ssc-menu-item-text::before {
	content: '';
	position: absolute;
	left: -6px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 6px solid rgba(20, 20, 20, 0.95);
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateY(-50%) translateX(-8px);
}
	to {
		opacity: 1;
		transform: translateY(-50%) translateX(0);
	}
}

/* Icons - Larger, Centered */
.ssc-menu-item .dashicons,
.ssc-menu a .dashicons {
	font-size: 22px !important;
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
	color: inherit;
	transition: all 0.3s ease;
}

/* Tooltips - JavaScript Created Tooltips */
.ssc-tooltip {
	position: fixed;
	background: rgba(20, 20, 20, 0.95);
	color: #ffffff;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 10000 !important;
	box-shadow: 
		0 4px 16px rgba(0, 0, 0, 0.4),
		0 0 1px rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	letter-spacing: 0.2px;
	display: none;
}

/* Tooltip Arrow */
.ssc-tooltip::before {
	content: '';
	position: absolute;
	left: -6px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 6px solid rgba(20, 20, 20, 0.95);
}

/* Hover state */
/* Hover State - Subtle Background */
.ssc-menu-item:hover,
.ssc-menu a:hover {
	background: rgba(255, 255, 255, 0.08) !important;
	color: rgba(255, 255, 255, 0.9) !important;
	transform: scale(1.05);
}

.ssc-menu-item:active,
.ssc-menu a:active {
	background: rgba(255, 255, 255, 0.08) !important;
	color: rgba(255, 255, 255, 0.9) !important;
}

/* Active State - Match Hover State */
.ssc-menu-item.is-active,
.ssc-menu a.is-active {
	background: rgba(255, 255, 255, 0.08) !important;
	color: rgba(255, 255, 255, 0.9) !important;
	transform: scale(1.05);
}

/* Icons - Modern Styling */
.ssc-menu-item .dashicons,
.ssc-menu a .dashicons {
	font-size: 20px !important;
	width: 20px !important;
	height: 20px !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	color: rgba(255, 255, 255, 0.7);
	flex-shrink: 0;
	margin: 0;
}


.ssc-menu-item:hover .dashicons,
.ssc-menu a:hover .dashicons {
	color: #60a5fa !important;
	transform: scale(1.1);
	filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.ssc-menu-item.is-active .dashicons,
.ssc-menu a.is-active .dashicons {
	color: #60a5fa !important;
	transform: scale(1.1);
	filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

/* Badges - Modern Design */
.ssc-menu-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 8px;
	background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(59, 130, 246, 0.4)) !important;
	color: #93c5fd !important;
	border: 1px solid rgba(59, 130, 246, 0.4);
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	margin-left: auto;
	box-shadow: 
		0 2px 8px rgba(59, 130, 246, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
}


.ssc-menu-item.is-active .ssc-menu-badge {
	background: linear-gradient(
		135deg,
		rgba(30, 58, 138, 0.4),
		rgba(59, 130, 246, 0.4)
	) !important;
	color: #93c5fd !important;
	border-color: rgba(59, 130, 246, 0.6);
}

/* Menu Groups - Enhanced */
.ssc-menu-group {
	margin-bottom: 6px;
}

.ssc-menu-group-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px !important;
	border-radius: 12px !important;
	margin: 2px 0 !important;
	color: rgba(255, 255, 255, 0.8) !important;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	border-left: 3px solid transparent !important;
	font-weight: 500 !important;
	background: rgba(255, 255, 255, 0.03) !important;
	backdrop-filter: blur(10px);
	border-right: none;
	border-top: none;
	border-bottom: none;
	cursor: default; /* Changed from pointer since submenus don't toggle */
	font-size: 14px !important;
	overflow: hidden;
	position: relative;
	font-family: inherit;
	text-align: left;
}

.ssc-menu-group-label {
	flex: 1;
	font-size: 14px !important;
}

.ssc-menu-group-toggle:hover {
	background: rgba(30, 58, 138, 0.12) !important;
	color: #fff !important;
	border-left-color: #1e40af !important;
	transform: translateX(4px);
	box-shadow: 0 4px 16px rgba(30, 58, 138, 0.2);
}

.ssc-menu-group-toggle.is-expanded {
	background: linear-gradient(90deg, rgba(30, 58, 138, 0.2) 0%, rgba(59, 130, 246, 0.15)) !important;
	color: #fff !important;
	border-left-color: #3b82f6 !important;
	font-weight: 600 !important;
	box-shadow: 
		inset 0 0 20px rgba(30, 58, 138, 0.15),
		0 4px 20px rgba(59, 130, 246, 0.3);
}

.ssc-menu-group-toggle .dashicons {
	font-size: 20px !important;
	width: 22px !important;
	height: 22px !important;
	flex-shrink: 0;
}

.ssc-menu-group-arrow {
	font-size: 16px !important;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	margin-left: auto;
	opacity: 0.7;
	flex-shrink: 0;
	filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
	display: none !important; /* Hide arrow since submenus are always visible */
}

.ssc-menu-group-toggle.is-expanded .ssc-menu-group-arrow {
	transform: rotate(180deg);
	opacity: 1;
	filter: drop-shadow(0 0 8px rgba(30, 58, 138, 0.5));
}

/* Submenu items - Navy Blue Professional - Always Visible */
.ssc-menu-group-items {
	padding-left: 16px !important;
	margin-top: 6px !important;
	margin-left: 12px !important;
	border-left: 2px solid rgba(59, 130, 246, 0.3) !important;
	display: flex !important;
	flex-direction: column;
	gap: 3px !important;
	font-size: 13px;
	visibility: visible !important;
	opacity: 1 !important;
}

.ssc-menu-group-items .ssc-menu-item {
	padding-left: 40px !important;
	font-size: 13px !important;
	position: relative;
}

.ssc-menu-group-items .ssc-menu-item::before {
	content: '';
	position: absolute;
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(59, 130, 246, 0.6);
	box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
	transition: all 0.2s ease;
}

.ssc-menu-group-items .ssc-menu-item:hover::before,
.ssc-menu-group-items .ssc-menu-item.is-active::before {
	background: #3b82f6;
	box-shadow: 
		0 0 12px rgba(59, 130, 246, 1),
		0 0 24px rgba(30, 58, 138, 0.5);
	width: 8px;
	height: 8px;
}

.ssc-menu-group-items .ssc-menu-item.is-active {
	padding-left: 38px !important;
	background: linear-gradient(
		90deg,
		rgba(30, 58, 138, 0.2) 0%,
		rgba(59, 130, 246, 0.1) 100%
	) !important;
	border-left-color: #3b82f6 !important;
}

/* ========================================
   COLOR-CODED MENU GROUPS
   ======================================== */

/* Sales & CRM - Navy Blue accent */
.ssc-menu-group[data-group="sales"] .ssc-menu-group-toggle:hover {
	border-left-color: #1e40af !important;
	background: rgba(30, 58, 138, 0.15) !important;
}

.ssc-menu-group[data-group="sales"] .ssc-menu-item.is-active {
	border-left-color: #3b82f6 !important;
}

.ssc-menu-group[data-group="sales"] .ssc-menu-group-items {
	border-left-color: rgba(59, 130, 246, 0.3) !important;
}

.ssc-menu-group[data-group="sales"] .ssc-menu-group-items .ssc-menu-item::before {
	background: rgba(59, 130, 246, 0.6);
	box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
}

/* Catalog - Cyan accent */
.ssc-menu-group[data-group="catalog"] .ssc-menu-group-toggle:hover {
	border-left-color: #22d3ee !important;
	background: rgba(34, 211, 238, 0.15) !important;
}

.ssc-menu-group[data-group="catalog"] .ssc-menu-item.is-active {
	border-left-color: #22d3ee !important;
}

.ssc-menu-group[data-group="catalog"] .ssc-menu-group-items {
	border-left-color: rgba(34, 211, 238, 0.3) !important;
}

.ssc-menu-group[data-group="catalog"] .ssc-menu-group-items .ssc-menu-item::before {
	background: rgba(34, 211, 238, 0.6);
	box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
}

/* Billing - Blue accent */
.ssc-menu-group[data-group="billing"] .ssc-menu-group-toggle:hover {
	border-left-color: #3b82f6 !important;
	background: rgba(59, 130, 246, 0.15) !important;
}

.ssc-menu-group[data-group="billing"] .ssc-menu-item.is-active {
	border-left-color: #3b82f6 !important;
}

.ssc-menu-group[data-group="billing"] .ssc-menu-group-items {
	border-left-color: rgba(59, 130, 246, 0.3) !important;
}

.ssc-menu-group[data-group="billing"] .ssc-menu-group-items .ssc-menu-item::before {
	background: rgba(59, 130, 246, 0.6);
	box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
}

/* Financial - Green accent */
.ssc-menu-group[data-group="financial"] .ssc-menu-group-toggle:hover {
	border-left-color: #10b981 !important;
	background: rgba(16, 185, 129, 0.15) !important;
}

.ssc-menu-group[data-group="financial"] .ssc-menu-item.is-active {
	border-left-color: #10b981 !important;
}

.ssc-menu-group[data-group="financial"] .ssc-menu-group-items {
	border-left-color: rgba(16, 185, 129, 0.3) !important;
}

.ssc-menu-group[data-group="financial"] .ssc-menu-group-items .ssc-menu-item::before {
	background: rgba(16, 185, 129, 0.6);
	box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

/* User Profile Section - Enhanced */
.ssc-sidebar-user {
	padding: 20px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin-top: auto;
	background: rgba(0, 0, 0, 0.25);
}

.ssc-sidebar-user-profile {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.ssc-sidebar-user-profile:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ssc-sidebar-user-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1e40af, #3b82f6);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
	font-size: 18px;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ssc-sidebar-user-info {
	flex: 1;
	min-width: 0;
}

.ssc-sidebar-user-name {
	font-weight: 600;
	font-size: 15px;
	color: #fff;
	margin-bottom: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ssc-sidebar-user-role {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.65);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Footer - Cleaner */
/* ========================================
   RIPPLE EFFECT ON CLICK
   ======================================== */

.ssc-menu-item::before,
.ssc-menu a::before,
.ssc-menu-group-toggle::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s, opacity 0.6s;
	pointer-events: none;
	opacity: 0;
}

.ssc-menu-item:active::before,
.ssc-menu a:active::before,
.ssc-menu-group-toggle:active::before {
	width: 300px;
	height: 300px;
	opacity: 0;
}

/* Badges - Hide in Icon Only Design */
.ssc-menu-badge {
	display: none !important;
}

/* Footer - Hidden in Icon Only Design */
.ssc-footer {
	display: none !important;
}

.ssc-footer-separator {
	display: none !important;
}

.ssc-footer-text {
	font-size: 11px !important;
	color: rgba(255, 255, 255, 0.5) !important;
	text-align: center !important;
	letter-spacing: 0.5px;
	font-weight: 400;
	font-family: var(--ssc-font-stack) !important;
}

/* Scrollbar - Hidden in Icon Only Design */
.ssc-sidebar::-webkit-scrollbar {
	display: none;
	width: 0;
}

.ssc-sidebar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* Remove search bar */
.ssc-sidebar-search {
	display: none !important;
}

/* Smooth entrance animation - Fade in with scale */
@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.ssc-menu-item {
	animation: fadeInScale 0.4s ease-out backwards;
}

.ssc-menu-item:nth-child(1) { animation-delay: 0.05s; }
.ssc-menu-item:nth-child(2) { animation-delay: 0.1s; }
.ssc-menu-item:nth-child(3) { animation-delay: 0.15s; }
.ssc-menu-item:nth-child(4) { animation-delay: 0.2s; }
.ssc-menu-item:nth-child(5) { animation-delay: 0.25s; }
.ssc-menu-item:nth-child(6) { animation-delay: 0.3s; }
.ssc-menu-item:nth-child(7) { animation-delay: 0.35s; }
.ssc-menu-item:nth-child(8) { animation-delay: 0.4s; }
.ssc-menu-item:nth-child(9) { animation-delay: 0.45s; }
.ssc-menu-item:nth-child(10) { animation-delay: 0.5s; }

/* ========================================
   MODERN TOP NAVIGATION BAR
   ======================================== */

/* Topbar - Full Width, Matching Sidebar */
.ssc-topbar {
	position: fixed;
	top: 0;
	left: 250px; /* Start after sidebar */
	right: 0;
	height: 94px;
	background: linear-gradient(50deg, #002444, #01060a) !important;
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 
		0 2px 16px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 32px;
	z-index: 999;
	border-radius: 0; /* No rounded corners */
}

.ssc-topbar-left {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 24px;
}

/* Topbar Logo */
.ssc-topbar-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.ssc-topbar-logo svg {
	display: block;
	width: 125px;
	height: 28px;
}

.ssc-topbar-logo svg .st0 {
	fill: #FFFFFF !important;
}

/* Company Information Bar */
.ssc-company-info-bar {
	position: fixed;
	top: 70px;
	left: 0;
	right: 0;
	height: 50px;
	background: linear-gradient(50deg, #001a2e, #000d1a) !important;
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	display: flex !important;
	align-items: center;
	padding: 0 32px;
	z-index: 998;
}

.ssc-company-info-bar-content {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}

/* Breadcrumb Bar */
.ssc-breadcrumb-bar {
	position: fixed;
	top: 70px;
	left: 0;
	right: 0;
	height: 70px;
	background: linear-gradient(135deg, #00203c 0%, #00070d 100%) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	padding: 0;
	z-index: 997;
}

.ssc-breadcrumb-content {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ssc-breadcrumb-nav {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.ssc-breadcrumbs-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ssc-breadcrumb-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.ssc-breadcrumb-link {
	color: rgba(255, 255, 255, 0.7) !important;
	text-decoration: none;
	transition: color 0.2s ease;
	font-weight: 500;
}

.ssc-breadcrumb-link:hover {
	color: #60a5fa !important;
	text-decoration: underline;
}

.ssc-breadcrumb-current {
	color: #ffffff !important;
	font-weight: 600;
}

.ssc-breadcrumb-current .dashicons,
.ssc-breadcrumb-current .dashicons:before {
	display: none !important;
}

.ssc-breadcrumb-separator {
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	align-items: center;
}

.ssc-breadcrumb-separator .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

/* Refresh Button in Breadcrumb Bar */
.ssc-refresh-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.8);
	cursor: pointer;
	transition: all 0.2s ease;
}

.ssc-refresh-btn:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.3);
	color: #fff;
	transform: scale(1.05);
}

.ssc-refresh-btn:active {
	transform: scale(0.95);
}

.ssc-refresh-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.ssc-refresh-btn.loading .dashicons {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.ssc-topbar-page-title {
	flex: 0 0 auto;
	padding-left: 13px;
}

/* Topbar Text - Light Colors for Dark Background */
.ssc-topbar-page-title h1 {
	font-size: 20px;
	font-weight: 600;
	color: #ffffff !important;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ssc-topbar-page-title h1 .dashicons {
	font-size: 22px;
	color: #60a5fa !important; /* Light blue for visibility */
	filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.5));
}

.ssc-topbar-page-title p {
	margin: 4px 0 0 0;
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: 13px;
	font-weight: 400;
}

/* Company Info in Topbar */
.ssc-topbar-company-info {
	display: flex;
	align-items: center;
	min-width: 0; /* Allow shrinking */
}

.ssc-company-info-compact {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: nowrap;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}

.ssc-company-info-compact span {
	white-space: nowrap;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

/* Minimal Outline Style Icons */
.ssc-company-icon-glass {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	font-size: 16px;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	border-radius: 4px;
	padding: 2px;
	color: rgba(255, 255, 255, 0.9);
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.ssc-company-icon-glass:hover {
	border-color: rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.1);
}

/* Responsive: Hide company info on smaller screens */
@media (max-width: 1200px) {
	.ssc-topbar-company-info {
		display: none !important;
	}
}

.ssc-topbar-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* License Status Badge in Topbar */
.ssc-license-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.3px;
	margin-right: 8px;
	transition: all 0.2s ease;
}

.ssc-license-badge-icon {
	font-size: 14px;
	width: 14px;
	height: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Licensed - Green */
.ssc-license-badge.licensed {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.ssc-license-badge.licensed .ssc-license-badge-icon::before {
	content: "\f147";
	font-family: dashicons;
}

/* Trial Version - Orange */
.ssc-license-badge.trial {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.ssc-license-badge.trial .ssc-license-badge-icon::before {
	content: "\f469";
	font-family: dashicons;
}

/* Expired/Revoked - Red */
.ssc-license-badge.expired,
.ssc-license-badge.revoked {
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.ssc-license-badge.expired .ssc-license-badge-icon::before {
	content: "\f534";
	font-family: dashicons;
}

.ssc-license-badge.revoked .ssc-license-badge-icon::before {
	content: "\f160";
	font-family: dashicons;
}

/* Topbar Menu Items */
.ssc-topbar-menu {
	position: relative;
}

/* Topbar Menu Items - Light Colors */
.ssc-topbar-item,
.ssc-topbar-user-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.8) !important;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: var(--ssc-font-stack);
}

.ssc-topbar-item:hover,
.ssc-topbar-user-trigger:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
}

.ssc-topbar-item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: rgba(255, 255, 255, 0.7) !important;
}

/* User Trigger */
.ssc-topbar-user-trigger {
	gap: 12px;
	padding: 6px 12px;
}

.ssc-topbar-user-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1e40af, #3b82f6);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}

.ssc-topbar-user-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 50%;
}

.ssc-topbar-user-avatar-initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
}

.ssc-topbar-user-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

/* User Info - Light Colors */
.ssc-topbar-user-name {
	font-size: 14px;
	font-weight: 600;
	color: #ffffff !important;
	line-height: 1.2;
}

.ssc-topbar-user-role {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7) !important;
	line-height: 1.2;
}

.ssc-topbar-user-trigger .dashicons {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7) !important;
	transition: transform 0.2s ease;
}

.ssc-topbar-menu.is-open .ssc-topbar-user-trigger .dashicons {
	transform: rotate(180deg);
}

/* Dropdown Menus - Dark Theme */
.ssc-topbar-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	background: rgba(20, 20, 20, 0.95) !important;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	backdrop-filter: blur(20px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1000;
	padding: 8px;
}

/* User Dropdown Specific Background */
.ssc-topbar-dropdown.ssc-topbar-user-dropdown {
	background: #011220 !important;
}

/* Settings Menu Background */
div#settings-menu {
	background: #001120 !important;
}

/* Notifications Menu Background - Match Settings */
div#notifications-menu {
	background: #001120 !important;
}

/* Help Menu Background */
div#help-menu {
	background: #011526 !important;
}

.ssc-topbar-menu.is-open .ssc-topbar-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Dropdown Items - Light Colors */
.ssc-topbar-dropdown-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.9) !important;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s ease;
	font-family: var(--ssc-font-stack);
}

.ssc-topbar-dropdown-item:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	color: #ffffff !important;
}

.ssc-topbar-dropdown-item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: rgba(255, 255, 255, 0.7) !important;
}

/* Danger Items - Dark Theme */
.ssc-topbar-dropdown-item-danger {
	color: #f87171 !important;
}

.ssc-topbar-dropdown-item-danger:hover {
	background: rgba(239, 68, 68, 0.15) !important;
	color: #fca5a5 !important;
}

.ssc-topbar-dropdown-item-danger .dashicons {
	color: #f87171 !important;
}

/* Badge for dropdown items */
.ssc-topbar-dropdown-item .ssc-menu-badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-left: auto !important;
	margin-right: 0;
	background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	font-size: 10px;
	font-weight: 600;
	min-width: 18px;
	height: 18px;
	padding: 0 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	flex-shrink: 0;
}

/* User Dropdown Card - Dark Theme */
.ssc-topbar-user-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 10px;
	margin-bottom: 4px;
}

.ssc-topbar-user-avatar-large {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1e40af, #3b82f6);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
	font-size: 18px;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ssc-topbar-user-name-large {
	font-size: 15px;
	font-weight: 600;
	color: #ffffff !important;
	margin-bottom: 2px;
}

.ssc-topbar-user-email {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7) !important;
}

.ssc-topbar-dropdown-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.1) !important;
	margin: 6px 0;
}

/* Version Badge - Light on Dark Background */
.ssc-topbar-version {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	color: #ffffff !important;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.3px;
}

.ssc-topbar-version .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
}

/* Adjust main content for fixed topbar and sidebar */
.ssc-main {
	padding-top: 140px !important; /* topbar (70px) + content header (70px) */
	padding-left: 250px !important; /* sidebar width */
}

@media (max-width: 767px) {
	.ssc-main {
		padding-left: 0 !important; /* No sidebar padding on mobile */
	}
}

/* Company Info Banner */
.ssc-company-info-banner {
	width: 92%;
	padding: 20px;
	margin: 20px;
	border-radius: 17px;
	border-bottom: none;
	background: #f8f9fa;
}

.ssc-company-info-content {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
}

.ssc-company-info-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #141d2b;
}

.ssc-company-info-item strong {
	font-weight: 600;
	font-size: 14px;
}

.ssc-company-info-item .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #ffffff;
	background: #00325c;
	padding: 6px;
	border-radius: 5px;
}

.ssc-company-info-item a {
	color: #141d2b;
	text-decoration: none;
}

.ssc-company-info-item a:hover {
	color: #1f8ef1;
	text-decoration: underline;
}

/* AJAX Notices - Small Compact Design */
.ssc-ajax-notice {
	position: fixed !important;
	bottom: 20px !important;
	right: 20px !important;
	z-index: 100000 !important;
	width: auto !important;
	max-width: 320px !important;
	min-width: 180px !important;
	max-height: 50px !important;
	padding: 8px 12px !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 12px rgba(20, 29, 43, 0.15) !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	animation: slideInRight 0.3s ease-out;
	background: #ffffff !important;
	border-left: 3px solid !important;
	word-wrap: break-word;
	overflow-wrap: break-word;
	overflow: hidden;
}

.ssc-ajax-notice > span:last-child {
	flex: 1;
	min-width: 0;
	word-wrap: break-word;
	overflow-wrap: break-word;
	color: #1c2434 !important;
}

.ssc-ajax-notice .ssc-alert-dot {
	width: 5px !important;
	height: 5px !important;
	border-radius: 50% !important;
	flex-shrink: 0 !important;
	margin: 0 !important;
}

.ssc-ajax-notice.ssc-alert-success {
	border-left-color: #10b981 !important;
}

.ssc-ajax-notice.ssc-alert-success .ssc-alert-dot {
	background: #10b981 !important;
}

.ssc-ajax-notice.ssc-alert-danger {
	border-left-color: #f56565 !important;
}

.ssc-ajax-notice.ssc-alert-danger .ssc-alert-dot {
	background: #f56565 !important;
}

.ssc-ajax-notice.ssc-alert-warning {
	border-left-color: #f59e0b !important;
}

.ssc-ajax-notice.ssc-alert-warning .ssc-alert-dot {
	background: #f59e0b !important;
}

.ssc-ajax-notice.ssc-alert-info {
	border-left-color: #667eea !important;
}

.ssc-ajax-notice.ssc-alert-info .ssc-alert-dot {
	background: #667eea !important;
}

@keyframes slideInRight {
	from {
		transform: translateX(calc(100% + 20px)) translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateX(0) translateY(0);
		opacity: 1;
	}
}

.ssc-main {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ssc-header {
	background: #ffffff;
	padding: 28px 36px 24px;
	margin-top: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.ssc-header-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ssc-header-logo {
	height: 50px;
	width: auto;
}

.ssc-header-logo .st0 {
	fill: #000000 !important;
}

.ssc-header-text h1 .dashicons {
	vertical-align: middle;
	margin-right: 8px;
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #141d2b;
}

.ssc-header-text h1 {
	margin: 0;
	font-size: 20px;
	font-family: var(--ssc-font-stack);
	font-weight: 600;
	color: #141d2b;
}

.ssc-header-text p {
	margin: 4px 0 0;
	font-size: 13px;
	font-family: 'Segoe UI', 'Roboto', sans-serif;
	font-weight: 400;
	color: #141d2b;
}

.ssc-header-description {
	max-width: 500px !important;
	font-weight: 600 !important;
	margin: -4px 0 0 0 !important;
	border-left: solid 1px grey !important;
	padding-left: 17px !important;
	font-size: 10px !important;
	color: #000000 !important;
	line-height: 1.5 !important;
}

.ssc-search {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f5f7fb;
	border-radius: 999px;
	padding: 10px 16px;
	min-width: 240px;
}

.ssc-search input {
	border: none;
	background: transparent;
	width: 100%;
	font-size: 14px;
}

.ssc-search input:focus {
	outline: none;
}

/* Enhanced Month Search and Picker Styles */
.ssc-month-search {
	position: relative;
	flex: 1;
	min-width: 220px;
}

.ssc-month-search .ssc-filter-input {
	padding-left: 40px;
	padding-right: 40px;
	width: 100%;
}

.ssc-search-clear {
	display: none;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #64748b;
	cursor: pointer;
	padding: 4px 8px;
	font-size: 18px;
	line-height: 1;
	transition: color 0.2s ease;
	z-index: 10;
}

.ssc-search-clear:hover {
	color: #1c2434;
}

.ssc-month-nav-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 8px 12px;
	min-width: auto;
}

.ssc-month-nav-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

input.ssc-month-picker {
	padding: 8px 40px 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
	min-width: 160px;
	cursor: pointer;
	background: #fff;
	transition: all 0.2s ease;
	position: relative;
}

input.ssc-month-picker:hover {
	border-color: #9ca3af;
	background: #f8f9fa;
}

input.ssc-month-picker:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
	background: #fff;
}

#month-clients-count {
	font-size: 13px;
	color: #64748b;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 6px;
}

#month-clients-count-text {
	color: #1c2434;
	font-weight: 600;
}

/* Month picker styles - updated for better UX */
input.ssc-month-picker {
	height: auto;
	padding: 8px 40px 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: #1c2434;
	font-weight: 500;
	font-size: 14px;
	min-width: 160px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

input.ssc-month-picker:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
	background: #fff;
}

input.ssc-month-picker:hover {
	border-color: #9ca3af;
	background: #f8f9fa;
}

/* Custom month picker popup */
.ssc-month-picker-popup {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(20,29,43,.15);
	padding: 20px;
	font-family: 'Segoe UI', 'Roboto', sans-serif;
	min-width: 280px;
}

.ssc-month-picker-year {
	margin-bottom: 16px;
	text-align: center;
}

.ssc-month-picker-year-input {
	width: 100%;
	padding: 10px 16px;
	border: 2px solid #dfe5f5;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	color: #1c2434;
	text-align: center;
	transition: all 0.2s ease;
}

.ssc-month-picker-year-input:focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 3px rgba(31,142,241,.15);
}

.ssc-month-picker-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-bottom: 16px;
}

.ssc-month-picker-month {
	border: none;
	background: #f5f7fb;
	border-radius: 12px;
	padding: 12px 8px;
	font-size: 14px;
	font-weight: 500;
	color: #1c2434;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ssc-month-picker-month:hover {
	background: #f0f6ff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(31,142,241,.15);
}

.ssc-month-picker-month.selected {
	background: linear-gradient(135deg, #002444, #003c6e);
	color: #fff;
	box-shadow: 0 8px 16px rgba(31,142,241,.3);
	font-weight: 600;
}

.ssc-month-picker-month.selected:hover {
	background: linear-gradient(135deg, #003c6e, #004c8a);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(31,142,241,.4);
}

/* Accounting Date Bubble Selector */
.ssc-accounting-filters {
	background: transparent;
	margin: 0;
}

/* Apply dark mode to panel containing date filter with glassmorphism */
.ssc-date-filter-panel {
	background: linear-gradient(135deg, #1a1d2e 0%, #161923 50%, #1a1d2e 100%) !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
	            0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
	border-radius: 20px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
	padding: 20px !important;
}

/* Add a subtle animated gradient overlay */
.ssc-date-filter-panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, 
		transparent, 
		rgba(61, 167, 255, 0.5), 
		rgba(31, 142, 241, 0.8), 
		rgba(61, 167, 255, 0.5), 
		transparent
	);
	background-size: 200% 100%;
	animation: shimmer 3s ease-in-out infinite;
	z-index: 1;
}

/* Add subtle background pattern */
.ssc-date-filter-panel::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		radial-gradient(circle at 20% 50%, rgba(61, 167, 255, 0.03) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(31, 142, 241, 0.03) 0%, transparent 50%);
	pointer-events: none;
	border-radius: 20px;
	z-index: 0;
}

@keyframes shimmer {
	0%, 100% { background-position: -200% 0; }
	50% { background-position: 200% 0; }
}

.ssc-date-bubble-selector {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	width: 100%;
	margin: 0;
	position: relative;
	z-index: 1;
	align-items: flex-start;
}

.ssc-date-selector-section {
	margin-bottom: 0;
	flex: 1;
	position: relative;
	padding: 0 12px;
	display: flex;
	flex-direction: column;
}

.ssc-date-selector-section:last-of-type {
	margin-bottom: 0;
}

/* Visual section divider - horizontal instead of vertical */
.ssc-date-selector-section:first-of-type::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(to right, 
		transparent, 
		rgba(61, 167, 255, 0.2), 
		rgba(61, 167, 255, 0.2), 
		transparent
	);
}

/* Year and Month selectors full width - stacked vertically */
.ssc-date-bubble-selector > .ssc-date-selector-section:first-of-type {
	width: 100%;
	flex: 0 0 100%;
}

.ssc-date-bubble-selector > .ssc-date-selector-section:nth-of-type(2) {
	width: 100%;
	flex: 0 0 100%;
}

.ssc-date-selector-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 600;
	color: #e2e8f0;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	opacity: 0.9;
}

.ssc-date-selector-label::before {
	content: '';
	width: 4px;
	height: 4px;
	background: linear-gradient(135deg, #002444, #003c6e);
	border-radius: 50%;
	box-shadow: 0 0 8px rgba(61, 167, 255, 0.6);
}

.ssc-year-bubbles {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.ssc-year-bubble {
	background: rgba(37, 41, 56, 0.6);
	border: 1px solid rgba(45, 49, 66, 0.8);
	border-radius: 10px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	color: #e2e8f0;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	min-width: 60px;
	text-align: center;
	position: relative;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.ssc-year-bubble:hover {
	background: rgba(45, 49, 66, 0.8);
	border-color: rgba(61, 167, 255, 0.6);
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 16px rgba(61, 167, 255, 0.3),
	            0 0 20px rgba(61, 167, 255, 0.1);
}

.ssc-year-bubble.selected {
	background: linear-gradient(135deg, #002444 0%, #003c6e 50%, #004c8a 100%);
	border-color: rgba(61, 167, 255, 0.8);
	color: #fff;
	box-shadow: 0 8px 24px rgba(31, 142, 241, 0.5),
	            0 0 30px rgba(61, 167, 255, 0.3),
	            0 0 0 2px rgba(61, 167, 255, 0.2);
	transform: scale(1.08);
	animation: pulse 2s ease-in-out infinite;
}

.ssc-year-bubble.selected:hover {
	background: linear-gradient(135deg, #003c6e, #004c8a);
	transform: translateY(-2px) scale(1.1);
	box-shadow: 0 10px 30px rgba(31, 142, 241, 0.6),
	            0 0 40px rgba(61, 167, 255, 0.4);
}

@keyframes pulse {
	0%, 100% { box-shadow: 0 8px 24px rgba(31, 142, 241, 0.5), 0 0 30px rgba(61, 167, 255, 0.3), 0 0 0 2px rgba(61, 167, 255, 0.2); }
	50% { box-shadow: 0 8px 24px rgba(31, 142, 241, 0.7), 0 0 40px rgba(61, 167, 255, 0.5), 0 0 0 2px rgba(61, 167, 255, 0.3); }
}

.ssc-month-bubbles {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 0;
	justify-content: center;
	width: 100%;
}

.ssc-month-bubble {
	background: rgba(37, 41, 56, 0.6);
	border: 1px solid rgba(45, 49, 66, 0.8);
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 11px;
	font-weight: 500;
	color: #e2e8f0;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-align: center;
	min-width: 45px;
	position: relative;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.ssc-month-bubble:hover {
	background: rgba(45, 49, 66, 0.8);
	border-color: rgba(61, 167, 255, 0.6);
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 16px rgba(61, 167, 255, 0.3),
	            0 0 20px rgba(61, 167, 255, 0.1);
}

.ssc-month-bubble.selected {
	background: linear-gradient(135deg, #002444 0%, #003c6e 50%, #004c8a 100%);
	border-color: rgba(61, 167, 255, 0.8);
	color: #fff;
	box-shadow: 0 8px 24px rgba(31, 142, 241, 0.5),
	            0 0 30px rgba(61, 167, 255, 0.3),
	            0 0 0 2px rgba(61, 167, 255, 0.2);
	font-weight: 600;
	transform: scale(1.08);
	animation: pulse 2s ease-in-out infinite;
}

.ssc-month-bubble.selected:hover {
	background: linear-gradient(135deg, #003c6e, #004c8a);
	transform: translateY(-2px) scale(1.1);
	box-shadow: 0 10px 30px rgba(31, 142, 241, 0.6),
	            0 0 40px rgba(61, 167, 255, 0.4);
}

.ssc-month-bubble.in-range {
	background: rgba(30, 58, 95, 0.6);
	border-color: rgba(61, 167, 255, 0.5);
	color: #3da7ff;
	font-weight: 500;
}

.ssc-month-bubble.in-range:hover {
	background: rgba(37, 74, 122, 0.8);
	border-color: rgba(61, 167, 255, 0.7);
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 16px rgba(61, 167, 255, 0.3),
	            0 0 20px rgba(61, 167, 255, 0.15);
}

.ssc-date-range-display {
	margin-top: 30px;
	padding: 10px 14px;
	background: linear-gradient(135deg, rgba(37, 41, 56, 0.8), rgba(30, 58, 95, 0.6));
	border: 1px solid rgba(61, 167, 255, 0.2);
	border-radius: 10px;
	font-size: 12px;
	color: #94a3b8;
	text-align: center;
	min-height: 18px;
	position: relative;
	overflow: hidden;
	width: auto;
	margin-left: -22px;
}

.ssc-date-range-display::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(to bottom, #002444, #003c6e);
}

.ssc-date-range-display span {
	font-weight: 600;
	color: #e2e8f0;
	font-size: 13px;
}

.ssc-date-selector-actions {
	display: flex;
	gap: 12px;
	margin-top: 0px;
	padding-top: 0px;
	border-top: none;
	width: 100%;
	flex-basis: 100%;
	justify-content: center;
}

.ssc-date-selector-actions .button-primary {
	background: linear-gradient(135deg, #002444, #003c6e);
	border: none;
	border-radius: 10px;
	padding: 10px 24px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(31, 142, 241, 0.4);
	transition: all 0.3s ease;
}

.ssc-date-selector-actions .button-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(31, 142, 241, 0.6);
	background: linear-gradient(135deg, #003c6e, #004c8a);
}

.ssc-date-selector-actions .button {
	border-radius: 10px;
	padding: 10px 24px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.ssc-month-picker-actions {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid #dfe5f5;
}

.ssc-month-picker-clear,
.ssc-month-picker-this-month {
	border: none;
	background: transparent;
	color: #1f8ef1;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.ssc-month-picker-clear:hover,
.ssc-month-picker-this-month:hover {
	background: #f0f6ff;
	color: #1a7dd4;
}

.ssc-month-go-btn {
	border: none !important;
	border-radius: 999px !important;
	padding: 10px 16px !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #1c2434 !important;
	background: #f5f7fb !important;
	box-shadow: none !important;
	min-width: auto !important;
	cursor: pointer !important;
	transition: background .2s ease !important;
}

.ssc-month-go-btn:hover {
	background: #e8ecf5 !important;
	color: #1c2434 !important;
	transform: none !important;
	box-shadow: none !important;
}

.ssc-month-go-btn:focus {
	outline: none !important;
	background: #e8ecf5 !important;
	box-shadow: none !important;
}

.ssc-user-chip {
	display: none;
}

.ssc-version-badge {
	transition: all 0.3s ease;
}

.ssc-version-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.ssc-user-chip span {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #1f8ef1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
}

/* Main content area - Consistent across all pages */
.ssc-main > .ssc-content,
.ssc-content:first-of-type {
	/* Layout & Spacing - Consistent across all pages */
	position: relative !important;
	width: 100% !important;
	max-width: 1400px !important;
	margin: 0 auto !important;
	padding: 32px 40px !important;
	top: 24px !important;
	min-height: calc(100vh - 94px) !important;
	
	/* Transparent Background */
	background: transparent !important;
	border-radius: 20px 20px 0 0 !important;
	
	/* No Shadow */
	box-shadow: none !important;
	
	/* Ensure content can scroll */
	overflow: visible !important;
	
	/* Smooth Transitions */
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	
	/* Ensure clickable */
	pointer-events: auto !important;
	z-index: 1 !important;
	
	/* Force consistent sizing - override any page-specific styles */
	box-sizing: border-box !important;
}

/* Prevent nested ssc-content from having different styles */
.ssc-content .ssc-content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	top: 0 !important;
	border-radius: 0 !important;
	min-height: auto !important;
}

/* Ensure all buttons and links in content are clickable */
.ssc-content button,
.ssc-content a,
.ssc-content .button,
.ssc-content input[type="button"],
.ssc-content input[type="submit"],
.ssc-content .ssc-btn-edit,
.ssc-content .ssc-btn-delete {
	pointer-events: auto !important;
	cursor: pointer !important;
	position: relative;
	z-index: 10;
}

/* Responsive Design - Consistent across all pages */
@media (max-width: 1400px) {
.ssc-content {
		padding: 28px 32px !important;
		max-width: 96% !important;
		margin: 0 auto !important;
	}
}

@media (max-width: 1024px) {
	.ssc-content {
		padding: 24px 28px !important;
		max-width: 98% !important;
		margin: 0 auto !important;
		border-radius: 16px 16px 0 0;
	}
}

@media (max-width: 768px) {
	.ssc-content {
		padding: 20px 24px !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		border-radius: 0;
		top: 0;
	}
}

.ssc-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-bottom: 28px;
}

/* Dashboard: First grid with 4 cards (Revenue, Products/Services Cost, Expenses, Net Profit) - use 4 columns */
/* Target the first grid that comes after ssc-alert-panel (dashboard structure) */
.ssc-alert-panel-full + .ssc-card-grid {
	grid-template-columns: repeat(4, 1fr) !important;
}

/* Specifically target dashboard-metrics to ensure 4 columns */
#dashboard-metrics {
	grid-template-columns: repeat(4, 1fr) !important;
}

/* Override for accounting page: ensure first grid uses 4 columns (has 6 cards) */
.ssc-date-filter-panel ~ .ssc-card-grid:first-of-type {
	grid-template-columns: repeat(4, 1fr) !important;
}

/* Make the 5th and 6th cards (Total Paid and Outstanding) span 2 columns each */
.ssc-card-grid .ssc-card:nth-child(5),
.ssc-card-grid .ssc-card:nth-child(6) {
	grid-column: span 2;
}

/* Responsive: On smaller screens, switch to 2 columns */
@media (max-width: 1200px) {
	.ssc-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	/* Dashboard first grid: switch to 2 columns on medium screens */
	.ssc-alert-panel-full + .ssc-card-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	
	/* Dashboard metrics: 2 columns on medium screens */
	#dashboard-metrics {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	
	/* Accounting page: keep 2 columns */
	.ssc-date-filter-panel ~ .ssc-card-grid:first-of-type {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	
	.ssc-card-grid .ssc-card:nth-child(5),
	.ssc-card-grid .ssc-card:nth-child(6) {
		grid-column: span 1;
	}
}

/* On mobile, single column */
@media (max-width: 768px) {
	.ssc-card-grid {
		grid-template-columns: 1fr;
	}
	
	.ssc-card-grid .ssc-card:nth-child(5),
	.ssc-card-grid .ssc-card:nth-child(6) {
		grid-column: span 1;
	}
}

.ssc-metric-card {
	min-height: 160px;
}

.ssc-metric-profit .ssc-metric-profit-value,
.ssc-profit-value {
	transition: color .2s ease;
	font-weight: 700;
}

.ssc-metric-profit-positive .ssc-metric-profit-value,
.ssc-profit-positive {
	color: #16a34a; /* green */
}

.ssc-metric-profit-negative .ssc-metric-profit-value,
.ssc-profit-negative {
	color: #dc2626; /* red */
}

.ssc-metric-profit-zero .ssc-metric-profit-value,
.ssc-profit-zero {
	color: #111827; /* neutral dark (black-ish) */
}

/* Vibrant Background Colors for Metric Cards - More Specific Selectors */
.ssc-card.ssc-metric-revenue {
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.ssc-card.ssc-metric-revenue h3,
.ssc-card.ssc-metric-revenue p {
	color: #fff !important;
}

.ssc-card.ssc-metric-expenses {
	background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.ssc-card.ssc-metric-expenses h3,
.ssc-card.ssc-metric-expenses p {
	color: #fff !important;
}

.ssc-card.ssc-metric-profit {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.ssc-card.ssc-metric-profit h3 {
	color: #fff !important;
}

.ssc-card.ssc-metric-profit-positive {
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%) !important;
	box-shadow: none !important;
}

.ssc-card.ssc-metric-profit-positive .ssc-metric-profit-value {
	color: #fff !important;
}

.ssc-card.ssc-metric-profit-negative {
	background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%) !important;
	box-shadow: none !important;
}

.ssc-card.ssc-metric-profit-negative .ssc-metric-profit-value {
	color: #fff !important;
}

.ssc-card.ssc-metric-profit-zero {
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%) !important;
	box-shadow: none !important;
}

.ssc-card.ssc-metric-profit-zero .ssc-metric-profit-value {
	color: #fff !important;
}


.ssc-card {
	background: #fff;
	border-radius: 14px;
	padding: 20px;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: auto;
}

/* Override background for metric cards - placed after base .ssc-card rule */
.ssc-card-grid .ssc-card.ssc-metric-revenue,
.ssc-card.ssc-metric-card.ssc-metric-revenue {
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.ssc-card-grid .ssc-card.ssc-metric-revenue h3,
.ssc-card-grid .ssc-card.ssc-metric-revenue p,
.ssc-card.ssc-metric-card.ssc-metric-revenue h3,
.ssc-card.ssc-metric-card.ssc-metric-revenue p {
	color: #fff !important;
}

.ssc-card-grid .ssc-card.ssc-metric-expenses,
.ssc-card.ssc-metric-card.ssc-metric-expenses {
	background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.ssc-card-grid .ssc-card.ssc-metric-expenses h3,
.ssc-card-grid .ssc-card.ssc-metric-expenses p,
.ssc-card.ssc-metric-card.ssc-metric-expenses h3,
.ssc-card.ssc-metric-card.ssc-metric-expenses p {
	color: #fff !important;
}

.ssc-card-grid .ssc-card.ssc-metric-profit,
.ssc-card.ssc-metric-card.ssc-metric-profit {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.ssc-card-grid .ssc-card.ssc-metric-profit h3,
.ssc-card.ssc-metric-card.ssc-metric-profit h3 {
	color: #fff !important;
}

.ssc-card-grid .ssc-card.ssc-metric-profit-positive,
.ssc-card.ssc-metric-card.ssc-metric-profit.ssc-metric-profit-positive {
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%) !important;
	box-shadow: none !important;
}

.ssc-card-grid .ssc-card.ssc-metric-profit-positive .ssc-metric-profit-value,
.ssc-card.ssc-metric-card.ssc-metric-profit.ssc-metric-profit-positive .ssc-metric-profit-value {
	color: #fff !important;
}

.ssc-card-grid .ssc-card.ssc-metric-profit-negative,
.ssc-card.ssc-metric-card.ssc-metric-profit.ssc-metric-profit-negative {
	background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%) !important;
	box-shadow: none !important;
}

.ssc-card-grid .ssc-card.ssc-metric-profit-negative .ssc-metric-profit-value,
.ssc-card.ssc-metric-card.ssc-metric-profit.ssc-metric-profit-negative .ssc-metric-profit-value {
	color: #fff !important;
}

.ssc-card-grid .ssc-card.ssc-metric-profit-zero,
.ssc-card.ssc-metric-card.ssc-metric-profit.ssc-metric-profit-zero {
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%) !important;
	box-shadow: none !important;
}

.ssc-card-grid .ssc-card.ssc-metric-profit-zero .ssc-metric-profit-value,
.ssc-card.ssc-metric-card.ssc-metric-profit.ssc-metric-profit-zero .ssc-metric-profit-value {
	color: #fff !important;
}

.ssc-card h3 {
	margin: 0 0 12px;
	font-size: 14px;
	text-transform: uppercase;
	color: #7c869d;
}

.ssc-card p {
	font-size: 30px;
	font-weight: 600;
	margin: 0;
	color: #1c2434;
}

.ssc-panel {
	background: #fff;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 8px 24px rgba(20,29,43,.08);
	margin-bottom: 28px;
	max-width: 100%;
}

.ssc-panel-gradient {
	background: #ffffff;
	color: #1c2434;
	border: 1px solid #e2e7f3;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(20, 29, 43, 0.06);
	overflow: visible;
	position: relative;
	padding: 24px;
}

.ssc-panel-gradient h2 {
	color: #1c2434;
	border-bottom: 1px solid #e2e7f3;
	padding-bottom: 16px;
	margin-bottom: 24px;
	background: transparent;
	padding: 0 0 16px 0;
	margin: 0 0 24px 0;
	font-weight: 600;
	letter-spacing: -0.02em;
	border-radius: 0;
	font-size: 20px;
}

.ssc-panel-gradient label,
.ssc-panel-gradient strong,
.ssc-panel-gradient span,
.ssc-panel-gradient p,
.ssc-panel-gradient a {
	color: #1c2434;
}

.ssc-panel-gradient .ssc-notes label {
	color: #64748b;
}

.ssc-panel-gradient .ssc-notes p {
	color: #334155;
}

.ssc-panel h2 {
	margin-top: 0;
	margin-bottom: 18px;
	font-size: 18px;
	font-weight: 500;
	font-family: var(--ssc-font-stack);
}

.ssc-panel p {
	color: #334155;
}

.ssc-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

table {
	border-collapse: collapse;
	width: 100%;
}

.ssc-panel table.widefat {
	border: none;
	box-shadow: none;
}

.ssc-panel table.widefat th {
	text-transform: uppercase;
	font-size: 12px;
	font-family: 'Segoe UI', 'Roboto', sans-serif;
	font-weight: 600;
	/* color: #7b8399; - Removed to allow dark mode overrides */
}

.ssc-panel table.widefat td,
.ssc-panel table.widefat th {
	padding: 14px 12px;
	font-family: 'Segoe UI', 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
}

.ssc-panel table.widefat td {
	/* color: #1c2434; - Removed to allow dark mode overrides */
}

.ssc-table {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e2e7f3;
	/* background: #f9fbff; - Removed to allow dark mode overrides */
}

/* Inline edit mode styling for products */
tr.ssc-product-edit-mode td {
	padding: 8px 12px !important;
	vertical-align: middle;
}

tr.ssc-product-edit-mode .ssc-inline-edit {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	font-size: 14px;
	padding: 8px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background-color: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

tr.ssc-product-edit-mode .ssc-inline-edit:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

tr.ssc-product-edit-mode select.ssc-inline-edit {
	cursor: pointer;
	appearance: none;
	padding-right: 28px;
	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='%236a7290' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
}

tr.ssc-product-edit-mode input[type="number"][data-field="price"],
tr.ssc-product-edit-mode input[type="number"][data-field="cost"] {
	padding-left: 28px;
}

tr.ssc-product-edit-mode td[style*="position: relative"] {
	position: relative !important;
}

tr.ssc-product-edit-mode td[style*="position: relative"] > span {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: #6a7290;
	font-weight: 600;
	pointer-events: none;
	z-index: 1;
	line-height: 1;
	font-size: 14px;
}

tr.ssc-product-edit-mode td[style*="position: relative"] input[type="number"] {
	position: static;
	z-index: 2;
}

/* Inline edit mode styling for services */
tr.ssc-service-edit-mode td {
	padding: 8px 12px !important;
	vertical-align: middle;
}

tr.ssc-service-edit-mode .ssc-inline-edit {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	font-size: 14px;
	padding: 8px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background-color: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

tr.ssc-service-edit-mode .ssc-inline-edit:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

tr.ssc-service-edit-mode input[type="number"] {
	padding-left: 24px;
}

tr.ssc-service-edit-mode input[type="checkbox"] {
	width: auto;
	margin: 0;
	cursor: pointer;
}

.ssc-table thead {
	/* background: linear-gradient(45deg, #141d2b, #1d3e72); - Removed to allow dark mode overrides */
}

.ssc-table thead tr th {
	/* color: #ffffff !important; - Removed to allow dark mode overrides */
	font-weight: 600 !important;
	font-family: 'Segoe UI', 'Roboto', sans-serif !important;
	font-size: 12px !important;
	text-align: left;
}

.ssc-table tbody tr:nth-child(odd) {
	/* background: #ffffff; - Removed to allow dark mode overrides */
}

.ssc-table tbody tr:nth-child(even) {
	/* background: #f6f8ff; - Removed to allow dark mode overrides */
}

.ssc-table tbody tr:hover {
	/* background: #edf3ff; - Removed to allow dark mode overrides */
}

.ssc-finance-table td:last-child,
.ssc-finance-table th:last-child {
	text-align: right;
}

.ssc-panel table.widefat tbody tr:nth-child(even) {
	/* background: #f7f9fc; - Removed to allow dark mode overrides */
}

.ssc-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: #e5e9f2;
	color: #38405a;
}

.ssc-badge-paid {
	background: #33c16d;
	color: #fff;
}

.ssc-badge-partial {
	background: #f59e0b;
	color: #fff;
}

.ssc-badge-pending {
	background: #f6ad55;
	color: #4a2b04;
}

.ssc-badge-overdue {
	background: #f56565;
	color: #fff;
}

.ssc-badge-draft {
	background: #3b82f6 !important;
	color: #fff !important;
}

.ssc-badge-sent {
	background: #a13bf6;
	color: #fff;
}

.ssc-badge-cancelled {
	background: #9ca3af;
	color: #fff;
}

/* Quotation status badges */
.ssc-badge-quotation {
	background: #dbeafe;
	color: #1e40af;
	border-color: #bfdbfe;
}

.ssc-badge-quotation_sent {
	background: #fef3c7;
	color: #92400e;
	border-color: #fde68a;
}

.ssc-badge-quotation_approved {
	background: #d1fae5;
	color: #065f46;
	border-color: #a7f3d0;
}

.ssc-badge-quotation_rejected {
	background: #fee2e2;
	color: #991b1b;
	border-color: #fecaca;
}

/* Lead status badges */
.ssc-badge-new {
	background: #3b82f6;
	color: #fff;
}

.ssc-badge-contacted {
	background: #8b5cf6;
	color: #fff;
}

.ssc-badge-qualified {
	background: #10b981;
	color: #fff;
}

.ssc-badge-proposal_sent {
	background: #f59e0b;
	color: #fff;
}

.ssc-badge-converted {
	background: #059669;
	color: #fff;
}

.ssc-badge-lost {
	background: #ef4444;
	color: #fff;
}

/* Lead priority badges */
.ssc-badge-low {
	background: #9ca3af;
	color: #fff;
}

.ssc-badge-medium {
	background: #f59e0b;
	color: #fff;
}

.ssc-badge-high {
	background: #ef4444;
	color: #fff;
}

/* Colorful badges on alert cards */
.ssc-alert .ssc-badge {
	border-radius: 6px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ssc-alert .ssc-badge:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Ensure badges are visible on gradient backgrounds */
.ssc-alert-danger .ssc-badge:not(.ssc-badge-new):not(.ssc-badge-contacted):not(.ssc-badge-qualified):not(.ssc-badge-proposal_sent):not(.ssc-badge-converted):not(.ssc-badge-lost):not(.ssc-badge-low):not(.ssc-badge-medium):not(.ssc-badge-high),
.ssc-alert-warning .ssc-badge:not(.ssc-badge-new):not(.ssc-badge-contacted):not(.ssc-badge-qualified):not(.ssc-badge-proposal_sent):not(.ssc-badge-converted):not(.ssc-badge-lost):not(.ssc-badge-low):not(.ssc-badge-medium):not(.ssc-badge-high),
.ssc-alert-info .ssc-badge:not(.ssc-badge-new):not(.ssc-badge-contacted):not(.ssc-badge-qualified):not(.ssc-badge-proposal_sent):not(.ssc-badge-converted):not(.ssc-badge-lost):not(.ssc-badge-low):not(.ssc-badge-medium):not(.ssc-badge-high) {
	background: rgba(255, 255, 255, 0.95) !important;
	color: #1f2937 !important;
	font-weight: 700;
	backdrop-filter: blur(10px);
}

/* Status badges with vibrant colors on alert cards */
.ssc-alert .ssc-badge-new {
	background: #3b82f6 !important;
	color: #fff !important;
}

.ssc-alert .ssc-badge-contacted {
	background: #8b5cf6 !important;
	color: #fff !important;
}

.ssc-alert .ssc-badge-qualified {
	background: #10b981 !important;
	color: #fff !important;
}

.ssc-alert .ssc-badge-proposal_sent {
	background: #f59e0b !important;
	color: #fff !important;
}

.ssc-alert .ssc-badge-converted {
	background: #059669 !important;
	color: #fff !important;
}

.ssc-alert .ssc-badge-lost {
	background: #ef4444 !important;
	color: #fff !important;
}

/* Priority badges with vibrant colors on alerts */
.ssc-alert .ssc-badge-low {
	background: #9ca3af !important;
	color: #fff !important;
}

.ssc-alert .ssc-badge-medium {
	background: #f59e0b !important;
	color: #fff !important;
}

.ssc-alert .ssc-badge-high {
	background: #ef4444 !important;
	color: #fff !important;
}

.ssc-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

/* Meetings Modal */
.ssc-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ssc-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
}

.ssc-modal-content {
	position: relative;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-width: 800px;
	width: 90%;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	z-index: 1;
}

.ssc-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid #e1e6f0;
}

.ssc-modal-header h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #1f2937;
}

.ssc-modal-close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: #7c869d;
	transition: color 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ssc-modal-close:hover {
	color: #1f2937;
}

.ssc-modal-close .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.ssc-modal-body {
	padding: 24px;
	overflow-y: auto;
	flex: 1;
}

.ssc-form-grid input,
.ssc-form-grid select,
.ssc-form-grid textarea {
	width: 100%;
}

.ssc-panel-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
	margin-bottom: 28px;
}

.ssc-info-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	align-items: stretch;
}

@media (max-width: 1400px) {
	.ssc-info-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 1100px) {
	.ssc-info-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.ssc-info-grid {
		grid-template-columns: 1fr;
	}
}

.ssc-info-grid > div {
	background: #ffffff;
	border: 1px solid #e2e7f3;
	border-radius: 10px;
	padding: 20px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
	box-shadow: 0 1px 3px rgba(20, 29, 43, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.ssc-info-grid > div::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #3b82f6, #8b5cf6);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.ssc-info-grid > div:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 12px rgba(20, 29, 43, 0.12);
	border-color: #cbd5e1;
}

.ssc-info-grid > div:hover::before {
	opacity: 1;
}

/* Color-coded accents for different field types */
.ssc-info-grid > div[data-field="client-name"]::before {
	background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.ssc-info-grid > div[data-field="company-name"]::before {
	background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.ssc-info-grid > div[data-field="email"]::before {
	background: linear-gradient(90deg, #10b981, #059669);
}

.ssc-info-grid > div[data-field="phone"]::before {
	background: linear-gradient(90deg, #f59e0b, #d97706);
}

.ssc-info-grid > div[data-field="address"]::before {
	background: linear-gradient(90deg, #ef4444, #dc2626);
}

.ssc-info-grid > div[data-field="mof-number"]::before {
	background: linear-gradient(90deg, #06b6d4, #0891b2);
}

.ssc-info-grid > div[data-field="referral"]::before {
	background: linear-gradient(90deg, #ec4899, #db2777);
}

.ssc-info-grid > div[data-field="registration"]::before {
	background: linear-gradient(90deg, #6366f1, #4f46e5);
}

.ssc-info-grid .ssc-info-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.ssc-info-grid .ssc-info-card-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.ssc-info-grid .ssc-info-card-icon .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 0.5;
	color: white;
}

.ssc-info-grid > div[data-field="client-name"] .ssc-info-card-icon {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: #ffffff;
}

.ssc-info-grid > div[data-field="company-name"] .ssc-info-card-icon {
	background: linear-gradient(135deg, #8b5cf6, #7c3aed);
	color: #ffffff;
}

.ssc-info-grid > div[data-field="email"] .ssc-info-card-icon {
	background: linear-gradient(135deg, #10b981, #059669);
	color: #ffffff;
}

.ssc-info-grid > div[data-field="phone"] .ssc-info-card-icon {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #ffffff;
}

.ssc-info-grid > div[data-field="address"] .ssc-info-card-icon {
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: #ffffff;
}

.ssc-info-grid > div[data-field="mof-number"] .ssc-info-card-icon {
	background: linear-gradient(135deg, #06b6d4, #0891b2);
	color: #ffffff;
}

.ssc-info-grid > div[data-field="referral"] .ssc-info-card-icon {
	background: linear-gradient(135deg, #ec4899, #db2777);
	color: #ffffff;
}

.ssc-info-grid > div[data-field="registration"] .ssc-info-card-icon {
	background: linear-gradient(135deg, #6366f1, #4f46e5);
	color: #ffffff;
}

.ssc-info-grid label {
	font-size: 11px;
	font-family: 'Segoe UI', 'Roboto', sans-serif;
	color: #64748b;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: block;
	margin: 0;
	transition: color 0.3s ease;
}

.ssc-info-grid > div:hover label {
	color: #475569;
}

.ssc-info-grid strong {
	font-size: 16px;
	font-family: 'Segoe UI', 'Roboto', sans-serif;
	font-weight: 600;
	color: #1c2434;
	display: block;
	line-height: 1.5;
	margin-top: 8px;
	transition: color 0.3s ease;
}

.ssc-info-grid span {
	font-size: 15px;
	font-family: 'Segoe UI', 'Roboto', sans-serif;
	font-weight: 500;
	color: #334155;
	display: block;
	line-height: 1.5;
	margin-top: 8px;
	transition: color 0.3s ease;
	word-break: break-word;
}

.ssc-info-grid > div:hover strong,
.ssc-info-grid > div:hover span {
	color: #1c2434;
}

.ssc-info-grid a {
	color: #3b82f6;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 500;
}

.ssc-info-grid a:hover {
	color: #2563eb;
	text-decoration: underline;
}

.ssc-notes {
	border-top: 1px solid #e1e6f0;
	margin-top: 20px;
	padding-top: 20px;
}

.ssc-panel-gradient .ssc-notes {
	color: #334155;
	border-top: 1px solid #e2e7f3;
	margin-top: 24px;
	padding-top: 24px;
	background: #f8fafc;
	padding: 20px;
	margin: 24px 0 0 0;
	border-radius: 10px;
}

.ssc-panel-gradient .ssc-notes label {
	color: #94a3b8;
}

.ssc-panel-gradient .ssc-notes p {
	color: #f1f5f9;
}

.ssc-notes label {
	display: block;
	font-size: 12px;
	font-family: 'Segoe UI', 'Roboto', sans-serif;
	color: white;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.ssc-notes p {
	margin: 0;
	font-family: 'Segoe UI', 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #fff;
	line-height: 1.6;
}

.ssc-search .dashicons {
	color: #9aa4c4;
}

/* Search filter animation */
.ssc-filter-match {
	animation: ssc-filter-fade-in 0.5s ease-out;
}

@keyframes ssc-filter-fade-in {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Smooth transitions for table rows during filtering */
.ssc-table tbody tr:not(.ssc-client-details-row),
#ssc-accounting-table tbody tr:not(.ssc-client-details-row) {
	transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.ssc-multi {
	width: 100%;
	min-height: 120px;
	border-radius: 12px;
	border: 1px solid #d7deef;
}

.ssc-button-inline select {
	border-radius: 12px;
	padding: 6px 8px;
}

.ssc-chart {
	display: flex;
	align-items: flex-end;
	gap: 18px;
	padding: 12px 0 6px;
	min-height: 200px;
}

.ssc-chart-bar {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.ssc-chart-bar-fill {
	width: 42px;
	background: linear-gradient(180deg, #002444, #003c6e);
	border-radius: 12px 12px 0 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 6px;
	transition: height .3s ease;
}

.ssc-chart-bar-fill span {
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 6px;
}

.ssc-chart-bar label {
	font-size: 12px;
	text-transform: uppercase;
	color: #7c869d;
}

/* Calendar Header Controls */
.ssc-calendar-header-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	padding: 0 4px;
}

.ssc-calendar-header-controls h2 {
	margin: 0;
	flex: 1;
	text-align: center;
	cursor: pointer;
	user-select: none;
	transition: color 0.2s ease;
	font-size: 18px;
}

.ssc-calendar-header-controls h2:hover {
	color: #0a84ff;
}

.ssc-calendar-nav-btn {
	background: rgba(255, 255, 255, 0.05);
	border: 0.5px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 8px 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #e8ecf5;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.ssc-calendar-nav-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: #0a84ff;
	transform: scale(1.05);
}

.ssc-calendar-nav-btn:active {
	transform: scale(0.95);
}

.ssc-calendar-nav-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 1;
}

.ssc-calendar-month-picker {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* Calendar Wrapper for Swipe Animation */
.ssc-calendar-wrapper {
	position: relative;
	overflow: hidden;
}

.ssc-calendar-wrapper.ssc-calendar-swiping {
	overflow: visible;
}

/* Calendar Styles */
.ssc-calendar {
	padding: 12px 0;
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
	position: relative;
}

.ssc-calendar-slide-out-left {
	animation: slideOutLeft 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ssc-calendar-slide-out-right {
	animation: slideOutRight 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ssc-calendar-slide-in-left {
	animation: slideInLeft 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ssc-calendar-slide-in-right {
	animation: slideInRight 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOutLeft {
	0% {
		transform: translateX(0);
		opacity: 1;
	}
	100% {
		transform: translateX(-100%);
		opacity: 0;
	}
}

@keyframes slideOutRight {
	0% {
		transform: translateX(0);
		opacity: 1;
	}
	100% {
		transform: translateX(100%);
		opacity: 0;
	}
}

@keyframes slideInLeft {
	0% {
		transform: translateX(100%);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideInRight {
	0% {
		transform: translateX(-100%);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

/* Calendar Loading Indicator */
.ssc-calendar-day-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	pointer-events: none;
}

.ssc-loading-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(5, 150, 105, 0.2);
	border-top-color: #059669;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
	display: inline-block;
	vertical-align: middle;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.ssc-calendar-header {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	margin-bottom: 8px;
}

.ssc-calendar-weekday {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	color: #7c869d;
	text-align: center;
	padding: 6px 4px;
}

.ssc-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}

.ssc-calendar-day {
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #f5f7fb;
	position: relative;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 4px;
	min-height: 35px;
}

.ssc-calendar-day:hover {
	background: #e8ecf5;
	transform: translateY(-1px);
}

.ssc-calendar-day-empty {
	background: transparent;
	cursor: default;
}

.ssc-calendar-day-empty:hover {
	background: transparent;
	transform: none;
}

.ssc-calendar-day-number {
	font-size: 12px;
	font-weight: 500;
	color: #1c2434;
}

.ssc-calendar-day-today {
	background: linear-gradient(135deg, #002444, #003c6e);
	box-shadow: 0 4px 12px rgba(31,142,241,.3);
}

.ssc-calendar-day-today .ssc-calendar-day-number {
	color: #fff;
	font-weight: 600;
}

.ssc-calendar-day-has-clients {
	background: #e8f4fd;
	border: 2px solid #1f8ef1;
}

.ssc-calendar-day-has-clients .ssc-calendar-day-number {
	color: #1f8ef1;
	font-weight: 600;
}

.ssc-calendar-day-today.ssc-calendar-day-has-clients {
	background: linear-gradient(135deg, #002444, #003c6e);
	border-color: #1f8ef1;
}

.ssc-calendar-day-today.ssc-calendar-day-has-clients .ssc-calendar-day-number {
	color: #fff;
}

.ssc-calendar-day-badge {
	position: absolute;
	top: 2px;
	right: 2px;
	background: #1f8ef1;
	color: #fff;
	font-size: 9px;
	font-weight: 600;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.ssc-calendar-day-today .ssc-calendar-day-badge {
	background: rgba(255,255,255,.3);
	color: #fff;
	border: 1px solid rgba(255,255,255,.5);
}

.ssc-calendar-day-has-meetings {
	background: #fff3cd;
	border: 2px solid #ffc107;
}

.ssc-calendar-day-has-meetings .ssc-calendar-day-number {
	color: #856404;
	font-weight: 600;
}

.ssc-calendar-day-today.ssc-calendar-day-has-meetings {
	background: linear-gradient(135deg, #ffc107, #ff9800);
	border-color: #ffc107;
}

.ssc-calendar-day-today.ssc-calendar-day-has-meetings .ssc-calendar-day-number {
	color: #fff;
}

.ssc-calendar-day-meeting-badge {
	position: absolute;
	top: 2px;
	right: 2px;
	background: #ffc107;
	color: #856404;
	font-size: 9px;
	font-weight: 700;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: 0 2px 4px rgba(255,193,7,.3);
}

.ssc-calendar-day-today .ssc-calendar-day-meeting-badge {
	background: rgba(255,255,255,.9);
	color: #856404;
	border: 1px solid rgba(255,255,255,.5);
}

.ssc-calendar-day-has-events {
	background: #fff3cd;
	border: 2px solid #ffc107;
}

.ssc-calendar-day-has-events .ssc-calendar-day-number {
	color: #856404;
	font-weight: 600;
}

.ssc-calendar-day-today.ssc-calendar-day-has-events {
	background: linear-gradient(135deg, #ffc107, #ff9800);
	border-color: #ffc107;
}

.ssc-calendar-day-today.ssc-calendar-day-has-events .ssc-calendar-day-number {
	color: #fff;
}

.ssc-calendar-day-badges {
	position: absolute;
	top: 2px;
	right: 2px;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	justify-content: flex-end;
	max-width: calc(100% - 4px);
}

.ssc-calendar-badge {
	font-size: 8px;
	font-weight: 700;
	border-radius: 3px;
	padding: 1px 3px;
	line-height: 1.2;
	white-space: nowrap;
}

.ssc-calendar-badge-meeting {
	background: #1f8ef1;
	color: #fff;
}

.ssc-calendar-badge-start {
	background: #16a34a;
	color: #fff;
}

.ssc-calendar-badge-expire {
	background: #dc2626;
	color: #fff;
}

.ssc-calendar-badge-payment {
	background: #f59e0b;
	color: #fff;
}

.ssc-calendar-badge-lead {
	background: #8b5cf6;
	color: #fff;
}

.ssc-calendar-day-today .ssc-calendar-badge {
	background: rgba(255,255,255,.9);
	color: #1c2434;
	border: 1px solid rgba(255,255,255,.5);
}

.ssc-calendar-day-today .ssc-calendar-badge-meeting {
	color: #1f8ef1;
}

.ssc-calendar-day-today .ssc-calendar-badge-start {
	color: #16a34a;
}

.ssc-calendar-day-today .ssc-calendar-badge-expire {
	color: #dc2626;
}

.ssc-calendar-day-today .ssc-calendar-badge-payment {
	color: #f59e0b;
}

.ssc-calendar-day-today .ssc-calendar-badge-lead {
	color: #8b5cf6;
}

/* Calendar Container Layout */
.ssc-calendar-container {
	display: grid;
	grid-template-columns: 600px 1fr;
	gap: 20px;
}

@media (max-width: 1200px) {
	.ssc-calendar-container {
		grid-template-columns: 1fr;
	}
}

/* Dark Mode for Calendar and Side Panel */
.ssc-calendar-container .ssc-card {
	background: #1a1d2e;
	border: 1px solid #2d3142;
}

.ssc-calendar-container .ssc-panel {
	background: linear-gradient(180deg, #1a1d2e 0%, #161923 100%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.ssc-calendar-container h2 {
	color: #e8ecf5;
}

.ssc-calendar {
	background: #1a1d2e;
}

.ssc-calendar-header {
	background: #1a1d2e;
}

.ssc-calendar-weekday {
	color: #9ca3af;
}

.ssc-calendar-day {
	background: #252938;
	border: 1px solid #2d3142;
}

.ssc-calendar-day:hover {
	background: #2d3142;
}

.ssc-calendar-day-empty {
	background: transparent;
}

.ssc-calendar-day-number {
	color: #e8ecf5;
}

.ssc-calendar-day-today {
	background: linear-gradient(135deg, #002444, #003c6e);
	border-color: #1f8ef1;
}

.ssc-calendar-day-today .ssc-calendar-day-number {
	color: #fff;
}

.ssc-calendar-day-has-events {
	background: #3d2e1a;
	border: 2px solid #f59e0b;
}

.ssc-calendar-day-has-events .ssc-calendar-day-number {
	color: #fbbf24;
	font-weight: 600;
}

.ssc-calendar-day-today.ssc-calendar-day-has-events {
	background: linear-gradient(135deg, #f59e0b, #f97316);
	border-color: #f59e0b;
}

.ssc-calendar-day-today.ssc-calendar-day-has-events .ssc-calendar-day-number {
	color: #fff;
}

.ssc-calendar-day-selected {
	box-shadow: 0 0 0 3px #1f8ef1 !important;
	background: #2d3142 !important;
}

.ssc-calendar-day-selected .ssc-calendar-day-number {
	color: #1f8ef1;
	font-weight: 700;
}

.ssc-calendar-badge {
	font-size: 8px;
	font-weight: 700;
	border-radius: 3px;
	padding: 1px 3px;
	line-height: 1.2;
	white-space: nowrap;
}

.ssc-calendar-badge-meeting {
	background: #1f8ef1;
	color: #fff;
}

.ssc-calendar-badge-start {
	background: #16a34a;
	color: #fff;
}

.ssc-calendar-badge-expire {
	background: #dc2626;
	color: #fff;
}

.ssc-calendar-badge-payment {
	background: #f59e0b;
	color: #fff;
}

.ssc-calendar-badge-lead {
	background: #8b5cf6;
	color: #fff;
}

.ssc-calendar-day-today .ssc-calendar-badge {
	background: rgba(255,255,255,.9);
	color: #1c2434;
	border: 1px solid rgba(255,255,255,.5);
}

.ssc-calendar-day-today .ssc-calendar-badge-meeting {
	color: #1f8ef1;
}

.ssc-calendar-day-today .ssc-calendar-badge-start {
	color: #16a34a;
}

.ssc-calendar-day-today .ssc-calendar-badge-expire {
	color: #dc2626;
}

.ssc-calendar-day-today .ssc-calendar-badge-payment {
	color: #f59e0b;
}

.ssc-calendar-day-today .ssc-calendar-badge-lead {
	color: #8b5cf6;
}

/* iOS-style Dark Mode Side Panel */
.ssc-side-panel-content {
	background: transparent;
	color: #e8ecf5;
	padding: 16px;
	max-height: calc(100vh - 200px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.ssc-side-panel-content::-webkit-scrollbar {
	width: 6px;
}

.ssc-side-panel-content::-webkit-scrollbar-track {
	background: transparent;
}

.ssc-side-panel-content::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
}

.ssc-side-panel-content::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

.ssc-side-panel-empty {
	color: #9ca3af;
	padding: 60px 20px;
}

.ssc-side-panel-empty p {
	color: #9ca3af;
	font-size: 15px;
	line-height: 1.5;
}

.ssc-side-panel-section {
	margin-bottom: 32px;
}

.ssc-side-panel-section:last-child {
	margin-bottom: 0;
}

.ssc-side-panel-section-title {
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0 0 16px 0;
	padding: 0 0 12px 0;
	border-bottom: none;
	text-transform: uppercase;
	opacity: 0.6;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ssc-side-panel-icon {
	font-size: 16px;
	opacity: 0.8;
	width: 16px;
	height: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ssc-side-panel-icon.dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1;
}

.ssc-side-panel-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

@media (max-width: 1400px) {
	.ssc-side-panel-items {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.ssc-side-panel-items {
		grid-template-columns: 1fr;
	}
}

.ssc-side-panel-item {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 0.5px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 16px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 120px;
}

/* Vibrant colors for each card using nth-child */
.ssc-side-panel-item:nth-child(3n+1) {
	background: linear-gradient(135deg, rgba(10, 132, 255, 0.15), rgba(5, 122, 255, 0.1));
	border-color: rgba(10, 132, 255, 0.3);
}

.ssc-side-panel-item:nth-child(3n+2) {
	background: linear-gradient(135deg, rgba(255, 45, 85, 0.15), rgba(255, 55, 95, 0.1));
	border-color: rgba(255, 45, 85, 0.3);
}

.ssc-side-panel-item:nth-child(3n+3) {
	background: linear-gradient(135deg, rgba(52, 199, 89, 0.15), rgba(48, 209, 88, 0.1));
	border-color: rgba(52, 199, 89, 0.3);
}

.ssc-side-panel-item:nth-child(6n+4) {
	background: linear-gradient(135deg, rgba(255, 159, 10, 0.15), rgba(255, 149, 0, 0.1));
	border-color: rgba(255, 159, 10, 0.3);
}

.ssc-side-panel-item:nth-child(6n+5) {
	background: linear-gradient(135deg, rgba(175, 82, 222, 0.15), rgba(191, 90, 242, 0.1));
	border-color: rgba(175, 82, 222, 0.3);
}

.ssc-side-panel-item:nth-child(6n+6) {
	background: linear-gradient(135deg, rgba(255, 59, 48, 0.15), rgba(255, 69, 58, 0.1));
	border-color: rgba(255, 59, 48, 0.3);
}

.ssc-side-panel-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.ssc-side-panel-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	border-color: rgba(255, 255, 255, 0.25);
}

.ssc-side-panel-item:nth-child(3n+1):hover {
	background: linear-gradient(135deg, rgba(10, 132, 255, 0.25), rgba(5, 122, 255, 0.2));
}

.ssc-side-panel-item:nth-child(3n+2):hover {
	background: linear-gradient(135deg, rgba(255, 45, 85, 0.25), rgba(255, 55, 95, 0.2));
}

.ssc-side-panel-item:nth-child(3n+3):hover {
	background: linear-gradient(135deg, rgba(52, 199, 89, 0.25), rgba(48, 209, 88, 0.2));
}

.ssc-side-panel-item:nth-child(6n+4):hover {
	background: linear-gradient(135deg, rgba(255, 159, 10, 0.25), rgba(255, 149, 0, 0.2));
}

.ssc-side-panel-item:nth-child(6n+5):hover {
	background: linear-gradient(135deg, rgba(175, 82, 222, 0.25), rgba(191, 90, 242, 0.2));
}

.ssc-side-panel-item:nth-child(6n+6):hover {
	background: linear-gradient(135deg, rgba(255, 59, 48, 0.25), rgba(255, 69, 58, 0.2));
}

.ssc-side-panel-item.completed {
	border-left: 3px solid #34c759;
	background: rgba(52, 199, 89, 0.08);
}

.ssc-side-panel-item.completed::before {
	background: linear-gradient(90deg, transparent, rgba(52, 199, 89, 0.2), transparent);
}

.ssc-side-panel-item.cancelled {
	border-left: 3px solid #ff3b30;
	background: rgba(255, 59, 48, 0.08);
	opacity: 0.7;
}

.ssc-side-panel-item.cancelled::before {
	background: linear-gradient(90deg, transparent, rgba(255, 59, 48, 0.2), transparent);
}

.ssc-side-panel-item-time {
	color: #0a84ff;
	font-size: 13px;
	font-weight: 600;
	flex-shrink: 0;
	letter-spacing: -0.01em;
	margin-bottom: 8px;
}

.ssc-side-panel-item-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 0;
}

.ssc-side-panel-item-content strong {
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.3;
	display: block;
}

.ssc-side-panel-item-meta {
	color: #8e8e93;
	font-size: 13px;
	line-height: 1.4;
	display: block;
	letter-spacing: -0.01em;
}

.ssc-side-panel-item-description {
	color: #a1a1a6;
	font-size: 13px;
	line-height: 1.5;
	margin: 8px 0 0 0;
	letter-spacing: -0.01em;
}

.ssc-side-panel-item-edit {
	background: rgba(10, 132, 255, 0.2);
	color: #0a84ff;
	border: 0.5px solid rgba(10, 132, 255, 0.3);
	padding: 8px 16px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	letter-spacing: -0.01em;
	margin-top: auto;
	width: 100%;
	text-align: center;
}

.ssc-side-panel-item-edit:hover {
	background: rgba(10, 132, 255, 0.3);
	border-color: rgba(10, 132, 255, 0.5);
	transform: scale(1.02);
	box-shadow: 0 4px 12px rgba(10, 132, 255, 0.2);
}

.ssc-side-panel-item-edit:active {
	transform: scale(0.98);
}



/* Meeting Modal Styles */
.ssc-meeting-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ssc-meeting-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}

.ssc-meeting-modal-content {
	position: relative;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-width: 600px;
	width: 100%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	z-index: 1;
}

.ssc-meeting-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid #dfe5f5;
}

.ssc-meeting-modal-header h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #1c2434;
}

.ssc-meeting-modal-close {
	background: none;
	border: none;
	font-size: 32px;
	line-height: 1;
	color: #7c869d;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.ssc-meeting-modal-close:hover {
	background: #f5f7fb;
	color: #1c2434;
}

.ssc-meeting-modal-body {
	padding: 24px;
	overflow-y: auto;
	flex: 1;
}

.ssc-meeting-list {
	margin-bottom: 24px;
}

.ssc-meeting-list-header {
	margin-bottom: 12px;
}

.ssc-meeting-list-header h3 {
	margin: 0 0 12px 0;
	font-size: 16px;
	font-weight: 600;
	color: #1c2434;
}

.ssc-meeting-list-items {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ssc-meeting-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px;
	background: #f5f7fb;
	border-radius: 12px;
	border-left: 4px solid #1f8ef1;
	transition: all 0.2s ease;
}

.ssc-meeting-item:hover {
	background: #e8ecf5;
	transform: translateX(2px);
}

.ssc-meeting-item.completed {
	border-left-color: #16a34a;
	opacity: 0.8;
}

.ssc-meeting-item.cancelled {
	border-left-color: #dc2626;
	opacity: 0.7;
}

.ssc-meeting-item-time {
	font-size: 13px;
	font-weight: 600;
	color: #1f8ef1;
	min-width: 60px;
}

.ssc-meeting-item-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ssc-meeting-item-content strong {
	font-size: 14px;
	color: #1c2434;
}

.ssc-meeting-item-location,
.ssc-meeting-item-client,
.ssc-meeting-item-lead {
	font-size: 12px;
	color: #7c869d;
}

.ssc-meeting-item-edit {
	background: #1f8ef1;
	color: #fff;
	border: none;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ssc-meeting-item-edit:hover {
	background: #1a7dd4;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(31,142,241,.3);
}

.ssc-meeting-list-empty {
	text-align: center;
	padding: 24px;
	color: #7c869d;
	font-size: 14px;
}

.ssc-meeting-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ssc-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ssc-form-group label {
	font-size: 13px;
	font-weight: 600;
	color: #1c2434;
}

.ssc-form-group .required {
	color: #dc2626;
}

.ssc-form-group input[type="text"],
.ssc-form-group input[type="datetime-local"],
.ssc-form-group input[type="file"],
.ssc-form-group select,
.ssc-form-group textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #dfe5f5;
	border-radius: 12px;
	font-size: 14px;
	color: #1c2434;
	background: #fff;
	transition: all 0.2s ease;
}

.ssc-form-group select:not([multiple]) {
	appearance: none;
	-webkit-appearance: none;
	-moz-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='%231c2434' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
	cursor: pointer;
}

.ssc-form-group input:focus,
.ssc-form-group select:focus,
.ssc-form-group textarea:focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 3px rgba(31,142,241,.15);
}

/* Modern Select Dropdown Styling - UI Kit Style */
.ssc-modern-select,
.ssc-app select:not([multiple]):not(.ssc-catalog-hidden-select) {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius: 12px;
	border: 1px solid #dfe5f5;
	padding: 10px 38px 10px 14px;
	font-size: 14px;
	background: #fff;
	color: #1c2434;
	cursor: pointer;
	transition: all 0.2s ease;
	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='%231c2434' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.ssc-modern-select:hover,
.ssc-app select:not([multiple]):not(.ssc-catalog-hidden-select):hover {
	border-color: #cbd5e1;
}

.ssc-modern-select:focus,
.ssc-app select:not([multiple]):not(.ssc-catalog-hidden-select):focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 2px rgba(31,142,241,.15);
}

.ssc-modern-select option,
.ssc-app select:not([multiple]):not(.ssc-catalog-hidden-select) option {
	padding: 10px 14px;
	font-size: 14px;
	color: #1c2434;
	background: #fff;
}

.ssc-modern-select option:hover,
.ssc-app select:not([multiple]):not(.ssc-catalog-hidden-select) option:hover {
	background: #f5f7fb;
}

.ssc-modern-select option:checked,
.ssc-app select:not([multiple]):not(.ssc-catalog-hidden-select) option:checked {
	background: #1f8ef1;
	color: #fff;
	font-weight: 500;
}

/* Specific styles for invoice form catalog selects */
.ssc-catalog-item-select.ssc-modern-select {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	border-radius: 12px !important;
	border: 1px solid #dfe5f5 !important;
	padding: 10px 38px 10px 14px !important;
	font-size: 14px !important;
	background: #fff !important;
	color: #1c2434 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	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='%231c2434' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
}

.ssc-catalog-item-select.ssc-modern-select:hover {
	border-color: #cbd5e1 !important;
}

.ssc-catalog-item-select.ssc-modern-select:focus {
	outline: none !important;
	border-color: #1f8ef1 !important;
	box-shadow: 0 0 0 2px rgba(31,142,241,.15) !important;
}

/* Loading indicator styles */
.ssc-loading-indicator {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(5, 150, 105, 0.2);
	border-top-color: #059669;
	border-radius: 50%;
	animation: ssc-spin 0.6s linear infinite;
	vertical-align: middle;
}

@keyframes ssc-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Custom Modern Dropdown Styles */
.ssc-custom-dropdown {
	position: relative;
	width: 100%;
	flex: 1;
}

.ssc-custom-dropdown-button {
	width: 100%;
	padding: 10px 38px 10px 14px;
	border: 1px solid #dfe5f5;
	border-radius: 12px;
	background: #fff;
	color: #1c2434;
	font-size: 14px;
	cursor: pointer;
	text-align: left;
	transition: all 0.2s ease;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 42px;
}

.ssc-custom-dropdown-button:hover {
	border-color: #cbd5e1;
}

.ssc-custom-dropdown-button.is-open {
	border-color: #1f8ef1;
	box-shadow: 0 0 0 2px rgba(31,142,241,.15);
}

.ssc-custom-dropdown-button-text {
	flex: 1;
	color: #1c2434;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ssc-custom-dropdown-button-text.is-placeholder {
	color: #9ca3af;
}

.ssc-custom-dropdown-arrow {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	margin-left: 10px;
	transition: transform 0.2s ease;
}

.ssc-custom-dropdown-button.is-open .ssc-custom-dropdown-arrow {
	transform: rotate(180deg);
}

.ssc-custom-dropdown-menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #dfe5f5;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	z-index: 10000;
	max-height: 300px;
	overflow: hidden;
	display: none;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.ssc-custom-dropdown-menu.is-open {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.ssc-custom-dropdown-search {
	padding: 12px;
	border-bottom: 1px solid #e8ecf4;
}

.ssc-custom-dropdown-search input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #dfe5f5;
	border-radius: 8px;
	font-size: 14px;
	color: #1c2434;
	transition: border-color 0.2s ease;
}

.ssc-custom-dropdown-search input:focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 2px rgba(31,142,241,.1);
}

.ssc-custom-dropdown-options {
	max-height: 240px;
	overflow-y: auto;
	padding: 4px 0;
}

.ssc-custom-dropdown-options::-webkit-scrollbar {
	width: 6px;
}

.ssc-custom-dropdown-options::-webkit-scrollbar-track {
	background: #f9fafb;
	border-radius: 3px;
}

.ssc-custom-dropdown-options::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 3px;
}

.ssc-custom-dropdown-options::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

.ssc-custom-dropdown-option {
	padding: 10px 14px;
	cursor: pointer;
	transition: background-color 0.15s ease;
	color: #1c2434;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ssc-custom-dropdown-option:hover {
	background: #f5f7fb;
}

.ssc-custom-dropdown-option.is-selected {
	background: #eff6ff;
	color: #1f8ef1;
	font-weight: 500;
}

.ssc-custom-dropdown-option.is-highlighted {
	background: #eff6ff;
}

.ssc-custom-dropdown-option-text {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ssc-custom-dropdown-option-price {
	color: #6b7280;
	font-size: 13px;
	margin-left: 8px;
	flex-shrink: 0;
}

.ssc-custom-dropdown-option.is-selected .ssc-custom-dropdown-option-price {
	color: #1f8ef1;
}

.ssc-custom-dropdown-empty {
	padding: 20px;
	text-align: center;
	color: #9ca3af;
	font-size: 14px;
}

.ssc-form-group textarea {
	resize: vertical;
	min-height: 80px;
	font-family: inherit;
}

/* Data Manager Modern Styles */
.ssc-data-manager-grid {
	gap: 24px;
}

.ssc-data-manager-panel {
	border: 1px solid #e8ecf4;
	transition: all 0.3s ease;
}

.ssc-data-manager-panel:hover {
	box-shadow: 0 12px 32px rgba(20,29,43,.12);
	transform: translateY(-2px);
}

.ssc-data-manager-panel .ssc-panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 2px solid #f0f3f8;
}

.ssc-data-manager-panel .ssc-panel-header h2 {
	margin: 0 0 4px 0;
	font-size: 20px;
	font-weight: 700;
	color: #1c2434;
}

.ssc-panel-description {
	margin: 0;
	font-size: 13px;
	color: #7c869d;
	line-height: 1.5;
}

.ssc-panel-icon {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #1f8ef1;
	opacity: 0.8;
}

.ssc-data-manager-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Modern Buttons */
.ssc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 600;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	line-height: 1.5;
}

.ssc-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.ssc-btn-primary {
	background: linear-gradient(135deg, #002444, #003c6e);
	color: #fff;
	box-shadow: 0 4px 12px rgba(31,142,241,.25);
}

.ssc-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(31,142,241,.35);
	background: linear-gradient(135deg, #1a7dd9 0%, #3594e6 100%);
}

.ssc-btn-large {
	padding: 14px 24px;
	font-size: 15px;
}

.ssc-btn-block {
	width: 100%;
}

.ssc-btn-secondary {
	background: #f8f9fb;
	color: #1c2434;
	border: 2px solid #e8ecf4;
}

.ssc-btn-secondary:hover {
	background: #fff;
	border-color: #1f8ef1;
	color: #1f8ef1;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(31,142,241,.15);
}

/* Divider */
.ssc-divider {
	display: flex;
	align-items: center;
	text-align: center;
	margin: 8px 0;
}

.ssc-divider::before,
.ssc-divider::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid #e8ecf4;
}

.ssc-divider span {
	padding: 0 12px;
	font-size: 12px;
	color: #9ca3b0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Table Buttons Grid */
.ssc-table-buttons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.ssc-table-form {
	margin: 0;
}

/* File Upload */
.ssc-file-upload-wrapper {
	position: relative;
}

.ssc-file-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.ssc-file-label {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: #f8f9fb;
	border: 2px dashed #d1d8e6;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ssc-file-label:hover {
	background: #fff;
	border-color: #1f8ef1;
	border-style: solid;
}

.ssc-file-label .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: #1f8ef1;
}

.ssc-file-text {
	font-weight: 600;
	color: #1c2434;
	font-size: 14px;
}

.ssc-file-name {
	flex: 1;
	text-align: right;
	color: #7c869d;
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Radio Buttons */
.ssc-radio-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.ssc-radio-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	padding: 14px;
	background: #f8f9fb;
	border: 2px solid #e8ecf4;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.ssc-radio-label:hover {
	background: #fff;
	border-color: #d1d8e6;
}

input.ssc-radio {
	display: none;
}

.ssc-radio-custom {
	position: relative;
	width: 20px;
	height: 20px;
	border: 2px solid #d1d8e6;
	border-radius: 50%;
	background: #fff;
	flex-shrink: 0;
	margin-top: 2px;
	transition: all 0.2s ease;
}

input.ssc-radio:checked + .ssc-radio-custom {
	border-color: #1f8ef1;
	background: #1f8ef1;
}

input.ssc-radio:checked + .ssc-radio-custom::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 50%;
}

.ssc-radio-label input.ssc-radio:checked ~ .ssc-radio-text {
	color: #1c2434;
}

.ssc-radio-label:has(input.ssc-radio:checked) {
	background: #f0f7ff;
	border-color: #1f8ef1;
}

.ssc-radio-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
}

.ssc-radio-text strong {
	font-size: 14px;
	font-weight: 600;
	color: #1c2434;
}

.ssc-radio-text span {
	font-size: 12px;
	color: #7c869d;
}

/* Checkbox */
.ssc-checkbox-label {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	padding: 14px;
	background: #f8f9fb;
	border: 2px solid #e8ecf4;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.ssc-checkbox-label:hover {
	background: #fff;
	border-color: #d1d8e6;
}

input.ssc-checkbox {
	display: none;
}

.ssc-checkbox-custom {
	position: relative;
	width: 20px;
	height: 20px;
	border: 2px solid #d1d8e6;
	border-radius: 6px;
	background: #fff;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

input.ssc-checkbox:checked + .ssc-checkbox-custom {
	border-color: #1f8ef1;
	background: #1f8ef1;
}

input.ssc-checkbox:checked + .ssc-checkbox-custom::after {
	content: '\2713';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
}

input.ssc-checkbox:checked ~ span:not(.ssc-checkbox-custom) {
	color: #1c2434;
}

.ssc-checkbox-label:has(input.ssc-checkbox:checked) {
	background: #f0f7ff;
	border-color: #1f8ef1;
}

.ssc-checkbox-label span:not(.ssc-checkbox-custom) {
	font-size: 14px;
	font-weight: 500;
	color: #1c2434;
}

/* Preview */
.ssc-import-preview {
	margin-top: 8px;
	padding: 16px;
	background: linear-gradient(135deg, #f8f9fb 0%, #f0f7ff 100%);
	border: 2px solid #e0e8f5;
	border-radius: 12px;
}

.ssc-preview-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 600;
	color: #1c2434;
}

.ssc-preview-header .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #1f8ef1;
}

.ssc-preview-content {
	font-size: 13px;
}

.ssc-preview-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ssc-preview-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 12px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e8ecf4;
}

.ssc-preview-label {
	color: #7c869d;
	text-transform: capitalize;
}

.ssc-preview-value {
	font-weight: 600;
	color: #1c2434;
}

.ssc-loading {
	color: #7c869d;
	font-style: italic;
}

/* Skeleton Loader Animation */
.ssc-loading-skeleton {
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	justify-content: center;
}

.ssc-loading-skeleton::before {
	content: '';
	width: 200px;
	height: 20px;
	background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
	background-size: 200% 100%;
	border-radius: 4px;
	animation: shimmer 1.5s infinite;
}

.ssc-loading-skeleton::after {
	content: '';
	width: 150px;
	height: 16px;
	background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
	background-size: 200% 100%;
	border-radius: 4px;
	animation: shimmer 1.5s infinite 0.2s;
}

@keyframes shimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}

.ssc-error {
	color: #dc2626;
}

.ssc-meeting-modal-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid #dfe5f5;
	margin-top: 8px;
}

.ssc-meeting-modal-actions .button {
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ssc-meeting-modal-actions .button-link-delete {
	color: #fff;
	border-color: #b32d2e;
	background-color: #b32d2e;
	padding: 10px 16px;
}

.ssc-meeting-modal-actions .button-link-delete:hover {
	background: #a02626;
	color: #fff;
	border-color: #a02626;
}

.ssc-meeting-add-btn {
	transition: all 0.2s ease;
}

.ssc-meeting-add-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(31,142,241,.3);
}

.ssc-meeting-show-list {
	transition: all 0.2s ease;
}

.ssc-meeting-show-list:hover {
	background: #e8ecf5 !important;
	border-color: #1f8ef1 !important;
}

.ssc-calendar-day:not(.ssc-calendar-day-empty) {
	cursor: pointer;
}

.ssc-month-tabs {
	display: grid;
	grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
	gap: 12px;
	background: linear-gradient(45deg, #141d2b, #1d3e72);
	padding: 12px 16px;
	border-radius: 12px;
	margin-bottom: 16px;
	font-size: 12px;
	text-transform: uppercase;
	color: #fff;
	font-weight: 600;
}

.ssc-month-tabs span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ssc-month-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
}

.ssc-month-card {
	width: 100%;
	padding: 0;
	background: transparent;
	box-shadow: none;
	min-height: auto;
	border-radius: 0;
}

.ssc-month-service-row {
	display: grid;
	grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
	gap: 8px;
	padding: 10px 12px;
	background: #f5f7fb;
	align-items: center;
}

/* Finance summary uses 4 columns but same visual style */
.ssc-finance-tabs {
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.ssc-month-tabs.ssc-finance-tabs {
	background: linear-gradient(45deg, #141d2b, #1d3e72);
}

.ssc-finance-row {
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.ssc-finance-tabs span:last-child {
	text-align: center;
}

.ssc-finance-row .ssc-month-cell:last-child {
	align-items: center;
	text-align: center;
}

.ssc-statement-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 50px;
}

.ssc-statement-toolbar h2 {
	margin: 0;
}

.ssc-statement-header {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
	align-items: center;
}

.ssc-statement-logo img {
	max-height: 60px;
	width: auto;
}

.ssc-statement-company {
	font-size: 12px;
	line-height: 1.5;
	color: #000000;
	border-left: solid 1px #80808033;
	padding-left: 20px;
	font-weight: 400;
}

.ssc-service-payments {
	margin-top: 0px;
	padding: 0px;
	border-radius: 12px;
	border: none !important;
	background: none !important;
}

.ssc-service-payments-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.ssc-service-payments-header div strong {
	font-size: 18px;
	font-weight: 700;
}

.ssc-service-payments-summary {
	font-size: 12px;
	color: #4b5563;
	margin-top: 2px;
}

.ssc-service-payments-empty {
	font-size: 12px;
	color: #6b7280;
	margin: 0 0 6px;
}

.ssc-service-payments-table {
	margin-bottom: 6px;
}

table.widefat.striped.ssc-service-payments-table {
	background: none;
}

table.widefat.striped.ssc-service-payments-table tr th {
	/* color: black; - Removed to allow dark mode overrides */
	font-weight: 500;
}

table.widefat.striped.ssc-service-payments-table thead tr th {
	/* color: black !important; - Removed to allow dark mode overrides */
}

/* Services Purchased > Payment table header */
.ssc-service-payments .ssc-table thead tr th {
	/* color: #000000 !important; - Removed to allow dark mode overrides */
}

span.dashicons.dashicons-arrow-down-alt2 {
	margin-top: 3px;
}

tr.ssc-payment-row {
	background: #ffffff00 !important;
}

.ssc-payment-row-actions {
	display: flex;
	gap: 6px;
	align-items: center;
}

.ssc-payment-edit-row {
	display: none;
}

.ssc-payment-edit-row.is-open {
	display: table-row;
}

.ssc-service-payment-form {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin-top: 0;
	padding-top: 0;
	border-top: 1px dashed #d1d5e6;
	transition: max-height .25s ease, opacity .25s ease, margin-top .25s ease, padding-top .25s ease;
}

.ssc-service-payment-form.is-open {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-end;
	max-height: 300px;
	opacity: 1;
	margin-top: 8px;
	padding-top: 8px;
}

.ssc-payment-field {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 120px;
}

.ssc-payment-field-wide {
	flex: 1;
	min-width: 180px;
}

.ssc-payment-field label {
	font-size: 11px;
	text-transform: uppercase;
	color: #7c869d;
	letter-spacing: .04em;
}

.ssc-payment-field input {
	border-radius: 8px;
	border: 1px solid #dfe5f5;
	padding: 6px 10px;
	font-size: 13px;
}

.ssc-payment-actions {
	margin-left: auto;
}

/* Product Sale Payments - same styling as service payments */
.ssc-product-sale-payments {
	margin-top: 0px;
	padding: 30px;
	border-radius: 12px;
	background: #f7f9fc;
	border: 1px solid #e2e7f3;
}

/* Product Payments - constrain height and make scrollable */
.ssc-product-payments {
	max-height: 500px;
	overflow-y: auto;
}

/* Make the payments list container scrollable */
.ssc-product-payments > div[id^="product-payments-list-"] {
	max-height: 400px;
	overflow-y: auto;
}

/* Reduce height when empty - safe approach using class */
.ssc-product-payments > div[id^="product-payments-list-"].ssc-payments-empty {
	max-height: none;
	overflow-y: visible;
	min-height: auto;
	height: auto;
}

/* Style empty message to take minimal space */
.ssc-product-payments > div[id^="product-payments-list-"] > p.ssc-no-payments-message,
.ssc-product-payments > div[id^="product-payments-list-"].ssc-payments-empty > p {
	margin: 0;
	padding: 8px 0;
	line-height: 1.4;
}

/* Service Payments - constrain height and make scrollable */
.ssc-service-payments > div[id^="service-payments-list-"] {
	max-height: 400px;
	overflow-y: auto;
}

/* Reduce height when empty - safe approach using class */
.ssc-service-payments > div[id^="service-payments-list-"].ssc-payments-empty {
	max-height: none;
	overflow-y: visible;
	min-height: auto;
	height: auto;
}

/* Style empty message to take minimal space */
.ssc-service-payments > div[id^="service-payments-list-"] > p.ssc-no-payments-message,
.ssc-service-payments > div[id^="service-payments-list-"].ssc-payments-empty > p {
	margin: 0;
	padding: 8px 0;
	line-height: 1.4;
}

div#ssc-services-purchased #ssc-client-services-table tbody td {
	border: none;
}

div#services-filters {
	display: flex;
	justify-content: center;
}

div#ssc-services-purchased h3,
div#ssc-services-purchased .services-section-container h3 {
	text-align: center !important;
	justify-content: center !important;
}

div#ssc-services-purchased > div:first-child {
	justify-content: center !important;
}

div#ssc-products-purchased h3,
div#ssc-products-purchased .products-section-container h3 {
	text-align: center !important;
	justify-content: center !important;
}

div#ssc-products-purchased > div:first-child {
	justify-content: center !important;
}

div#products-filters {
	display: flex;
	justify-content: center;
}

/* Smooth transitions for service payment details rows */
tr.ssc-service-details-row {
	transition: opacity 0.3s ease, transform 0.3s ease;
	opacity: 0;
	transform: translateY(-10px);
}

tr.ssc-service-details-row.ssc-details-expanded {
	opacity: 1;
	transform: translateY(0);
}

tr.ssc-service-details-row.ssc-details-collapsing {
	opacity: 0;
	transform: translateY(-10px);
}

.ssc-product-payment-form {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin-top: 0;
	padding-top: 0;
	border-top: 1px dashed #d1d5e6;
	transition: max-height .25s ease, opacity .25s ease, margin-top .25s ease, padding-top .25s ease;
	display: none;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-end;
}

.ssc-product-payment-form.is-open,
.ssc-product-payment-form[style*="display: flex"],
.ssc-product-payment-form[style*="display:flex"] {
	display: flex;
	max-height: 300px;
	opacity: 1;
	margin-top: 8px;
	padding-top: 8px;
}

.ssc-payment-edit-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-end;
	margin-top: 6px;
}

/* Services purchased table UX tweaks */
.ssc-service-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #d8d8d8;
	color: #000000;
	font-weight: 700;
	font-size: 13px;
}

.ssc-service-row td {
	border-top: 2px solid #eef2ff;
}

.ssc-service-row-unpaid td {
	background: #fff7ed; /* light amber for outstanding balance */
}

/* Inline status editing */
.ssc-service-status-cell {
	position: relative;
}

.ssc-status-select {
	padding: 4px 8px;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	background: #fff;
	font-size: 13px;
	line-height: 1.5;
	cursor: pointer;
}

.ssc-status-select:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: 2px solid transparent;
}

.ssc-status-select:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Monthly service badge */
.ssc-badge-monthly {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #e0f2fe;
	color: #0369a1;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
}

.ssc-badge-monthly .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	line-height: 1;
}

.ssc-service-name strong {
	font-weight: 700;
	color: #1c2434;
	font-size: 14px;
}

.ssc-badge-status::before,
.ssc-badge-payment::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	margin-right: 6px;
	background: #d1d5db;
}

.ssc-status-active::before {
	background: #22c55e; /* green */
}

.ssc-status-processing::before {
	background: #3b82f6; /* blue */
}

.ssc-status-paused::before {
	background: #f97316; /* orange */
}

.ssc-status-completed::before {
	background: #6b7280; /* gray */
}

.ssc-badge-paid::before {
	background: #fcfffd;
}

.ssc-badge-pending::before {
	background: #ffffff;
}

.ssc-badge-overdue::before {
	background: #ef4444;
}

@media print {
	@page {
		size: A4 landscape;
		margin: 20mm;
	}

	/* Base layout/reset for print */
	body {
		margin: 0;
		padding: 0;
		display: flex;
		align-items: center;   /* vertical center */
		justify-content: center; /* horizontal center */
		min-height: 100vh;
	}

	/* Hide everything visually */
	body * {
		visibility: hidden;
	}

	/* Show only the statement panel and its contents */
	#ssc-statement,
	#ssc-statement *,
	#ssc-official-statement,
	#ssc-official-statement * {
		visibility: visible;
	}

	/* Statement container */
	#ssc-statement,
	#ssc-official-statement {
		box-shadow: none;
		border-radius: 0;
		background: #ffffff !important;
		width: 100%;
		max-width: 240mm; /* narrower than full landscape width to leave side margins */
		margin: 0 auto;
		padding: 0;
	}

	/* Statement h3 alignment */
	#ssc-statement h3,
	#ssc-official-statement h3 {
		text-align: left;
	}

	/* Hide WP admin chrome when printing */
	#wpadminbar,
	#adminmenuback,
	#adminmenuwrap,
	#screen-meta-links {
		display: none !important;
	}

	/* Do NOT print the button toolbar */
	.ssc-statement-toolbar .button {
		display: none !important;
	}

	/* Tables look like a report */
	#ssc-statement table,
	#ssc-official-statement table {
		width: 100%;
		border-collapse: collapse;
		font-size: 11px;
		table-layout: fixed;
	}

	#ssc-statement th,
	#ssc-statement td,
	#ssc-official-statement th,
	#ssc-official-statement td {
		border: 1px solid #d1d5db;
		padding: 4px 6px;
	}

	#ssc-statement th,
	#ssc-official-statement th {
		background: #f3f4f6 !important;
	}
}

/* PDF Export Styles - Ensure exact styling match */
.ssc-pdf-export,
.ssc-pdf-export * {
	-webkit-print-color-adjust: exact !important;
	print-color-adjust: exact !important;
}

/* ============================================
   STATEMENT OF ACCOUNT - PDF EXPORT STYLES
   ============================================
   These styles only apply when generating PDF exports.
   The .ssc-pdf-export class is added during PDF generation.
   ============================================ */

/* Main Statement Container
   Styles the entire statement panel/wrapper */
#ssc-official-statement.ssc-pdf-export {
	background: #ffffff !important;
	padding: 40px !important;
	max-width: 900px !important;
	margin: 0 auto !important;
}

/* Statement Toolbar (Header Section)
   Contains: Title "Official Statement of Account" and Company Logo */
#ssc-official-statement.ssc-pdf-export .ssc-statement-toolbar {
	display: flex !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	margin-bottom: 30px !important;
	padding-bottom: 20px !important;
	border-bottom: 2px solid #e2e8f0 !important;
}

/* Main Title
   The "OFFICIAL STATEMENT OF ACCOUNT" heading at the top */
/* NOTE: Font size is controlled by the control panel at the end of this file (line ~10012) */
#ssc-official-statement.ssc-pdf-export h1 {
	margin: 0 0 8px 0 !important;
	font-size: 27px !important; /* ⚠️ CHANGE THE CONTROL PANEL AT END OF FILE (line ~10012) INSTEAD */
	font-weight: 700 !important;
	color: #1c2434 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
}

/* Main Table Container
   The transactions table (Date, Reference, Debit, Credit, Balance columns) */
#ssc-official-statement.ssc-pdf-export table {
	width: 100% !important;
	border-collapse: collapse !important;
	margin-bottom: 30px !important;
	font-size: 14px !important;
}

/* Table Header Row Background
   The gray background for table header row */
#ssc-official-statement.ssc-pdf-export table thead tr {
	background: #f8fafc !important;
	border-bottom: 2px solid #e2e8f0 !important;
}

/* Table Header Cells (Column Headers)
   "Date", "Reference / Description", "Debit (USD)", "Credit (USD)", "Balance (USD)"
   NOTE: Font size is controlled by the control panel at the end of this file (line ~10041) */
#ssc-official-statement.ssc-pdf-export table th {
	padding: 12px !important;
	text-align: left !important;
	font-weight: 600 !important;
	color: #1c2434 !important;
	text-transform: uppercase !important;
	font-size: 14px !important; /* ⚠️ CHANGE THE CONTROL PANEL AT END OF FILE (line ~10041) INSTEAD */
	letter-spacing: 0.5px !important;
}

/* Table Header Cells - Alternative Selector
   NOTE: Font size is controlled by the control panel at the end of this file (line ~10041) */
#ssc-official-statement.ssc-pdf-export table thead th {
	font-size: 14px !important; /* ⚠️ CHANGE THE CONTROL PANEL AT END OF FILE (line ~10041) INSTEAD */
}

/* Table Body Rows
   Individual transaction rows (border between rows) */
#ssc-official-statement.ssc-pdf-export table tbody tr {
	border-bottom: 1px solid #e2e8f0 !important;
}

/* Table Body Cells (Transaction Data)
   The actual data in each row: dates, descriptions, amounts, balances
   NOTE: Font size is controlled by the control panel at the end of this file (line ~10046) */
#ssc-official-statement.ssc-pdf-export table tbody td {
	padding: 10px !important;
	color: #475569 !important;
	font-size: 14px !important; /* ⚠️ CHANGE THE CONTROL PANEL AT END OF FILE (line ~10046) INSTEAD */
}

/* Table Footer Section
   The "Totals" row at the bottom of the table */
#ssc-official-statement.ssc-pdf-export table tfoot {
	background: #f8fafc !important;
	border-top: 2px solid #e2e8f0 !important;
}

/* Table Footer Cells (Totals Row)
   The total amounts in the footer row
   NOTE: Font size is controlled by the control panel at the end of this file (line ~10051) */
#ssc-official-statement.ssc-pdf-export table tfoot td {
	padding: 12px !important;
	font-weight: 700 !important;
	font-size: 16px !important; /* ⚠️ CHANGE THE CONTROL PANEL AT END OF FILE (line ~10051) INSTEAD */
}

/* ============================================
   FROM/TO SECTION (Company & Client Info)
   ============================================ */

/* FROM/TO Section Headers
   The "FROM" and "TO" labels in the company/client info section
   NOTE: Font size is controlled by the control panel at the end of this file (line ~10022) */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 20px"] h3 {
	font-size: 14px !important; /* ⚠️ CHANGE THE CONTROL PANEL AT END OF FILE (line ~10022) INSTEAD */
	margin-bottom: 8px !important;
	padding-bottom: 4px !important;
}

/* FROM/TO Section Content (11px base)
   Company/Client address, phone, email, MOF number (smaller text)
   NOTE: Font size is controlled by the final override rule at the end of this file (line ~10008)
   This rule is kept for fallback but the final override takes precedence */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 20px"] > div > div[style*="font-size: 11px"],
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 20px"] > div > div[style*="font-size: 11px"][style*="line-height: 1.5"],
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 20px"] > div > div[style*="font-size: 11px"][style*="color: #475569"] {
	font-size: 15px !important; /* ⚠️ CHANGE THE FINAL OVERRIDE AT END OF FILE (line ~10008) INSTEAD */
	line-height: 1.5 !important;
}

/* FROM/TO Section Company/Client Names (12px base)
   The bold company name and client name at the top of each section
   NOTE: Font size is controlled by the final override rule at the end of this file (line ~10013)
   This rule is kept for fallback but the final override takes precedence */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 20px"] > div > div > div[style*="font-size: 12px"] {
	font-size: 13px !important; /* ⚠️ CHANGE THE FINAL OVERRIDE AT END OF FILE (line ~10013) INSTEAD */
	margin-bottom: 4px !important;
}

/* ============================================
   GLOBAL FONT SIZE OVERRIDES
   ============================================
   NOTE: These global rules are COMMENTED OUT to prevent conflicts
   with specific selectors. Use specific selectors instead for better control.
   ============================================ */

/* All Elements with 11px Font Size
   Catches any element that has font-size: 11px in inline styles
   COMMENTED OUT - Use specific selectors instead to avoid overriding specific rules */
/*
#ssc-official-statement.ssc-pdf-export [style*="font-size: 11px"] {
	font-size: 14px !important;
}
*/

/* All Elements with 12px Font Size
   Catches any element that has font-size: 12px in inline styles
   COMMENTED OUT - Use specific selectors instead to avoid overriding specific rules */
/*
#ssc-official-statement.ssc-pdf-export [style*="font-size: 12px"] {
	font-size: 15px !important;
}
*/

/* All Elements with 13px Font Size (Totals)
   Used for total amounts in table footer
   COMMENTED OUT - Use specific selectors instead to avoid overriding specific rules */
/*
#ssc-official-statement.ssc-pdf-export [style*="font-size: 13px"] {
	font-size: 16px !important;
}
*/

/* ============================================
   SUMMARY SECTION (Total Debits/Credits/Balance Cards)
   ============================================ */

/* Summary Cards Container
   The 3-column grid containing the summary cards */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns"] {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 20px !important;
	margin-bottom: 20px !important;
}

/* Individual Summary Card
   Each of the 3 cards (Total Debits, Total Credits, Outstanding Balance) */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns"] > div {
	text-align: center !important;
	padding: 15px !important;
	border-radius: 6px !important;
}

/* First Summary Card Background (Total Debits)
   Gray background for the "Total Debits" card */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns"] > div:first-child {
	background: #f8fafc !important;
}

/* Second Summary Card Background (Total Credits)
   Green background for the "Total Credits" card */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns"] > div:nth-child(2) {
	background: #f0fdf4 !important;
}

/* Note: The 3rd child (Outstanding Balance) background is handled inline in the HTML based on balance */

/* Summary Card Labels
   The text labels: "TOTAL DEBITS", "TOTAL CREDITS", "OUTSTANDING BALANCE" */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns"] > div > div:first-child {
	font-size: 11px !important;
	text-transform: uppercase !important;
	color: #64748b !important;
	margin-bottom: 6px !important;
	letter-spacing: 0.5px !important;
}

/* Summary Card Values
   The large numbers showing the actual amounts */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns"] > div > div:last-child {
	font-size: 20px !important;
	font-weight: 700 !important;
}

/* Summary Section Labels (Alternative Selector)
   Labels with uppercase text transform */
#ssc-official-statement.ssc-pdf-export [style*="font-size: 11px"][style*="text-transform: uppercase"] {
	font-size: 14px !important; /* Increased from 11px */
}

/* Summary Section Values (Alternative Selector)
   The large amount values in summary cards */
#ssc-official-statement.ssc-pdf-export [style*="font-size: 20px"] {
	font-size: 19px !important; /* Increased from 20px */
}

/* First Summary Card Value Color (Total Debits)
   Dark color for the Total Debits amount */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns"] > div:first-child > div:last-child {
	color: #1c2434 !important;
}

/* Second Summary Card Value Color (Total Credits)
   Green color for the Total Credits amount */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns"] > div:nth-child(2) > div:last-child {
	color: #059669 !important;
}

/* Note: The 3rd child (Outstanding Balance) color is handled inline in the HTML based on balance */

/* ============================================
   FOOTER SECTION
   ============================================ */

/* Footer Main Message
   The paragraph: "This is an official statement of account. Please review..." */
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="font-size: 11px"] {
	font-size: 10px !important; /* Increased from 11px */
	color: #64748b !important;
}

/* Footer Timestamp
   The "Generated on December 2, 2025 at 9:10 PM" text
   NOTE: This rule must come after general .ssc-pdf-export p rules to override them
   Using multiple attribute selectors for maximum specificity */
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="font-size: 9px"],
#ssc-official-statement.ssc-pdf-export p[style*="font-size: 9px"][style*="color: #94a3b8"],
#ssc-official-statement.ssc-pdf-export p[style*="margin: 8px 0 0 0"][style*="font-size: 9px"] {
	font-size: 12px !important; /* Fixed: Added space before !important. Smaller font for timestamp - was 14px, original is 9px */
	color: #94a3b8 !important;
	margin: 8px 0 0 0 !important;
}

/* ============================================
   COMPANY LOGO
   ============================================ */

/* Company Logo in Toolbar
   The company logo displayed in the header/toolbar section */
#ssc-official-statement.ssc-pdf-export .ssc-statement-toolbar .ssc-company-logo img {
	max-width: 300px !important;
	object-fit: contain !important;
}

.ssc-month-card .ssc-month-service-row + .ssc-month-service-row {
	margin-top: 2px;
}

.ssc-month-service-row.is-empty {
	grid-template-columns: 1fr;
	justify-content: flex-start;
}

.ssc-month-cell {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	color: #4c566f;
}

.ssc-month-client strong {
	font-size: 14px;
	color: #1c2434;
}

.ssc-month-service-title {
	font-weight: 600;
	font-size: 14px;
	color: #1c2434;
	line-height: 1.2;
}

.ssc-month-service-dates {
	font-size: 12px;
	color: #7c869d;
}

.ssc-month-status {
	flex-direction: row;
	gap: 6px;
	flex-wrap: wrap;
}

.ssc-month-last,
.ssc-month-renewal {
	font-weight: 600;
	color: #1c2434;
	display: flex;
	align-items: center;
	min-height: 32px;
}

.ssc-pagination {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 18px;
}

.ssc-pagination a {
	min-width: 34px;
	padding: 6px 10px;
	border-radius: 10px;
	text-align: center;
	background: #f0f3fb;
	color: #4b5772;
	text-decoration: none;
	font-weight: 600;
	border: 1px solid transparent;
}

.ssc-pagination a.is-active {
	background: #1c3c6e;
	color: #fff;
	border-color: #1c3c6e;
}

.ssc-catalog-search-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #f5f7fb;
	border-radius: 12px;
	padding: 6px 12px;
	margin-bottom: 6px;
	border: 1px solid #e0e6f7;
}

.ssc-catalog-search-wrap .dashicons {
	color: #8a93ad;
}

.ssc-catalog-search {
	border: none;
	background: transparent;
	width: 100%;
}

.ssc-catalog-search:focus {
	outline: none;
}

.ssc-catalog-list {
	max-height: 240px;
	overflow-y: auto;
	margin: 6px 0 16px;
	padding: 0;
	list-style: none;
	border: 1px solid #e0e6f7;
	border-radius: 14px;
	background: #fff;
}

.ssc-catalog-list li {
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #f2f4fb;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.ssc-catalog-list li:last-child {
	border-bottom: none;
}

.ssc-catalog-list li:hover {
	background: #f5f9ff;
}

.ssc-catalog-list li.is-selected {
	background: linear-gradient(135deg, #002444, #003c6e);
	color: #fff;
}

.ssc-catalog-list li.is-selected .ssc-catalog-meta {
	color: rgba(255,255,255,.8);
}

.ssc-catalog-row strong {
	display: block;
	font-size: 14px;
}

.ssc-toggle {
	margin-top: 8px;
	display: inline-flex;
	align-items: center;
}

.ssc-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ssc-toggle label {
	padding: 4px 12px;
	border-radius: 999px;
	border: 1px solid #cfd6e6;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #5b6378;
	cursor: pointer;
	background: #fff;
	transition: all .2s ease;
}

.ssc-toggle input:checked + label {
	background: #1f8ef1;
	color: #fff;
	border-color: #1f8ef1;
	box-shadow: 0 4px 10px rgba(31,142,241,.3);
}

.ssc-app .button,
.ssc-app .button-primary,
.ssc-app input.button,
.ssc-app input.button-primary {
	background: linear-gradient(135deg, #002444, #003c6e);
	border: none;
	color: #fff;
	border-radius: 12px;
	padding: 10px 18px;
	font-weight: 600;
	text-transform: none;
	position: relative;
	overflow: hidden;
	transition: color 0.3s ease;
	z-index: 1;
}

/* Background slide effect for primary buttons */
.ssc-app .button-primary::before,
.ssc-app input.button-primary::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #0cab15, #0ea85e);
	transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
	border-radius: 12px;
}

.ssc-app .button-primary:hover::before,
.ssc-app input.button-primary:hover::before {
	left: 0;
}

.ssc-app .button-primary:hover,
.ssc-app input.button-primary:hover {
	color: #fff;
	transform: none;
}

/* Secondary button slide effect */
.ssc-app .button-secondary {
	position: relative;
	overflow: hidden;
	z-index: 1;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.ssc-app .button-secondary::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: #1f8ef1;
	transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
	border-radius: inherit;
}

.ssc-app .button-secondary:hover::before {
	left: 0;
}

.ssc-app .button-secondary:hover {
	color: #fff !important;
	border-color: #1f8ef1;
	transform: none;
	box-shadow: 0 4px 12px rgba(31, 142, 241, 0.3);
}

/* Generic button slide effect */
.ssc-app .button:not(.button-primary):not(.button-secondary),
.ssc-app input.button:not(.button-primary):not(.button-secondary) {
	position: relative;
	overflow: hidden;
	z-index: 1;
	transition: color 0.3s ease;
	background: #ffffff;
	color: #000000;
}

.ssc-app .button:not(.button-primary):not(.button-secondary)::before,
.ssc-app input.button:not(.button-primary):not(.button-secondary)::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: #002444;
	transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
	border-radius: inherit;
}

.ssc-app .button:not(.button-primary):not(.button-secondary):hover::before,
.ssc-app input.button:not(.button-primary):not(.button-secondary):hover::before {
	left: 0;
}

.ssc-app .button:not(.button-primary):not(.button-secondary):hover,
.ssc-app input.button:not(.button-primary):not(.button-secondary):hover {
	color: #fff;
	transform: none;
	box-shadow: 0 4px 12px rgba(0, 36, 68, 0.2);
}

.ssc-app .button:active,
.ssc-app input.button:active {
	transform: none;
}

.ssc-app .button.button-small {
	padding: 6px 12px;
	font-size: 12px;
	border-radius: 999px;
}

.ssc-app .button.button-large {
	padding: 12px 26px;
	font-size: 15px;
}

.ssc-app .button.button-secondary {
	background: #f5f7fb;
	color: #1c2434;
	box-shadow: none;
	border: 1px solid #dbe2f3;
}

/* Accounting Page Styles */
.ssc-accounting-filters {
	margin-bottom: 0;
}

.ssc-accounting-filters label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 13px;
	color: #ffffff;
	text-align: center;
}

.ssc-accounting-filters input[type="date"] {
	padding: 8px 12px;
	border: 1px solid #dbe2f3;
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.2s ease;
}

.ssc-accounting-filters input[type="date"]:focus {
	outline: none;
	border-color: #1f8ef1;
	box-shadow: 0 0 0 3px rgba(31, 142, 241, 0.1);
}

.ssc-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ssc-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
	z-index: 1;
}

.ssc-modal-content {
	position: relative;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-width: 900px;
	width: 90%;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	z-index: 2;
}

.ssc-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid #e1e6f0;
	flex-shrink: 0;
}

.ssc-modal-header h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #1f2937;
}

.ssc-modal-close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: #7c869d;
	transition: color 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
}

.ssc-modal-close:hover {
	color: #1f2937;
	background: #f5f7fb;
}

.ssc-modal-close .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.ssc-modal-body {
	padding: 24px;
	overflow-y: auto;
	flex: 1;
}

.ssc-modal-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding: 20px 24px;
	border-top: 1px solid #e1e6f0;
	flex-shrink: 0;
}

.ssc-client-details-summary {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

@media (max-width: 1200px) {
	.ssc-client-details-summary {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.ssc-client-details-summary {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ssc-client-details-summary-card {
	padding: 20px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e8ecf4;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: all 0.2s ease;
}

.ssc-client-details-summary-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.ssc-client-details-summary-card h4 {
	margin: 0 0 12px 0;
	font-size: 12px;
	font-weight: 600;
	color: #7c869d;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ssc-client-details-summary-card p {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #1c2434;
	line-height: 1.2;
}

.ssc-client-details-services {
	margin-top: 24px;
}

.ssc-client-details-services h3 {
	margin: 0 0 16px 0;
	font-size: 16px;
	font-weight: 600;
	color: #1c2434;
}

.ssc-client-details-services table {
	width: 100%;
	border-collapse: collapse;
}

.ssc-client-details-services table th,
.ssc-client-details-services table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #e8ecf4;
}

.ssc-client-details-services table th {
	background: #f8f9fb;
	font-weight: 700;
	font-size: 11px;
	color: #7c869d;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 14px 12px;
}

.ssc-client-details-services table td {
	font-size: 14px;
	color: #1c2434;
	padding: 14px 12px;
	vertical-align: top;
}

.ssc-client-details-services table tbody tr:hover {
	background: #f8f9fb;
}

.ssc-client-details-services table tr:last-child td {
	border-bottom: none;
}

.ssc-payment-list {
	margin-top: 8px;
	font-size: 12px;
	color: #7c869d;
}

.ssc-payment-list-item {
	padding: 4px 0;
	display: flex;
	justify-content: space-between;
}

/* Inline Client Details */
.ssc-client-details-row {
	background: #f8f9fb;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out;
}

.ssc-client-details-row.ssc-details-opening {
	max-height: 5000px;
	opacity: 1;
	transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-in;
}

.ssc-client-details-row.ssc-details-open {
	max-height: none;
	opacity: 1;
}

.ssc-client-details-cell {
	padding: 0 !important;
	background: #f8f9fb;
	transform: translateY(-10px);
	transition: transform 0.3s ease-out;
}

.ssc-client-details-row.ssc-details-opening .ssc-client-details-cell,
.ssc-client-details-row.ssc-details-open .ssc-client-details-cell {
	transform: translateY(0);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ssc-client-details-row.ssc-details-closing {
	max-height: 0;
	opacity: 0;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out;
}

.ssc-client-details-row.ssc-details-closing .ssc-client-details-cell {
	transform: translateY(-10px);
	transition: transform 0.3s ease-out;
}

.ssc-client-details-inline {
	padding: 24px;
	background: #f8f9fb;
}

.ssc-client-details-content {
	background: #fff;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ssc-client-details-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e8ecf4;
}

.ssc-client-details-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #1c2434;
}

.ssc-client-details-loading {
	background: #fff;
	border-radius: 8px;
	padding: 24px;
	animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Skeleton Loader Styles */
.ssc-skeleton-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e8ecf4;
}

.ssc-skeleton-title {
	width: 250px;
	height: 24px;
	border-radius: 6px;
}

.ssc-skeleton-buttons {
	display: flex;
	gap: 8px;
}

.ssc-skeleton-button {
	width: 120px;
	height: 36px;
	border-radius: 6px;
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
}

.ssc-skeleton-summary {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

@media (max-width: 1200px) {
	.ssc-skeleton-summary {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.ssc-skeleton-summary {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ssc-skeleton-card {
	padding: 20px;
	background: #f8f9fb;
	border-radius: 12px;
	border: 1px solid #e8ecf4;
}

.ssc-skeleton-label {
	width: 60%;
	height: 12px;
	border-radius: 4px;
	margin-bottom: 12px;
}

.ssc-skeleton-value {
	width: 80%;
	height: 28px;
	border-radius: 6px;
}

.ssc-skeleton-table {
	margin-top: 24px;
}

.ssc-skeleton-table-title {
	width: 180px;
	height: 20px;
	border-radius: 4px;
	margin-bottom: 16px;
}

.ssc-skeleton-table-header {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 12px;
	padding: 14px 12px;
	background: #f8f9fb;
	border-radius: 6px;
}

.ssc-skeleton-th {
	width: 100%;
	height: 12px;
	border-radius: 4px;
}

.ssc-skeleton-table-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	padding: 14px 12px;
	border-bottom: 1px solid #e8ecf4;
}

.ssc-skeleton-td {
	width: 100%;
	height: 16px;
	border-radius: 4px;
}

.ssc-skeleton-line {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

/* Pulse animation for variety */
.ssc-skeleton-card:nth-child(1) .ssc-skeleton-line,
.ssc-skeleton-card:nth-child(3) .ssc-skeleton-line,
.ssc-skeleton-card:nth-child(5) .ssc-skeleton-line {
	animation-delay: 0.1s;
}

.ssc-skeleton-card:nth-child(2) .ssc-skeleton-line,
.ssc-skeleton-card:nth-child(4) .ssc-skeleton-line {
	animation-delay: 0.2s;
}

.ssc-skeleton-table-row:nth-child(odd) .ssc-skeleton-line {
	animation-delay: 0.15s;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Breadcrumbs */
.ssc-breadcrumbs {
	padding: 16px 32px;
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
}

.ssc-breadcrumbs-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ssc-breadcrumb-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.ssc-breadcrumb-link {
	color: #1f8ef1;
	text-decoration: none;
	transition: color 0.2s ease;
	font-weight: 500;
}

.ssc-breadcrumb-link:hover {
	color: #1a7cd8;
	text-decoration: underline;
}

.ssc-breadcrumb-text {
	color: #64748b;
	font-weight: 500;
}

.ssc-breadcrumb-current {
	color: #1c2434;
	font-weight: 600;
}

/* Horizontal Navigation Container */
.ssc-nav-container {
	justify-content: center !important;
}

.ssc-nav-container.scrollable-right {
	justify-content: center !important;
}

.ssc-breadcrumb-separator {
	color: #94a3b8;
	display: flex;
	align-items: center;
}

.ssc-breadcrumb-separator .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

/* Client Page Navigation - Sticky Menu */
.ssc-client-nav {
	/* Sticky positioning - stays at top when scrolling */
	position: sticky;
	top: 32px; /* WordPress admin bar height */
	z-index: 100;
	
	/* Full width with proper alignment */
	width: calc(100% + 40px); /* Extend beyond content padding */
	margin-left: -20px;
	margin-right: -20px;
	padding: 0 20px;
	
	/* Modern dark gradient */
	background: linear-gradient(135deg, #00203c 0%, #00070d 100%) !important;
	
	/* Subtle border and shadow */
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 
		0 4px 20px rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
	padding: 0 32px;
	position: sticky;
	top: 210px; /* topbar (70px) + company info bar (50px) + breadcrumb bar (90px) */
	z-index: 99;
	margin-top: 0;
	margin-bottom: 30px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	scroll-margin-top: 80px;
}

nav#ssc-client-nav {
    /* Fixed positioning - below all header bars */
    position: fixed !important;
    top: 210px !important; /* Below topbar(70) + company info(50) + breadcrumb(90) = 210px */
    left: 112px !important; /* Aligned with main content (sidebar width + margin) */
    right: 0 !important;
    z-index: 999 !important;
    
    /* Width aligned with content */
    width: calc(100% - 112px) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
    
    /* Visual styling */
    background: linear-gradient(135deg, #00203c 0%, #00070d 100%) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0px 0px 0px 50px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    
    /* Prevent flash - inline styles handle initial state */
    /* Will be overridden by nav-ready class */
    will-change: opacity, transform, visibility;
}

/* Show and animate when page is ready */
nav#ssc-client-nav.nav-ready {
    visibility: visible !important;
    animation: slideDownFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Entry animation keyframes */
@keyframes slideDownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spacer to prevent content from hiding behind fixed nav */
.ssc-client-nav-spacer {
    height: 60px;
    width: 100%;
}

.ssc-client-nav * {
	font-family: inherit;
}

.ssc-client-nav-container {
	/* Center the nav items */
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	
	/* Horizontal scrolling for overflow */
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(255,255,255,0.3) transparent;
	
	/* Padding for spacing */
	padding: 12px 0;
	margin: 0 auto;
	max-width: 100%;
	
	/* Hide scrollbar but keep functionality */
	-ms-overflow-style: none;
	scrollbar-width: none;
	position: relative;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	
	/* Ensure clicks work */
	pointer-events: auto;
	z-index: 10;
}

/* Scroll indicators - dark theme */
.ssc-client-nav-container::before,
.ssc-client-nav-container::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40px;
	pointer-events: none;
	z-index: 1;
	transition: opacity 0.3s;
	opacity: 0;
}

.ssc-client-nav-container::before {
	left: 0;
	background: linear-gradient(to right, #00203c, transparent);
}

.ssc-client-nav-container::after {
	right: 0;
	background: linear-gradient(to left, #00070d, transparent);
}

.ssc-client-nav-container.scrollable-left::before,
.ssc-client-nav-container.scrollable-right::after {
	opacity: 1;
}

.ssc-client-nav-container::-webkit-scrollbar {
	height: 4px;
}

.ssc-client-nav-container::-webkit-scrollbar-track {
	background: transparent;
}

.ssc-client-nav-container::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
}

.ssc-client-nav-container::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.4);
}

.ssc-client-nav-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	transition: all 0.2s ease;
	position: relative;
	transition: all 0.2s ease;
	position: relative;
	cursor: pointer;
	
	/* Ensure clicks work */
	pointer-events: auto;
	z-index: 10;
	
	/* Initial state - hidden until parent is ready */
	opacity: 0;
	transform: translateY(-10px);
}

/* Staggered entry animation for nav items - only when parent is ready */
nav#ssc-client-nav.nav-ready .ssc-client-nav-item,
body.loaded nav#ssc-client-nav .ssc-client-nav-item {
	animation: navItemFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered animation for each nav item */
nav#ssc-client-nav.nav-ready .ssc-client-nav-item:nth-child(1),
body.loaded nav#ssc-client-nav .ssc-client-nav-item:nth-child(1) { animation-delay: 0.1s; }
nav#ssc-client-nav.nav-ready .ssc-client-nav-item:nth-child(2),
body.loaded nav#ssc-client-nav .ssc-client-nav-item:nth-child(2) { animation-delay: 0.15s; }
nav#ssc-client-nav.nav-ready .ssc-client-nav-item:nth-child(3),
body.loaded nav#ssc-client-nav .ssc-client-nav-item:nth-child(3) { animation-delay: 0.2s; }
nav#ssc-client-nav.nav-ready .ssc-client-nav-item:nth-child(4),
body.loaded nav#ssc-client-nav .ssc-client-nav-item:nth-child(4) { animation-delay: 0.25s; }
nav#ssc-client-nav.nav-ready .ssc-client-nav-item:nth-child(5),
body.loaded nav#ssc-client-nav .ssc-client-nav-item:nth-child(5) { animation-delay: 0.3s; }
nav#ssc-client-nav.nav-ready .ssc-client-nav-item:nth-child(6),
body.loaded nav#ssc-client-nav .ssc-client-nav-item:nth-child(6) { animation-delay: 0.35s; }
nav#ssc-client-nav.nav-ready .ssc-client-nav-item:nth-child(7),
body.loaded nav#ssc-client-nav .ssc-client-nav-item:nth-child(7) { animation-delay: 0.4s; }
nav#ssc-client-nav.nav-ready .ssc-client-nav-item:nth-child(8),
body.loaded nav#ssc-client-nav .ssc-client-nav-item:nth-child(8) { animation-delay: 0.45s; }

/* Nav item entry animation keyframes */
@keyframes navItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Visual hierarchy - make client information more prominent */
.ssc-client-nav-item[data-section="ssc-client-information"] {
	font-weight: 600;
}

.ssc-client-nav-item .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

/* Badge for counts */
.ssc-nav-badge {
	display: none !important; /* Hidden - badges disabled */
}

/* Badge styles disabled */

/* Enhanced hover effects */
.ssc-client-nav-item:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transform: translateY(-1px);
}

.ssc-client-nav-item:hover .dashicons {
	transform: scale(1.05);
	color: #fff;
}

/* Active state with underline indicator */
.ssc-client-nav-item.is-active {
	background: rgba(59, 130, 246, 0.2);
	color: #fff;
}

.ssc-client-nav-item.is-active::after {
	display: none;
}

.ssc-client-nav-item.is-active .dashicons {
	color: #60a5fa;
}

/* Loading state */
.ssc-client-nav-item.loading {
	/* Loading animation disabled */
}

.ssc-client-nav-item.loading::before {
	display: none;
}

.ssc-client-nav-item.loading .dashicons,
.ssc-client-nav-item.loading span:not(.ssc-nav-badge) {
	/* Keep normal opacity */
}

@keyframes ssc-spin {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* Responsive improvements */
@media (max-width: 1200px) {
	nav#ssc-client-nav {
		padding: 0 20px !important;
	}
}

@media (max-width: 782px) {
	/* Mobile - sidebar is hidden, full width */
	nav#ssc-client-nav {
		top: 160px !important; /* Adjusted for mobile header */
		left: 0 !important;
		width: 100% !important;
		padding: 0 16px !important;
	}
	
	.ssc-client-nav-spacer {
		height: 56px;
	}
	
	.ssc-client-nav-container {
		justify-content: flex-start;
		gap: 4px;
		padding: 10px 0;
	}
	
	.ssc-client-nav-item {
		padding: 8px 12px;
		font-size: 12px;
	}
	
	.ssc-client-nav-item span:not(.dashicons):not(.ssc-nav-badge) {
		display: none; /* Hide text labels on mobile, show only icons */
	}
	
	.ssc-client-nav-item .dashicons {
		font-size: 18px;
		width: 18px;
		height: 18px;
	}
	
	.ssc-nav-badge {
		min-width: 16px;
		height: 16px;
		font-size: 10px;
		margin-left: 2px;
	}
}

@media (max-width: 600px) {
	nav#ssc-client-nav {
		top: 120px !important; /* Even smaller header on very small screens */
	}
	
	.ssc-client-nav-spacer {
		height: 50px;
	}
}

@media (max-width: 480px) {
	.ssc-client-nav-container {
		gap: 2px;
	}
	
	.ssc-client-nav-item {
		padding: 8px 10px;
	}
}

/* Smooth scroll behavior */
html {
	scroll-behavior: smooth;
}

/* Scroll margin for sections - prevents content hiding behind sticky nav */
#ssc-client-information,
#ssc-services-purchased,
#ssc-quotations,
#ssc-invoices,
#ssc-receipts,
#client-emails-panel,
#ssc-client-financial-summary,
.ssc-panel {
	scroll-margin-top: 80px;
}

/* Offset for sticky nav */
[id^="ssc-"] {
	scroll-margin-top: 80px;
}

/* Table headers in invoices, quotations, and receipts */
#ssc-invoice-view th,
#ssc-receipt-view th {
	color: black !important;
	font-weight: 600 !important;
}

/* PDF-specific font size increases - only applies when .ssc-pdf-export class is present */
.ssc-pdf-export h2 {
	font-size: 32px !important;
}

.ssc-pdf-export h2 .dashicons {
	font-size: 32px !important;
	width: 32px !important;
	height: 32px !important;
}

.ssc-pdf-export h3 {
	font-size: 28px !important;
}

.ssc-pdf-export table {
	font-size: 20px !important;
}

.ssc-pdf-export th {
	font-size: 24px !important;
	padding: 14px !important;
}

.ssc-pdf-export td {
	font-size: 20px !important;
	padding: 12px !important;
}

.ssc-pdf-export tfoot td {
	font-size: 26px !important;
	padding: 16px !important;
}

.ssc-pdf-export label {
	font-size: 20px !important;
}

.ssc-pdf-export strong,
.ssc-pdf-export span:not(.dashicons) {
	font-size: 22px !important;
}

/* General PDF paragraph rule - applies to invoices/receipts
   NOTE: Footer paragraphs have specific rules at the end of file that override this */
.ssc-pdf-export p {
	font-size: 30px !important;
}

/* EXCEPTION: Override general rule for footer paragraphs - higher specificity */
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p {
	font-size: 8px !important; /* Base size - more specific rules at end of file will refine this */
}

/* ============================================
   STATEMENT OF ACCOUNT FOOTER OVERRIDES
   Must come after general .ssc-pdf-export p rule to override it
   These rules ensure footer paragraphs are not affected by the general 30px rule
   ============================================ */

/* Footer Main Message Override
   The paragraph: "This is an official statement of account. Please review..."
   More specific selector to ensure it overrides the general .ssc-pdf-export p rule */
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="font-size: 11px"],
#ssc-official-statement.ssc-pdf-export p[style*="font-size: 11px"][style*="color: #64748b"] {
	font-size: 10px !important;
	color: #64748b !important;
}

/* Footer Timestamp Override - FINAL OVERRIDE
   The "Generated on December 2, 2025 at 9:10 PM" text
   This rule MUST override the general .ssc-pdf-export p rule
   Using maximum specificity: ID + class + multiple attribute selectors */
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="font-size: 9px"],
#ssc-official-statement.ssc-pdf-export p[style*="font-size: 9px"][style*="color: #94a3b8"],
#ssc-official-statement.ssc-pdf-export p[style*="margin: 8px 0 0 0"][style*="font-size: 9px"],
#ssc-official-statement.ssc-pdf-export p[style*="font-size: 9px"][style*="margin: 8px 0 0 0"],
/* Additional selector matching the exact inline style combination */
#ssc-official-statement.ssc-pdf-export p[style*="margin: 8px 0 0 0"][style*="font-size: 9px"][style*="color: #94a3b8"] {
	font-size: 12px !important;
	color: #94a3b8 !important;
	margin: 8px 0 0 0 !important;
}

/* CRITICAL: Final override for statement footer timestamp - must be last
   This ensures it overrides ANY other rule including the general .ssc-pdf-export p */
#ssc-official-statement.ssc-pdf-export p[style*="font-size: 9px"] {
	font-size: 12px !important;
}

/* Specific overrides for inline styles
   NOTE: 11px and 12px overrides removed to allow custom font sizes */
.ssc-pdf-export [style*="font-size: 20px"] {
	font-size: 32px !important; /* Main heading */
}

.ssc-pdf-export [style*="font-size: 18px"] {
	font-size: 28px !important; /* Section headings, amount in words */
}

.ssc-pdf-export [style*="font-size: 16px"] {
	font-size: 24px !important; /* Total row, amount paid */
}

.ssc-pdf-export [style*="font-size: 14px"] {
	font-size: 22px !important; /* Table headers, values, dates */
}

.ssc-pdf-export [style*="font-size: 13px"] {
	font-size: 20px !important; /* Invoice number, subtotal, payment method label */
}

/* 12px and 11px overrides REMOVED - you can now set custom font sizes without interference */

/* Badge font size */
.ssc-pdf-export .ssc-badge {
	font-size: 16px !important;
}

/* Company logo sizing - bigger in PDF */
.ssc-pdf-export .ssc-company-logo img {
	max-width: 350px !important;
	max-height: 180px !important;
}

/* ============================================
   FINAL OVERRIDES FOR STATEMENT FOOTER PARAGRAPHS
   These rules MUST be the absolute last PDF export rules
   to ensure they override the general .ssc-pdf-export p rule
   ============================================ */

/* ============================================
   FOOTER PARAGRAPHS - EASY TO CUSTOMIZE
   Change the font-size values below to adjust footer text sizes
   These rules MUST be at the end to override all other rules
   ============================================ */

/* Footer Main Message - MAXIMUM SPECIFICITY
   "This is an official statement of account. Please review..."
   Change font-size value below to adjust */
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="font-size: 11px"][style*="color: #64748b"],
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="margin: 0"][style*="font-size: 11px"][style*="color: #64748b"],
#ssc-official-statement.ssc-pdf-export p[style*="margin: 0"][style*="font-size: 11px"][style*="color: #64748b"] {
	font-size: 8px !important; /* CHANGE THIS VALUE - currently 8px */
	color: #64748b !important;
	margin: 0 !important;
}

/* Footer Timestamp - MAXIMUM SPECIFICITY
   "Generated on December 2, 2025 at 9:10 PM"
   Change font-size value below to adjust */
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="margin: 8px 0 0 0"][style*="font-size: 9px"][style*="color: #94a3b8"],
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="font-size: 9px"][style*="color: #94a3b8"],
#ssc-official-statement.ssc-pdf-export p[style*="margin: 8px 0 0 0"][style*="font-size: 9px"][style*="color: #94a3b8"] {
	font-size: 8px !important; /* CHANGE THIS VALUE - currently 8px */
	color: #94a3b8 !important;
	margin: 8px 0 0 0 !important;
}

/* Service Details Toggle Button */
.ssc-service-details-toggle {
	background: transparent;
	border: 1px solid #dfe5f5;
	border-radius: 6px;
	padding: 4px 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 28px;
}

.ssc-service-details-toggle:hover {
	background: #f5f7fb;
	border-color: #1f8ef1;
}

.ssc-service-details-toggle .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1;
	transition: transform 0.3s ease, color 0.2s ease;
	color: #000000;
}

.ssc-service-details-toggle .dashicons-arrow-down-alt2:before {
	content: "\f347";
	color: #000000;
}

.ssc-service-details-toggle:hover .dashicons,
.ssc-service-details-toggle:hover .dashicons-arrow-down-alt2:before {
	color: #ffffff;
}

.ssc-service-details-toggle[aria-expanded="true"] .dashicons {
	transform: rotate(180deg);
	color: #000000;
}

.ssc-service-details-toggle[aria-expanded="true"] .dashicons-arrow-down-alt2:before {
	color: #000000;
}

.ssc-service-details-toggle[aria-expanded="true"]:hover .dashicons,
.ssc-service-details-toggle[aria-expanded="true"]:hover .dashicons-arrow-down-alt2:before {
	color: #ffffff;
}

.ssc-service-details-toggle[aria-expanded="true"] {
	border-color: #1f8ef1;
	background: #f0f9ff;
}

/* Send Reminder Button Styling - Icon Only */
.ssc-send-reminder {
	background: #f59e0b !important;
	border-color: #f59e0b !important;
	color: #ffffff !important;
	border-radius: 6px;
	padding: 4px 8px;
	min-width: 32px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(245, 158, 11, 0.2);
	cursor: pointer;
}

.ssc-send-reminder:hover {
	background: #d97706 !important;
	border-color: #d97706 !important;
	color: #ffffff !important;
	box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
	transform: translateY(-1px);
}

.ssc-send-reminder:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(245, 158, 11, 0.2);
}

.ssc-send-reminder:disabled {
	background: #94a3b8 !important;
	border-color: #94a3b8 !important;
	color: #ffffff !important;
	cursor: not-allowed;
	opacity: 0.7;
	transform: none;
	box-shadow: none;
}

.ssc-send-reminder .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1;
	color: #ffffff;
	transition: color 0.2s ease;
}

.ssc-send-reminder .dashicons-email-alt:before {
	color: #ffffff;
}

.ssc-send-reminder:hover .dashicons,
.ssc-send-reminder:hover .dashicons-email-alt:before {
	color: #ffffff;
}

.ssc-send-reminder .dashicons-yes-alt {
	color: #33c16d !important;
}

.ssc-send-reminder .dashicons-yes-alt:before {
	color: #33c16d !important;
}

.ssc-send-reminder .dashicons-update {
	animation: ssc-spin 1s linear infinite;
	color: #ffffff;
}

/* Renew Service Button Styling - Icon Only */
.ssc-renew-service {
	border-radius: 6px;
	padding: 4px 8px;
	min-width: 32px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.ssc-renew-service .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.ssc-renew-service:hover .dashicons {
	transform: rotate(180deg);
}

/* Smooth expand/collapse animation for service details */
.ssc-service-details-row {
	transition: max-height 0.3s ease, opacity 0.3s ease;
	overflow: hidden;
}

/* Product Sale Details Toggle - same styling as service details toggle */
.ssc-product-sale-details-toggle {
	background: transparent;
	border: 1px solid #dfe5f5;
	border-radius: 6px;
	padding: 4px 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
}

.ssc-product-sale-details-toggle:hover {
	background: #f5f7fb;
	border-color: #1f8ef1;
}

.ssc-product-sale-details-toggle .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1;
	transition: transform 0.3s ease, color 0.2s ease;
	color: #ffffff;
}

.ssc-product-sale-details-toggle .dashicons-arrow-down-alt2:before {
	content: "\f347";
	color: #ffffff;
}

.ssc-product-sale-details-toggle:hover .dashicons,
.ssc-product-sale-details-toggle:hover .dashicons-arrow-down-alt2:before {
	color: #1f8ef1;
}

.ssc-product-sale-details-toggle[aria-expanded="true"] .dashicons {
	transform: rotate(180deg);
	color: #000000;
}

.ssc-product-sale-details-toggle[aria-expanded="true"] .dashicons-arrow-down-alt2:before {
	color: #000000;
}

.ssc-product-sale-details-toggle[aria-expanded="true"]:hover .dashicons,
.ssc-product-sale-details-toggle[aria-expanded="true"]:hover .dashicons-arrow-down-alt2:before {
	color: #ffffff;
}

.ssc-product-sale-details-toggle[aria-expanded="true"] {
	border-color: #1f8ef1;
	background: #f0f9ff;
}

/* Product Details Toggle Button Styling */
.ssc-product-details-toggle {
	background: transparent;
	border: 1px solid #dfe5f5;
	border-radius: 6px;
	padding: 4px 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 28px;
}

.ssc-product-details-toggle:hover {
	background: #f5f7fb;
	border-color: #1f8ef1;
}

.ssc-product-details-toggle .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1;
	transition: transform 0.3s ease, color 0.2s ease;
	color: #000000;
}

.ssc-product-details-toggle .dashicons-arrow-down-alt2:before {
	content: "\f347";
	color: #000000;
}

.ssc-product-details-toggle:hover .dashicons,
.ssc-product-details-toggle:hover .dashicons-arrow-down-alt2:before {
	color: #ffffff;
}

.ssc-product-details-toggle[aria-expanded="true"] .dashicons {
	transform: rotate(180deg);
	color: #000000;
}

.ssc-product-details-toggle[aria-expanded="true"] .dashicons-arrow-down-alt2:before {
	color: #000000;
}

.ssc-product-details-toggle[aria-expanded="true"]:hover .dashicons,
.ssc-product-details-toggle[aria-expanded="true"]:hover .dashicons-arrow-down-alt2:before {
	color: #ffffff;
}

.ssc-product-details-toggle[aria-expanded="true"] {
	border-color: #1f8ef1;
	background: #f0f9ff;
}

/* Smooth expand/collapse animation for product sale details */
.ssc-product-sale-details-row {
	transition: max-height 0.3s ease, opacity 0.3s ease;
	overflow: hidden;
}

.ssc-service-details-row[aria-hidden="true"] {
	max-height: 0;
	opacity: 0;
	display: none;
}

.ssc-service-details-row[aria-hidden="false"] {
	max-height: 2000px;
	opacity: 1;
	display: table-row;
}

/* Client name link in dashboard month view */
.ssc-month-client-name a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ssc-month-client-name a:hover {
	color: #1f8ef1;
	text-decoration: underline;
}

/* Sticky Add Item Button for Invoice/Quotation Forms */
.ssc-client-card-wide .ssc-add-item-wrapper {
	position: sticky;
	top: 32px;
	z-index: 100;
	background: #fff;
	padding: 5px 0;
	margin: -5px 0;
	transition: box-shadow 0.2s ease;
}

.ssc-client-card-wide .ssc-add-item-wrapper::before {
	content: '';
	position: absolute;
	top: 0;
	left: -20px;
	right: -20px;
	bottom: 0;
	background: #fff;
	z-index: -1;
	opacity: 0;
	transition: opacity 0.2s ease;
}

/* Show shadow when sticky */
.ssc-client-card-wide .ssc-add-item-wrapper[data-sticky="true"] {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ssc-client-card-wide .ssc-add-item-wrapper[data-sticky="true"]::before {
	opacity: 1;
}

/* Bottom Add Item Button */
.ssc-add-item-wrapper-bottom {
	margin-top: 10px;
}

/* Ensure dropdowns appear above other content */
#ssc-add-item-dropdown,
#ssc-add-item-dropdown-bottom {
	z-index: 1001 !important;
}

/* ========================================
   UI KIT - INVOICE ITEMS FORM
   Matching Plugin UI Kit Style
   ======================================== */

/* UI Kit Table Styling */
#ssc-invoice-items-table {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	background: #ffffff;
	border: 1px solid #dfe5f5;
	border-collapse: separate;
	border-spacing: 0;
}

/* UI Kit Table Header */
#ssc-invoice-items-table thead tr {
	background: #f7f9fc;
	box-shadow: none;
	border-bottom: 1px solid #dfe5f5;
}

#ssc-invoice-items-table thead th {
	font-weight: 600;
	letter-spacing: 0.02em;
	font-size: 12px;
	color: #7c869d;
	text-transform: uppercase;
	text-align: left;
	padding: 14px 16px;
	border: none;
}

/* UI Kit Input Styling */
#ssc-invoice-items-table input[type="text"],
#ssc-invoice-items-table input[type="number"],
#ssc-invoice-items-table input[type="date"],
#ssc-invoice-items-table select {
	transition: all 0.2s ease;
	border: 1px solid #dfe5f5;
	background: #ffffff;
	border-radius: 12px;
	font-weight: 400;
	font-size: 14px;
	color: #1c2434;
	padding: 10px 14px;
	width: 100%;
	outline: none;
}

#ssc-invoice-items-table input[type="text"]:hover:not(:disabled):not([readonly]),
#ssc-invoice-items-table input[type="number"]:hover:not(:disabled):not([readonly]),
#ssc-invoice-items-table input[type="date"]:hover:not(:disabled):not([readonly]),
#ssc-invoice-items-table select:hover {
	border-color: #c5d0e8;
	background: #ffffff;
}

#ssc-invoice-items-table .ssc-item-description:focus,
#ssc-invoice-items-table .ssc-item-quantity:focus,
#ssc-invoice-items-table .ssc-item-unit-price:focus,
#ssc-invoice-items-table input[type="date"]:focus,
#ssc-invoice-items-table select:focus {
	border-color: #1f8ef1 !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(31, 142, 241, 0.15) !important;
	outline: none;
	color: #1c2434;
}

#ssc-invoice-items-table input[type="text"][readonly] {
	cursor: default;
	background: #f7f9fc;
	color: #1c2434;
	border: 1px solid #dfe5f5;
	font-weight: 600;
}

/* UI Kit Row Styling */
#ssc-invoice-items-table tbody tr.ssc-invoice-item-row {
	transition: all 0.2s ease;
	position: relative;
	background: #ffffff;
	border-bottom: 1px solid #dfe5f5;
}

#ssc-invoice-items-table tbody tr.ssc-invoice-item-row:hover {
	background: #f7f9fc;
	box-shadow: none;
	transform: none;
}

#ssc-invoice-items-table tbody tr.ssc-invoice-item-row:hover .ssc-item-number {
	background: linear-gradient(135deg, #002444, #003c6e);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(31, 142, 241, 0.25);
}

#ssc-invoice-items-table tbody tr.ssc-invoice-item-row:hover input[type="text"],
#ssc-invoice-items-table tbody tr.ssc-invoice-item-row:hover input[type="number"] {
	border-color: #c5d0e8;
}

/* UI Kit Item Number Badge */
#ssc-invoice-items-table .ssc-item-number {
	transition: all 0.2s ease;
	background: #f7f9fc;
	color: #7c869d;
	box-shadow: none;
	border: 1px solid #dfe5f5;
	border-radius: 8px;
	font-weight: 600;
	font-size: 12px;
	padding: 4px 8px;
}

/* UI Kit Type Badges */
.ssc-item-type-badge {
	box-shadow: none;
	border: none;
	transition: all 0.2s ease;
	font-weight: 600;
	background: transparent;
	color: #7c869d;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 8px;
	border-radius: 6px;
}

.ssc-item-type-badge:hover {
	background: #f7f9fc;
	box-shadow: none;
}

/* UI Kit Service Info Row */
.ssc-service-info-row {
	transition: all 0.2s ease;
	background: #f7f9fc !important;
	border: 1px solid #dfe5f5;
	border-radius: 12px;
	box-shadow: none;
	padding: 10px 14px;
	margin-top: 8px;
	font-size: 12px;
	color: #7c869d;
}

.ssc-service-info-row:hover {
	background: #ffffff !important;
	border-color: #c5d0e8;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ssc-service-info-row .ssc-toggle-service-config {
	transition: all 0.2s ease;
	border-radius: 8px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	font-size: 12px;
	background: transparent;
	border: none;
	color: #1f8ef1;
	padding: 4px 8px;
}

.ssc-service-info-row .ssc-toggle-service-config:hover {
	background: rgba(31, 142, 241, 0.1) !important;
	border: none !important;
	color: #1f8ef1 !important;
	text-decoration: none;
	box-shadow: none;
}

/* UI Kit Service Config Panel */
.ssc-service-config {
	animation: uiKitFadeIn 0.2s ease;
	background: #f7f9fc !important;
	border: 1px solid #dfe5f5;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	padding: 16px;
	margin-top: 10px;
}

.ssc-service-config input[type="date"]:focus,
.ssc-service-config select:focus {
	border-color: #1f8ef1 !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(31, 142, 241, 0.15) !important;
}

div#ssc-services-purchased {
	background: #182a4842;
}

#client-emails-panel span.dashicons.dashicons-email-alt {
	display: none;
}

.ssc-toggle-service-config {
	transition: all 0.2s ease;
	font-weight: 500;
	border-radius: 8px;
	text-transform: none;
	letter-spacing: normal;
	font-size: 12px;
	background: transparent;
	border: none;
	color: #1f8ef1;
}

.ssc-toggle-service-config:hover {
	background: rgba(31, 142, 241, 0.1) !important;
	border: none !important;
	color: #1f8ef1 !important;
	text-decoration: none;
	box-shadow: none;
}

/* UI Kit Animations */
@keyframes uiKitFadeIn {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* UI Kit fade-in for new rows */
#ssc-invoice-items-table tbody tr.ssc-invoice-item-row {
	animation: uiKitFadeIn 0.2s ease;
}

/* UI Kit Buttons - Matching Plugin Style */
.ssc-add-item-buttons {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.ssc-quick-add-btn,
.ssc-add-item-option {
	position: relative;
	overflow: visible;
	transition: all 0.2s ease;
	border-radius: 12px !important;
	font-weight: 600 !important;
	letter-spacing: normal;
	text-transform: none;
	font-size: 14px;
	padding: 10px 18px !important;
	min-height: auto;
	text-decoration: none;
}

/* UI Kit Primary Button */
.ssc-quick-add-btn {
	background: linear-gradient(135deg, #002444, #003c6e) !important;
	color: #ffffff !important;
	border: none !important;
	box-shadow: 0 6px 18px rgba(30, 140, 241, 0.25) !important;
}

.ssc-quick-add-btn:hover {
	background: linear-gradient(135deg, #002444, #003c6e) !important;
	color: #ffffff !important;
	border: none !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(30, 140, 241, 0.35) !important;
}

.ssc-quick-add-btn:active {
	background: linear-gradient(135deg, #002444, #003c6e) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(30, 140, 241, 0.25) !important;
	transform: translateY(0);
}

/* UI Kit Secondary Buttons */
.ssc-add-item-option[data-type="service"],
.ssc-add-item-option[data-type="product"],
.ssc-add-item-option[data-type="custom"] {
	background: #f5f7fb !important;
	color: #1c2434 !important;
	border: 1px solid #dbe2f3 !important;
	box-shadow: none !important;
}

.ssc-add-item-option[data-type="service"]:hover,
.ssc-add-item-option[data-type="product"]:hover,
.ssc-add-item-option[data-type="custom"]:hover {
	background: #e8ecf5 !important;
	color: #1c2434 !important;
	border-color: #c5d0e8 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.ssc-quick-add-btn .dashicons,
.ssc-add-item-option .dashicons {
	transition: transform 0.2s ease;
	opacity: 1;
}

.ssc-quick-add-btn:hover .dashicons,
.ssc-add-item-option:hover .dashicons {
	transform: none;
}

/* UI Kit Typography */
#ssc-invoice-items-table {
	font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	font-weight: 400;
}

#ssc-invoice-items-table thead th {
	font-weight: 600;
	letter-spacing: 0.05em;
	font-size: 12px;
	color: #7c869d;
}

#ssc-invoice-items-table tbody td {
	font-weight: 400;
	color: #1c2434;
	font-size: 14px;
	padding: 14px 16px;
}

/* UI Kit Scrollbar */
#ssc-invoice-items-table::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

#ssc-invoice-items-table::-webkit-scrollbar-track {
	background: #f7f9fc;
	border-radius: 4px;
}

#ssc-invoice-items-table::-webkit-scrollbar-thumb {
	background: #dfe5f5;
	border-radius: 4px;
}

#ssc-invoice-items-table::-webkit-scrollbar-thumb:hover {
	background: #c5d0e8;
}

/* UI Kit Focus States */
.ssc-quick-add-btn:focus,
.ssc-add-item-option:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(31, 142, 241, 0.2) !important;
}

/* UI Kit Delete Button */
.ssc-remove-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	padding: 0;
	margin: 0;
	background: transparent !important;
	border: none !important;
	border-radius: 8px;
	cursor: pointer;
	color: #7c869d;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
	opacity: 0;
	box-shadow: none !important;
}

/* Show delete button on row hover */
#ssc-invoice-items-table tbody tr.ssc-invoice-item-row:hover .ssc-remove-item {
	opacity: 1;
}

.ssc-remove-item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 1;
	color: inherit;
	transition: color 0.2s ease;
}

.ssc-remove-item:hover {
	background: rgba(255, 68, 68, 0.1);
	color: #ff4444;
}

.ssc-remove-item:active {
	background: rgba(255, 68, 68, 0.15);
	color: #cc0000;
}

.ssc-remove-item:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.2);
	background: rgba(255, 68, 68, 0.1);
	color: #ff4444;
}

/* UI Kit Table Footer */
#ssc-invoice-items-table tfoot tr {
	background: #f7f9fc;
	box-shadow: none;
	border-top: 1px solid #dfe5f5;
}

#ssc-invoice-items-table tfoot tr:last-child {
	background: #f7f9fc;
	font-weight: 600;
	border-top: 2px solid #dfe5f5;
}

#ssc-invoice-items-table tfoot td {
	padding: 16px;
}

#ssc-invoice-items-table tfoot #ssc-subtotal,
#ssc-invoice-items-table tfoot #ssc-tax-amount {
	font-weight: 500;
	color: #7c869d;
	font-size: 14px;
}

#ssc-invoice-items-table tfoot #ssc-total {
	font-weight: 700;
	color: #1c2434;
	font-size: 18px !important;
}

/* UI Kit Total Column */
#ssc-invoice-items-table .ssc-item-total {
	background: #f7f9fc !important;
	border: 1px solid #dfe5f5 !important;
	border-radius: 12px !important;
	font-weight: 600 !important;
	color: #1c2434 !important;
	box-shadow: none;
	font-size: 14px;
}

#ssc-invoice-items-table tbody tr.ssc-invoice-item-row:hover .ssc-item-total {
	background: #ffffff !important;
	border-color: #c5d0e8 !important;
}

/* UI Kit Border Styling */
#ssc-invoice-items-table tbody tr.ssc-invoice-item-row {
	border-bottom: 1px solid #dfe5f5;
}

#ssc-invoice-items-table tbody tr.ssc-invoice-item-row:last-child {
	border-bottom: none;
}

/* UI Kit Empty State */
.ssc-invoice-item-empty {
	animation: uiKitFadeIn 0.2s ease;
}

.ssc-invoice-item-empty .dashicons {
	opacity: 0.4;
	color: #7c869d;
	transition: all 0.2s ease;
}

.ssc-invoice-item-empty:hover .dashicons {
	opacity: 0.6;
	color: #1f8ef1;
}

/* UI Kit Transitions */
#ssc-invoice-items-table * {
	transition-timing-function: ease;
}

/* System font stack for headings, paragraphs, and links */
h1, h2, h3, h4, h5, h6, p, a {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* License Notice Styling */
.ssc-license-notice {
	display: flex;
	align-items: center;
	background: #fff;
	border-left: 4px solid #fbbf24;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	margin: 0 32px;
	padding: 0;
	position: relative;
	min-height: 56px;
	border-top: 1px solid #e2e8f0;
}

.ssc-license-notice-bar {
	width: 4px;
	background: #fbbf24;
	border-radius: 8px 0 0 8px;
	flex-shrink: 0;
	height: 100%;
	min-height: 56px;
}

.ssc-license-notice-content {
	flex: 1;
	padding: 16px 20px;
	font-size: 14px;
	line-height: 1.5;
	color: #1c2434;
}

.ssc-license-notice-content strong {
	font-weight: 600;
	color: #1c2434;
	margin-right: 4px;
}

.ssc-license-notice-content a {
	color: #2563eb;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.ssc-license-notice-content a:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.ssc-license-notice-dismiss {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 12px 16px;
	color: #6b7280;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease, background 0.2s ease;
	border-radius: 0 8px 8px 0;
	flex-shrink: 0;
}

.ssc-license-notice-dismiss:hover {
	color: #374151;
	background: #f9fafb;
}

.ssc-license-notice-dismiss .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 1;
}

/* Hide notice when dismissed */
.ssc-license-notice.ssc-license-notice-dismissed {
	display: none;
}

/* Documentation Styles */
.ssc-docs-category-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	border-color: #002c51;
}

.ssc-docs-article-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	border-color: #002c51;
	background: #f8fafc;
}

.ssc-docs-article-content {
	font-size: 16px;
	line-height: 1.8;
	color: #334155;
}

.ssc-docs-article-content h2 {
	margin-top: 32px;
	margin-bottom: 16px;
	font-size: 24px;
	color: #1e293b;
	border-bottom: 2px solid #e2e8f0;
	padding-bottom: 8px;
}

.ssc-docs-article-content h3 {
	margin-top: 24px;
	margin-bottom: 12px;
	font-size: 20px;
	color: #1e293b;
}

.ssc-docs-article-content p {
	margin-bottom: 16px;
}

.ssc-docs-article-content ul,
.ssc-docs-article-content ol {
	margin: 16px 0;
	padding-left: 24px;
}

.ssc-docs-article-content li {
	margin-bottom: 8px;
}

.ssc-docs-article-content code {
	background: #f1f5f9;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 14px;
	color: #e11d48;
}

.ssc-docs-article-content pre {
	background: #1e293b;
	color: #e2e8f0;
	padding: 16px;
	border-radius: 6px;
	overflow-x: auto;
	margin: 16px 0;
}

.ssc-docs-article-content pre code {
	background: transparent;
	color: #e2e8f0;
	padding: 0;
}

.ssc-docs-article-content strong {
	color: #1e293b;
	font-weight: 600;
}

.ssc-docs-article-content a {
	color: #002c51;
	text-decoration: none;
}

.ssc-docs-article-content a:hover {
	text-decoration: underline;
}

/* Trial Notice - Alert Style */
.ssc-trial-notice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 24px;
	margin-bottom: 24px;
	border-radius: 12px;
	border: none;
	color: #fff;
}

.ssc-trial-notice-warning {
	background: linear-gradient(135deg, #f6ad55 0%, #f59e0b 100%);
}

.ssc-trial-notice-danger {
	background: linear-gradient(135deg, #f56565 0%, #dc2626 100%);
}

.ssc-trial-notice-content {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1;
}

.ssc-trial-notice-content .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #fff;
}

.ssc-trial-notice-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ssc-trial-notice-text strong {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	margin: 0;
}

.ssc-trial-notice-text span {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.5;
}

.ssc-panel table.widefat td,
.ssc-panel table.widefat th {
	text-align: left;
}

.ssc-trial-notice-button {
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(10px);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	padding: 10px 20px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.ssc-trial-notice-button:hover {
	background: rgba(255, 255, 255, 0.35);
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
	transform: none;
}

/* Phone Numbers Dynamic Fields */
.ssc-phone-numbers-container {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ssc-phone-number-field {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ssc-phone-input {
	flex: 1;
}

.ssc-remove-phone {
	background: #f56565;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 6px 8px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	transition: all 0.2s ease;
}

.ssc-remove-phone:hover {
	background: #dc2626;
	transform: scale(1.05);
}

.ssc-remove-phone .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.ssc-add-phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ssc-add-phone .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	margin-top: 5px;
}

/* Services Breakdown Table Header in Client Financial Details */
.ssc-client-details-services table thead tr th {
	color: #091529 !important;
}

/* Dashboard Header Icon Alignment */
.ssc-header-text h1 .dashicons {
	margin-top: -4px;
}

/* Email Content Modal - Ensure it's always on top of everything */
#email-content-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 999999 !important;
	background: rgba(0, 0, 0, 0.5) !important;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

/* Almarai Font for Arabic Terms Page */
body[class*="ssc-terms"] .ssc-panel[style*="direction: rtl"],
.ssc-panel[style*="direction: rtl"] {
	font-family: 'Almarai', 'Cairo', 'Tajawal', 'Arial', 'Tahoma', sans-serif !important;
}

.ssc-panel[style*="direction: rtl"] * {
	font-family: 'Almarai', 'Cairo', 'Tajawal', 'Arial', 'Tahoma', sans-serif !important;
}

div#client-info-content {
	text-align: left;
}

/* Quotation Items Table - Same styling as Invoice Items Table */
#ssc-quotation-items-table {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	background: #ffffff;
	border: 1px solid #dfe5f5;
	border-collapse: separate;
	border-spacing: 0;
}

#ssc-quotation-items-table thead tr {
	background: #f7f9fc;
	box-shadow: none;
	border-bottom: 1px solid #dfe5f5;
}

#ssc-quotation-items-table thead th {
	font-weight: 600;
	letter-spacing: 0.02em;
	font-size: 12px;
	color: #7c869d;
	text-transform: uppercase;
	text-align: left;
	padding: 14px 16px;
	border: none;
}

#ssc-quotation-items-table input[type="text"],
#ssc-quotation-items-table input[type="number"],
#ssc-quotation-items-table input[type="date"],
#ssc-quotation-items-table select {
	transition: all 0.2s ease;
	border: 1px solid #dfe5f5;
	background: #ffffff;
	border-radius: 12px;
	font-weight: 400;
	font-size: 14px;
	color: #1c2434;
	padding: 10px 14px;
	width: 100%;
	outline: none;
}

#ssc-quotation-items-table input[type="text"]:hover:not(:disabled):not([readonly]),
#ssc-quotation-items-table input[type="number"]:hover:not(:disabled):not([readonly]),
#ssc-quotation-items-table input[type="date"]:hover:not(:disabled):not([readonly]),
#ssc-quotation-items-table select:hover {
	border-color: #c5d0e8;
	background: #ffffff;
}

#ssc-quotation-items-table .ssc-quotation-item-description:focus,
#ssc-quotation-items-table .ssc-quotation-item-quantity:focus,
#ssc-quotation-items-table .ssc-quotation-item-unit-price:focus,
#ssc-quotation-items-table input[type="date"]:focus,
#ssc-quotation-items-table select:focus {
	border-color: #1f8ef1 !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(31, 142, 241, 0.15) !important;
	outline: none;
	color: #1c2434;
}

#ssc-quotation-items-table input[type="text"][readonly] {
	cursor: default;
	background: #f7f9fc;
	color: #1c2434;
	border: 1px solid #dfe5f5;
	font-weight: 600;
}

#ssc-quotation-items-table tbody tr.ssc-quotation-item-row {
	transition: all 0.2s ease;
	position: relative;
	background: #ffffff;
	border-bottom: 1px solid #dfe5f5;
	animation: uiKitFadeIn 0.2s ease;
}

#ssc-quotation-items-table tbody tr.ssc-quotation-item-row:hover {
	background: #f7f9fc;
	box-shadow: none;
	transform: none;
}

#ssc-quotation-items-table tbody tr.ssc-quotation-item-row:hover input[type="text"],
#ssc-quotation-items-table tbody tr.ssc-quotation-item-row:hover input[type="number"] {
	border-color: #c5d0e8;
}

#ssc-quotation-items-table tfoot tr {
	background: #f7f9fc;
	box-shadow: none;
	border-top: 1px solid #dfe5f5;
}

#ssc-quotation-items-table tfoot tr:last-child {
	background: #f7f9fc;
	font-weight: 600;
	border-top: 2px solid #dfe5f5;
}

#ssc-quotation-items-table tfoot td {
	padding: 16px;
}

.ssc-quotation-remove-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	padding: 0;
	margin: 0;
	background: transparent !important;
	border: none !important;
	border-radius: 8px;
	cursor: pointer;
	color: #7c869d;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
	opacity: 0;
	box-shadow: none !important;
}

#ssc-quotation-items-table tbody tr.ssc-quotation-item-row:hover .ssc-quotation-remove-item {
	opacity: 1;
}

.ssc-quotation-remove-item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 1;
	color: inherit;
	transition: color 0.2s ease;
}

.ssc-quotation-remove-item:hover {
	background: rgba(255, 68, 68, 0.1);
	color: #ff4444;
}

.ssc-quotation-remove-item:active {
	background: rgba(255, 68, 68, 0.15);
	color: #cc0000;
}

.ssc-quotation-remove-item:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.2);
	background: rgba(255, 68, 68, 0.1);
	color: #ff4444;
}

div#services-content {
	padding: 0px !important;
}

div#quotations-content {
	padding: 0px !important;
}

div#invoices-content {
	padding: 0px !important;
}

div#receipts-content {
	padding: 0px !important;
}

/* Copyright Footer */
.ssc-copyright-footer {
	margin-top: 60px;
	padding: 24px 0;
	text-align: center;
	border-top: 1px solid #e2e8f0;
}

.ssc-copyright-footer p {
	font-size: 11px;
	color: #7c869d;
	letter-spacing: 0.5px;
	margin: 0;
	font-weight: 400;
}

/* ============================================
   FINAL FOOTER PARAGRAPH OVERRIDES - ABSOLUTE LAST RULES
   These MUST be at the very end of the file to override everything
   Change font-size values to customize footer text sizes
   ============================================ */

/* ============================================
   FOOTER PARAGRAPHS - EASY TO CUSTOMIZE
   Change font-size values below to adjust footer text sizes
   ============================================ */

/* Footer Main Message - Overrides ALL other rules
   "This is an official statement of account. Please review..."
   ⬇️ CHANGE THE FONT-SIZE BELOW ⬇️ */
#ssc-official-statement.ssc-pdf-export .ssc-footer-main-message,
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p.ssc-footer-main-message,
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="font-size: 11px"],
#ssc-official-statement.ssc-pdf-export p[style*="font-size: 11px"][style*="color: #64748b"] {
	font-size: 16px !important; /* ⬅️ CHANGE THIS VALUE (currently 8px) */
	color: #64748b !important;
	margin: 0 !important;
}

/* Footer Timestamp - Overrides ALL other rules
   "Generated on December 2, 2025 at 9:10 PM"
   ⬇️ CHANGE THE FONT-SIZE BELOW ⬇️ */
#ssc-official-statement.ssc-pdf-export .ssc-footer-timestamp,
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p.ssc-footer-timestamp,
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="font-size: 9px"],
#ssc-official-statement.ssc-pdf-export p[style*="font-size: 9px"][style*="color: #94a3b8"] {
	font-size: 12px !important; /* ⬅️ CHANGE THIS VALUE (currently 8px) */
	color: #94a3b8 !important;
	margin: 8px 0 0 0 !important;
}

/* ============================================
   STATEMENT OF ACCOUNT PDF - COMPLETE CONTROL PANEL
   ⚠️ CHANGE ALL PDF ELEMENT SIZES HERE - THIS IS THE ONLY PLACE YOU NEED TO EDIT ⚠️
   ============================================ */

/* 1. MAIN HEADING - "Official Statement of Account" */
#ssc-official-statement.ssc-pdf-export h1 {
	font-size: 27px !important; /* ⬅️ CHANGE THIS (currently 27px) */
}

/* 2. STATEMENT DATE - "Statement Date: ..." */
#ssc-official-statement.ssc-pdf-export .ssc-statement-toolbar > div > div[style*="font-size: 13px"] {
	font-size: 13px !important; /* ⬅️ CHANGE THIS (currently 13px) */
}

/* 3. FROM/TO SECTION HEADINGS - "From" and "To" labels */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 20px"] h3 {
	font-size: 14px !important;
	text-transform: uppercase !important; /* ⬅️ CHANGE THIS (currently 14px) */
}

/* 4. COMPANY/CLIENT NAMES - Bold names at top of FROM/TO sections */
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 20px"] > div > div > div[style*="font-size: 12px"] {
	font-size: 13px !important; /* ⬅️ CHANGE THIS (currently 13px) */
}

/* 5. COMPANY/CLIENT INFO - Address, phone, email, MOF number */
#ssc-official-statement.ssc-pdf-export .ssc-company-client-info,
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 20px"] > div > div.ssc-company-client-info,
#ssc-official-statement.ssc-pdf-export > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 20px"] > div > div[style*="font-size: 11px"] {
	font-size: 16px !important; /* ⬅️ CHANGE THIS (currently 15px) */
	line-height: 1.5 !important;
}

/* 6. TABLE HEADERS - Column headers (Date, Description, Debit, Credit, Balance) */
#ssc-official-statement.ssc-pdf-export table thead th,
#ssc-official-statement.ssc-pdf-export table th {
	font-size: 14px !important; /* ⬅️ CHANGE THIS (currently 14px) */
}

/* 7. TABLE BODY TEXT - Transaction rows */
#ssc-official-statement.ssc-pdf-export table tbody td {
	font-size: 14px !important; /* ⬅️ CHANGE THIS (currently 14px) */
}

/* 8. TABLE FOOTER - Total rows */
#ssc-official-statement.ssc-pdf-export table tfoot td {
	font-size: 14px !important; /* ⬅️ CHANGE THIS (currently 14px) */
}

/* 9. FOOTER MAIN MESSAGE - "This is an official statement of account..." */
#ssc-official-statement.ssc-pdf-export .ssc-footer-main-message,
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p.ssc-footer-main-message,
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="font-size: 11px"] {
	font-size: 16px !important; /* ⬅️ CHANGE THIS (currently 16px) */
}

/* 10. FOOTER TIMESTAMP - "Generated on December 2, 2025 at 9:10 PM" */
#ssc-official-statement.ssc-pdf-export .ssc-footer-timestamp,
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p.ssc-footer-timestamp,
#ssc-official-statement.ssc-pdf-export > div[style*="text-align: center"][style*="border-top: 1px solid"] p[style*="font-size: 9px"] {
	font-size: 12px !important; /* ⬅️ CHANGE THIS (currently 12px) */
}

/* ============================================
   ABOUT PAGE STYLES - MODERN DASHBOARD STYLE
   ============================================ */

/* About Page Container */
.ssc-about-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px;
}

/* Hero Section - Dashboard Style Panel */
.ssc-about-hero {
	text-align: center;
	margin-bottom: 24px;
	padding: 48px 40px;
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ssc-about-hero-content {
	margin-bottom: 24px;
}

.ssc-about-hero-content svg {
	width: 280px;
	height: auto;
	margin: 0 auto;
	display: block;
}

.ssc-about-title {
	margin: 0 0 12px 0;
	font-size: 28px;
	color: #1e293b;
	font-weight: 700;
	line-height: 1.2;
}

.ssc-about-version-badge {
	display: inline-block;
	padding: 6px 16px;
	background: #002c51;
	color: #fff;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 20px;
}

.ssc-about-hero-description {
	margin: 0;
	font-size: 15px;
	color: #64748b;
	line-height: 1.6;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* Section Headings - Dashboard Style */
.ssc-about-section-title {
	margin: 0 0 24px 0;
	font-size: 20px;
	color: #1e293b;
	font-weight: 700;
	text-align: left;
	line-height: 1.2;
}

/* About Content Card - Dashboard Panel Style */
.ssc-about-card {
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
	border: 1px solid #e2e8f0;
	padding: 32px;
	border-radius: 10px;
	margin-bottom: 24px;
	text-align: left;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ssc-about-card-text {
	margin: 0 0 16px 0;
	font-size: 15px;
	line-height: 1.6;
	color: #64748b;
}

.ssc-about-card-text:last-child {
	margin-bottom: 0;
}

/* Features Grid - Dashboard Card Grid Style */
.ssc-about-features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-bottom: 24px;
}

@media (max-width: 1024px) {
	.ssc-about-features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.ssc-about-features-grid {
		grid-template-columns: 1fr;
	}
}

/* Feature Card - Dashboard Quick Stat Style */
.ssc-about-feature-card {
	padding: 20px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	transition: all 0.2s ease;
	text-align: center;
	cursor: pointer;
}

.ssc-about-feature-card:hover {
	border-color: #1f8ef1;
	box-shadow: 0 2px 8px rgba(31, 142, 241, 0.15);
	transform: translateY(-2px);
}

.ssc-about-feature-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.ssc-about-feature-icon .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: #0369a1;
}

.ssc-about-feature-title {
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 8px;
	text-align: center;
}

.ssc-about-feature-description {
	margin: 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.5;
	text-align: center;
}

/* Developer Section - Dashboard Panel Style */
.ssc-about-developer-card {
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 32px;
	text-align: center;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ssc-about-developer-title {
	margin: 0 0 12px 0;
	font-size: 20px;
	color: #1e293b;
	font-weight: 700;
	line-height: 1.2;
}

.ssc-about-developer-text {
	margin: 0;
	font-size: 15px;
	color: #64748b;
	line-height: 1.6;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.ssc-about-developer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
}

.ssc-about-link-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1e293b;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 24px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.ssc-about-link-button:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	transform: translateY(-2px);
}

.ssc-about-link-button .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Help Section - Dashboard Panel Style */
.ssc-about-help-section {
	padding: 32px;
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ssc-about-help-title {
	margin: 0 0 12px 0;
	font-size: 20px;
	color: #1e293b;
	font-weight: 700;
	line-height: 1.2;
}

.ssc-about-help-text {
	margin: 0 0 20px 0;
	font-size: 15px;
	color: #64748b;
	line-height: 1.6;
}

.ssc-about-help-button {
	background: #1f8ef1;
	border: none;
	border-radius: 6px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #fff;
	box-shadow: 0 2px 8px rgba(31, 142, 241, 0.2);
}

.ssc-about-help-button:hover {
	transform: none;
	box-shadow: 0 4px 12px rgba(31, 142, 241, 0.3);
}

/* System Info Grid - Dashboard Card Style */
.ssc-about-system-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
	margin-bottom: 24px;
}

.ssc-about-system-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px;
	transition: all 0.2s ease;
	cursor: pointer;
}

.ssc-about-system-card:hover {
	border-color: #1f8ef1;
	box-shadow: 0 2px 8px rgba(31, 142, 241, 0.15);
	transform: translateY(-2px);
}

.ssc-about-system-label {
	font-size: 12px;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	font-weight: 600;
}

.ssc-about-system-value {
	font-size: 20px;
	color: #1e293b;
	font-weight: 700;
	line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.ssc-about-container {
		padding: 16px;
	}
	
	.ssc-about-hero {
		padding: 32px 24px;
	}
	
	.ssc-about-hero-content svg {
		width: 220px;
	}
	
	.ssc-about-title {
		font-size: 24px;
	}
	
	.ssc-about-section-title {
		font-size: 18px;
	}
	
	.ssc-about-card,
	.ssc-about-developer-card {
		padding: 24px 20px;
	}
	
	.ssc-about-feature-card {
		padding: 18px 16px;
	}
}

/* Legal Links Section in About Page */
.ssc-about-legal-section {
	margin-bottom: 24px;
}

.ssc-about-legal-link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

.ssc-about-legal-link:hover {
	border-color: #1f8ef1;
	box-shadow: 0 2px 8px rgba(31, 142, 241, 0.15);
	transform: translateY(-2px);
}

.ssc-about-legal-icon {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ssc-about-legal-icon .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #0369a1;
}

.ssc-about-legal-content {
	flex: 1;
}

.ssc-about-legal-title {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 4px;
}

.ssc-about-legal-description {
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}

/* Legal Pages Styling (Terms & Refund) */
.ssc-legal-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 32px;
}

.ssc-legal-header {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e2e8f0;
}

.ssc-legal-title {
	margin: 0 0 8px 0;
	font-size: 32px;
	color: #1e293b;
	font-weight: 700;
	line-height: 1.2;
}

.ssc-legal-updated {
	margin: 0;
	font-size: 14px;
	color: #64748b;
}

.ssc-legal-content {
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 32px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ssc-legal-section {
	margin-bottom: 32px;
}

.ssc-legal-section:last-child {
	margin-bottom: 0;
}

.ssc-legal-section-title {
	margin: 0 0 16px 0;
	font-size: 20px;
	color: #1e293b;
	font-weight: 700;
	line-height: 1.2;
}

.ssc-legal-subsection-title {
	margin: 24px 0 12px 0;
	font-size: 16px;
	color: #1e293b;
	font-weight: 600;
	line-height: 1.3;
}

.ssc-legal-text {
	margin: 0 0 16px 0;
	font-size: 15px;
	color: #475569;
	line-height: 1.7;
}

.ssc-legal-text:last-child {
	margin-bottom: 0;
}

.ssc-legal-list {
	margin: 16px 0;
	padding-left: 24px;
}

.ssc-legal-list li {
	margin-bottom: 12px;
	font-size: 15px;
	color: #475569;
	line-height: 1.7;
}

.ssc-legal-list li:last-child {
	margin-bottom: 0;
}

.ssc-legal-list li strong {
	color: #1e293b;
	font-weight: 600;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
	.ssc-legal-container {
		padding: 24px 16px;
	}
	
	.ssc-legal-title {
		font-size: 24px;
	}
	
	.ssc-legal-content {
		padding: 24px 20px;
	}
	
	.ssc-legal-section-title {
		font-size: 18px;
	}
	
	.ssc-about-legal-link {
		flex-direction: column;
		text-align: center;
	}
}

/* Email icon styling */
span.dashicons.dashicons-email-alt {
	display: inline-block;
	text-align: center;
	margin: 0 auto;
}

/* Email filter bar styling */
#recent-emails-panel .ssc-filter-bar {
	margin-bottom: 20px;
	padding: 16px;
	background: #f8fafc;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

#recent-emails-panel .ssc-filter-bar .ssc-search {
	position: relative;
}

#recent-emails-panel .ssc-filter-bar .ssc-search .dashicons {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 18px;
	width: 18px;
	height: 18px;
	pointer-events: none;
}

#recent-emails-panel .ssc-filter-bar .ssc-search input {
	padding-left: 38px;
}

#recent-emails-panel .ssc-filter-bar .ssc-filter-select,
#recent-emails-panel .ssc-filter-bar .ssc-filter-input {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	font-size: 13px;
	background: white;
	transition: border-color 0.2s ease;
}

#recent-emails-panel .ssc-filter-bar .ssc-filter-select:hover,
#recent-emails-panel .ssc-filter-bar .ssc-filter-input:hover {
	border-color: #cbd5e1;
}

#recent-emails-panel .ssc-filter-bar .ssc-filter-select:focus,
#recent-emails-panel .ssc-filter-bar .ssc-filter-input:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#recent-emails-panel .ssc-filter-bar label {
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

@media (max-width: 768px) {
	#recent-emails-panel .ssc-filter-bar {
		flex-direction: column;
		align-items: stretch;
	}
	
	#recent-emails-panel .ssc-filter-bar > * {
		width: 100%;
		max-width: 100%;
	}
}

/* Modern Date Picker Styling */
input[type="date"] {
	position: relative;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px 16px;
	padding-right: 40px !important;
	cursor: pointer;
	font-family: inherit;
	color: #1e293b;
}

input[type="date"]::-webkit-calendar-picker-indicator {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	opacity: 0;
	z-index: 1;
}

input[type="date"]:hover {
	border-color: #3b82f6;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}

input[type="date"]:focus {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
	outline: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}

input[type="date"]::-webkit-datetime-edit-text {
	color: #64748b;
	padding: 0 2px;
}

input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
	color: #1e293b;
	font-weight: 500;
}

input[type="date"]::-webkit-datetime-edit-month-field:focus,
input[type="date"]::-webkit-datetime-edit-day-field:focus,
input[type="date"]::-webkit-datetime-edit-year-field:focus {
	background-color: #eff6ff;
	color: #1e40af;
	border-radius: 4px;
	outline: none;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
	display: none;
}

/* Modern Date Picker Popup Styling (WebKit/Chrome) */
input[type="date"]::-webkit-calendar-picker-indicator {
	background: transparent;
	cursor: pointer;
}

/* For Firefox */
input[type="date"]::-moz-calendar-picker-indicator {
	background: transparent;
	cursor: pointer;
	opacity: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}

/* Date picker popup styling - Chrome/Edge */
@supports (-webkit-appearance: none) {
	input[type="date"] {
		position: relative;
	}
}

/* Modern styling for date input when it has a value */
input[type="date"]:not(:placeholder-shown) {
	color: #1e293b;
	font-weight: 500;
}

/* Placeholder styling */
input[type="date"]::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

/* Flatpickr Modern Styling - Enhanced to match application design */
.flatpickr-calendar {
	font-family: inherit !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
	border: 1px solid #e2e8f0 !important;
	overflow: visible !important;
	z-index: 99999 !important;
	max-width: none !important;
	width: auto !important;
	background: white !important;
	min-width: 280px !important;
}
	box-sizing: border-box !important;
}

.flatpickr-wrapper {
	box-sizing: border-box !important;
	width: 100% !important;
}

.flatpickr-innerContainer {
	box-sizing: border-box !important;
	width: 100% !important;
	overflow: visible !important;
}

.flatpickr-months {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
	border-radius: 12px 12px 0 0 !important;
	padding: 16px 12px !important;
	position: relative !important;
	box-sizing: border-box !important;
	width: 100% !important;
	height: 51px !important;
}

.flatpickr-month {
	color: white !important;
	height: auto !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
}

.flatpickr-current-month {
	color: white !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
	background: transparent !important;
	border: none !important;
	color: white !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	padding: 6px 28px 6px 10px !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 8px center !important;
	background-size: 12px 12px !important;
	margin: 0 4px !important;
	min-width: 100px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
	background-color: rgba(255, 255, 255, 0.15) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 8px center !important;
	background-size: 12px 12px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:focus {
	outline: none !important;
	background-color: rgba(255, 255, 255, 0.2) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option {
	background: white !important;
	color: #1e293b !important;
	padding: 10px 16px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}

/* Year input styling */
.flatpickr-current-month .numInputWrapper {
	position: relative !important;
}

.flatpickr-current-month .numInputWrapper input {
	background: transparent !important;
	border: none !important;
	color: white !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	padding: 6px 10px !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	width: 70px !important;
	text-align: center !important;
	margin: 0 4px !important;
}

.flatpickr-current-month .numInputWrapper input:hover {
	background: rgba(255, 255, 255, 0.15) !important;
}

.flatpickr-current-month .numInputWrapper input:focus {
	outline: none !important;
	background: rgba(255, 255, 255, 0.2) !important;
}

.flatpickr-current-month .numInputWrapper .arrowUp,
.flatpickr-current-month .numInputWrapper .arrowDown {
	display: none !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
	color: white !important;
	fill: white !important;
	padding: 8px !important;
	border-radius: 8px !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
	width: 36px !important;
	height: 36px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
	background: rgba(255, 255, 255, 0.2) !important;
	transform: scale(1.05) !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
	width: 14px !important;
	height: 14px !important;
}

.flatpickr-weekdays {
	background: #f8fafc !important;
	padding: 12px 8px 8px 8px !important;
	border-bottom: 1px solid #e2e8f0 !important;
	box-sizing: border-box !important;
	width: 100% !important;
	display: flex !important;
}

.flatpickr-weekday {
	color: #64748b !important;
	font-weight: 600 !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	padding: 0 !important;
	width: calc(14.285%) !important;
	text-align: center !important;
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
}

.flatpickr-days {
	padding: 8px !important;
	background: white !important;
	box-sizing: border-box !important;
	width: 100% !important;
	overflow: visible !important;
}

.flatpickr-day {
	border-radius: 8px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #1e293b !important;
	border: none !important;
	margin: 1px !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	width: calc(14.285% - 2px) !important;
	height: 32px !important;
	line-height: 32px !important;
	text-align: center !important;
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
}

.flatpickr-day:hover {
	background: #eff6ff !important;
	color: #2563eb !important;
	transform: scale(1.05) !important;
	font-weight: 600 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
	color: white !important;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35) !important;
	border: none !important;
	font-weight: 600 !important;
}

.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
	transform: scale(1.05) !important;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
}

.flatpickr-day.today {
	border: 2px solid #3b82f6 !important;
	font-weight: 600 !important;
	background: transparent !important;
}

.flatpickr-day.today:hover {
	background: #eff6ff !important;
	border-color: #2563eb !important;
}

.flatpickr-day.today.selected {
	border-color: white !important;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
	color: white !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
	color: #cbd5e1 !important;
	opacity: 0.4 !important;
	cursor: not-allowed !important;
}

.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover {
	background: transparent !important;
	transform: none !important;
}

.flatpickr-time {
	border-top: 1px solid #e2e8f0 !important;
	padding: 12px 8px !important;
	background: #f8fafc !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

.flatpickr-time input {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #1e293b !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	padding: 8px 12px !important;
	background: white !important;
	width: 60px !important;
	text-align: center !important;
	transition: all 0.2s ease !important;
}

.flatpickr-time input:hover {
	border-color: #3b82f6 !important;
	background: #f8fafc !important;
}

.flatpickr-time input:focus {
	outline: none !important;
	border-color: #3b82f6 !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
	background: white !important;
}

.flatpickr-time .flatpickr-time-separator {
	color: #64748b !important;
	font-weight: 600 !important;
	font-size: 16px !important;
}

.flatpickr-calendar.arrowTop:before {
	border-bottom-color: #3b82f6 !important;
	border-width: 8px !important;
}

.flatpickr-calendar.arrowTop:after {
	border-bottom-color: white !important;
	border-width: 7px !important;
	margin-left: 1px !important;
}

.flatpickr-calendar.arrowBottom:before {
	border-top-color: #e2e8f0 !important;
	border-width: 8px !important;
}

.flatpickr-calendar.arrowBottom:after {
	border-top-color: white !important;
	border-width: 7px !important;
	margin-left: 1px !important;
}

/* Range selection styling */
.flatpickr-day.inRange {
	background: #eff6ff !important;
	color: #1e293b !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.flatpickr-day.startRange.inRange {
	border-radius: 8px 0 0 8px !important;
}

.flatpickr-day.endRange.inRange {
	border-radius: 0 8px 8px 0 !important;
}

/* Animation improvements */
.flatpickr-calendar.animate.open {
	animation: flatpickrFadeIn 0.2s ease-out !important;
}

@keyframes flatpickrFadeIn {
	from {
		opacity: 0;
		transform: translateY(-8px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* ============================================
   LEFT SIDEBAR NAVIGATION
   ============================================ */

/* Sidebar Container */
.ssc-sidebar {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 250px !important;
	height: 100vh !important;
	background: linear-gradient(50deg, #002444, #01060a) !important;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 2px 0 16px rgba(0, 0, 0, 0.3);
	z-index: 998 !important;
	display: flex !important;
	flex-direction: column !important;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0 !important;
	margin: 0 !important;
	align-items: stretch !important;
}

/* Sidebar Header (Logo) */
.ssc-sidebar-header {
	padding: 20px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	flex-shrink: 0;
}

.ssc-sidebar-logo {
	display: flex;
	align-items: center;
	padding: 0 20px;
}

/* Sidebar Navigation Container (Two Columns) */
.ssc-sidebar-nav-container {
	flex: 1;
	display: flex;
	overflow: hidden;
	min-height: 0;
}

/* Icon-Only Menu (Left Column) */
.ssc-sidebar-icon-nav {
	width: 50px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 6px;
	gap: 8px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	overflow-y: auto;
	overflow-x: hidden;
}

.ssc-sidebar-icon-menu {
	position: relative;
	width: 100%;
}

.ssc-sidebar-icon-item {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	transition: none;
	padding: 0;
	margin: 0;
	text-decoration: none;
}

.ssc-sidebar-icon-item .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: rgba(255, 255, 255, 0.6);
	transition: none;
}

.ssc-sidebar-icon-item:hover {
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.9);
}

.ssc-sidebar-icon-item:hover .dashicons {
	color: rgba(255, 255, 255, 0.9);
}

.ssc-sidebar-icon-menu.is-open .ssc-sidebar-icon-item {
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.9);
}

.ssc-sidebar-icon-menu.is-open .ssc-sidebar-icon-item .dashicons {
	color: rgba(255, 255, 255, 0.9);
}

/* Icon Menu Dropdown */
.ssc-sidebar-icon-dropdown {
	position: absolute;
	left: 100%;
	top: 0;
	margin-left: 8px;
	min-width: 220px;
	background: linear-gradient(135deg, #001a2e 0%, #000d1a 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	z-index: 1000;
	display: none;
	padding: 8px;
	overflow: hidden;
}

.ssc-sidebar-icon-menu.is-open .ssc-sidebar-icon-dropdown {
	display: block;
}

.ssc-sidebar-icon-dropdown-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
	cursor: pointer;
}

.ssc-sidebar-icon-dropdown-item:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.ssc-sidebar-icon-dropdown-item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: rgba(255, 255, 255, 0.6);
}

.ssc-sidebar-icon-dropdown-item:hover .dashicons {
	color: rgba(255, 255, 255, 0.9);
}

/* Main Navigation Menu (Right Column) */
.ssc-sidebar-nav {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 20px 12px;
	padding-right: 0px;
}

/* Sidebar Navigation Items */
.ssc-sidebar-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	margin-bottom: 4px;
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: none;
	cursor: pointer;
}

.ssc-sidebar-nav-item .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: rgba(255, 255, 255, 0.6);
	transition: none;
}

.ssc-sidebar-nav-item:hover {
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.9);
}

.ssc-sidebar-nav-item:hover .dashicons {
	color: rgba(255, 255, 255, 0.9);
}

.ssc-sidebar-nav-item.active {
	background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
	color: #ffffff;
	box-shadow: none;
}

a.ssc-sidebar-nav-item.active {
	border-radius: 20px 0px 0px 20px;
	background: linear-gradient(45deg, black, transparent);
	box-shadow: none;
}

.ssc-sidebar-nav-item.active .dashicons {
	color: #ffffff;
}

/* Sidebar Footer (User Menu) */
.ssc-sidebar-footer {
	padding: 16px 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	flex-shrink: 0;
}

.ssc-sidebar-menu {
	position: relative;
}

.ssc-sidebar-menu.is-open .ssc-sidebar-user-trigger {
	background: rgba(255, 255, 255, 0.1);
}

.ssc-sidebar-user-trigger {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px;
	border-radius: 10px;
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.9);
	cursor: pointer;
	transition: none;
	text-align: left;
}

.ssc-sidebar-user-trigger:hover {
	background: rgba(255, 255, 255, 0.05);
}

.ssc-sidebar-user-avatar {
	position: relative;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.ssc-sidebar-user-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ssc-sidebar-user-avatar-initial {
	color: #ffffff;
	font-weight: 600;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
	position: absolute;
	top: 0;
	left: 0;
}

.ssc-sidebar-user-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ssc-sidebar-user-name {
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ssc-sidebar-user-role {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ssc-sidebar-user-trigger .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: rgba(255, 255, 255, 0.6);
	margin-left: auto;
	flex-shrink: 0;
}

/* Sidebar Dropdown Menu */
.ssc-sidebar-dropdown {
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	margin-bottom: 8px;
	background: linear-gradient(50deg, #002444, #01060a);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	padding: 8px;
	display: none;
	z-index: 1000;
	min-width: 200px;
}

.ssc-sidebar-menu.is-open .ssc-sidebar-dropdown {
	display: block;
	animation: none;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ssc-sidebar-dropdown-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
	cursor: pointer;
}

.ssc-sidebar-dropdown-item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: rgba(255, 255, 255, 0.7);
}

.ssc-sidebar-dropdown-item:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.ssc-sidebar-dropdown-item:hover .dashicons {
	color: #ffffff;
}

.ssc-sidebar-dropdown-item-danger {
	color: #f87171;
}

.ssc-sidebar-dropdown-item-danger:hover {
	background: rgba(248, 113, 113, 0.1);
	color: #fca5a5;
}

/* Content Header Bar */
.ssc-content-header {
	position: fixed;
	top: 94px;
	left: 250px;
	right: 0;
	height: 70px;
	z-index: 996;
	background: linear-gradient(45deg, #d84e0c, #7b007d) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	padding: 0 32px;
}

/* Mobile Sidebar Overlay */
.ssc-sidebar-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	z-index: 997;
	display: none;
}

/* Mobile Hamburger Button */
.ssc-sidebar-toggle-mobile {
	display: none !important;
}

/* Responsive Design */
@media (max-width: 767px) {
	/* Topbar full width on mobile */
	.ssc-topbar {
		left: 0 !important;
	}
	
	/* Sidebar becomes overlay on mobile */
	.ssc-sidebar {
		left: -250px;
		transition: none;
		z-index: 999;
	}
	
	.ssc-sidebar.is-open {
		left: 0;
	}
	
	.ssc-sidebar-toggle-mobile {
		display: block !important;
	}
	
	.ssc-content-header {
		left: 0;
		padding-left: 16px;
		padding-right: 16px;
	}
	
	.ssc-topbar-search {
		max-width: 200px;
	}
}

/* Scrollbar Styling for Sidebar */
.ssc-sidebar-nav::-webkit-scrollbar {
	width: 6px;
}

.ssc-sidebar-nav::-webkit-scrollbar-track {
	background: transparent;
}

.ssc-sidebar-nav::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
}

.ssc-sidebar-nav::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

/* Topbar Search Styling */
.ssc-topbar-search input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.ssc-topbar-search input:focus {
	border-color: rgba(96, 165, 250, 0.5);
	background: rgba(255, 255, 255, 0.15);
}

/* Topbar Left - Adjust for hamburger and search (override existing) */
.ssc-topbar-left {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
}

/* Hide old topbar logo if it exists */
.ssc-topbar-left .ssc-topbar-logo {
	display: none !important;
}

/* Content Header Responsive */
@media (max-width: 767px) {
	.ssc-content-header {
		left: 0 !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	
	.ssc-topbar-search {
		max-width: 200px !important;
	}
}