/* Google Fonts */
/* Local Fonts */
@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../../fonts/bricolage-400.ttf') format('truetype');
}
@font-face {
	font-family: 'IBM Plex Sans Arabic';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../../fonts/ibm-arabic-400.ttf') format('truetype');
}


.rtl,
[dir="rtl"],
.rtl div,
.rtl p,
.rtl span:not([class*="ri-"]):not([class*="bi-"]),
.rtl a,
.rtl li,
.rtl label,
.rtl h1,
.rtl h2,
.rtl h3,
.rtl h4,
.rtl h5,
.rtl h6,
.rtl input,
.rtl select,
.rtl textarea,
.rtl button,
.rtl optgroup,
.rtl option,
.rtl .page-title,
.rtl .card-title,
.rtl .wawp-title,
.rtl .wawp-description,
.rtl .wawp-card-title,
.rtl .wawp-btn,
.rtl strong,
.rtl b,
.rtl #wpbody,
.rtl #wpbody-content,
.rtl #adminmenu,
.rtl #wpadminbar {
	font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}


:root {
	--primary-color: #0bff80;
	--primary-color-hover: #00D767;
	--secondry-color: #004449;
	--secondry-color-hover: #00747C;
	--wawp-green: #22c55e;
	--wawp-green-hover: #16a34a;
	--light-bg: #fafbfc;
	--dark-bg: #004449;
	--heading: #071437;
	--text: #4B5675;
	--border: 1px solid #DBDFE9;
	--dark-border: #ccc;
	--sm-shadow: 0px 3px 4px 0px rgba(0, 0, 0, .03);
	--md-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
	--lg-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
	--xl-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.05);
	--sm-radius: 2px;
	--md-radius: 4px;
	--lg-radius: 8px;
	--xl-radius: 16px;
	--2xl-radius: 24px;
	--full-radius: 999px;
	--sm-icon: 16px;
	--md-icon: 24px;
	--lg-icon: 48px;
	--sm-text: 14px;
	--base-text: 16px;
	--h1: 14px;
	--h2: 32px;
	--h3: 24px;
	--h4: 18px;
	--h5: 14px;
}

.wawp-dashboard-large-icon {
	width: 3rem;
	height: 3rem;
	margin-bottom: .5rem;
}

.wawp-dashboard-settings-icon {
	width: 24px;
	height: 24px;
}

.wawp-field-group {
	padding-top: 10px;
}

.wawp-setting-status {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #475569;
	transition: all 0.2s ease;
}

.wawp-setting-status:has(> *:nth-child(2)),
.wawp-setting-status:has(div),
.wawp-setting-status:has(span) {
	flex-direction: column;
	align-items: flex-start;
	background: transparent;
	border: none;
	padding: 0;
	gap: .5rem;
}

.wawp-country-tab-content {
	display: none;
}

.wawp-country-tab-content.active {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-setting-status:empty {
	display: none !important;
}

.status-active-text,
.status-success-text,
.status-inactive-text,
.status-error-text,
.status-warning-text {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	border: 1px solid transparent;
	width: 100%;
}

.wawp-setting-status.active,
.wawp-setting-status.status-active,
.wawp-setting-status.status-success,
.status-active-text,
.status-success-text {
	background: #f0fdf4;
	color: #166534;
	border-color: #bbf7d0;
}

.wawp-setting-status.inactive,
.wawp-setting-status.status-inactive,
.status-inactive-text {
	background: #f8fafc;
	color: #64748b;
	border-color: #e2e8f0;
}

.wawp-setting-status.warning,
.wawp-setting-status.status-warning,
.status-warning-text {
	background: #fffbeb;
	color: #b45309;
	border-color: #fde68a;
}

.wawp-setting-status.error,
.wawp-setting-status.status-error,
.status-error-text {
	background: #fef2f2;
	color: #dc2626;
	border-color: #fecaca;
}

.wawp-status-icon {
	font-size: 16px;
	flex-shrink: 0;
}

/* Badge variants if needed */
.wawp-setting-status.badge {
	display: inline-flex;
	padding: 4px 10px;
	margin-top: 0;
	width: auto;
}

/* Dashboard Overlay and Popup */
.wawp-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.wawp-popup {
	background: #fff;
	padding: 2rem;
	border-radius: 12px;
	text-align: center;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Utility Classes */
.wawp-admin-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.25rem;
}

.wawp-flex-row {
	display: flex;
	flex-direction: row;
}

.wawp-flex-col {
	display: flex;
	flex-direction: column;
}

.wawp-flex-1 {
	flex: 1;
}

.wawp-gap-10 {
	gap: 10px;
}

.wawp-align-center {
	align-items: center;
}

.wawp-align-end {
	align-items: flex-end;
}

.wawp-justify-between {
	justify-content: space-between;
}

.wawp-setting-control-full {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wawp-mb-5 {
	margin-bottom: 5px !important;
}

.wawp-mb-10 {
	margin-bottom: 10px !important;
}

.wawp-mb-20 {
	margin-bottom: 20px !important;
}

.wawp-m0 {
	margin: 0 !important;
}

.wawp-m24-v {
	margin: 24px 0 !important;
}

.wawp-w100 {
	width: 100% !important;
}

.wawp-block {
	display: block !important;
}

.wawp-font-600 {
	font-weight: 600 !important;
}

.wawp-font-13 {
	font-size: 13px !important;
}

.wawp-text-muted {
	color: #64748b !important;
}

.wawp-relative {
	position: relative !important;
}

.wawp-cursor-move {
	cursor: move !important;
}

.wawp-text-center {
	text-align: center !important;
}

.wawp-p0 {
	padding: 0 !important;
}

.wawp-overflow-hidden {
	overflow: hidden !important;
}

/* Theme Selector Styles */
.wawp-theme-option-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 15px;
}

.wawp-theme-name {
	font-weight: 500;
}

.wawp-theme-palette {
	display: flex;
	gap: 4px;
}

.wawp-palette-color {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	display: inline-block;
}

.select2-container--default .select2-selection--single {
	height: 40px !important;
	display: flex !important;
	align-items: center !important;
	border: 1px solid #DBDFE9 !important;
	border-radius: 6px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 38px !important;
}

.select2-dropdown {
	border: 1px solid #DBDFE9 !important;
	border-radius: 6px !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.select2-results__option {
	padding: 8px 12px !important;
}

.wawp-popup img {
	width: 64px;
	height: 64px;
	margin-bottom: 1rem;
}

.wawp-popup h3 {
	margin-bottom: 0.5rem;
}

.wawp-popup p {
	margin-bottom: 1.5rem !important;
}

/* Log tick icon (moved from inline PHP) */
.wawp-tick {
	display: inline-flex;
	vertical-align: middle;
	margin-inline-end: 4px;
}

/* Folded admin menu icon fix (moved from inline PHP) */
.folded #adminmenu div.wp-menu-image {
	width: 30px !important;
	height: 33px !important;
	position: absolute;
	z-index: 25;
}

/* Email log table nav override (moved from inline PHP) */
.tablenav {
	height: auto;
	margin: .5rem 0 .5rem;
	padding: 0;
}

.tablenav .actions {

	padding: 0;
	display: flex;
	align-items: stretch;
	height: 40px;
	gap: .375rem;
}

.tablenav .tablenav-pages {
	margin: 0;
	display: flex;
	align-items: center;
	margin-inline-start: auto;
}

.pagination-links {
	display: flex;
	align-items: stretch;
	height: 40px;
	gap: .375rem;
}

.paging-input {
	display: flex;
	align-items: center;
	white-space: nowrap;
	gap: .5rem;
}

.emaillogentries .cex_status_badge {
	white-space: wrap;
	line-height: 1.3;
}

.whatsapp-logs {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: .5rem;
}

.card_number {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
	color: #044;
}

.whatsapp-logs .wawp-card {
	max-width: calc((100% - 1rem)/2);
	flex: auto;
	gap: .5rem;
}

/* ==============  SMTP settings polish  ============== */

#wawp-smtp-settings-fields {
	margin: 1.25rem 0;
}

#wawp-smtp-settings-fields tbody {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}


#wawp-smtp-settings-fields input[type="text"],
#wawp-smtp-settings-fields input[type="number"],
#wawp-smtp-settings-fields input[type="email"],
#wawp-smtp-settings-fields input[type="password"] {
	height: 40px;
	border: 1px solid #dcdfe4;
	border-radius: 6px;
	padding: 0 10px;
	background: #fafafa;
	font-size: 14px;
}

#wawp-smtp-settings-fields select {
	max-width: 100%;
}

#wawp-smtp-settings-fields input[disabled] {
	opacity: .6;
}



.nosender-box {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	max-width: 700px;
	border-radius: .75rem;
	border: 1px solid #DBDFE9;
	background: #FFF;
	box-shadow: 0px 2px 4px 0px rgba(16, 17, 26, 0.03);
	margin-top: 20px;
}




/* ---- Switch slider ---- */
.wawp-switch input {
	display: none;
}

.custom-control-label,
.wawp-switch-slider {
	position: absolute;
	inset: 0;
	background: #d0d0d0;
	border-radius: 22px;
	transition: .2s;
}

.custom-control-label:before,
.wawp-switch-slider:before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	inset-inline-start: 2px;
	bottom: 2px;
	background: #fff;
	border-radius: 50%;
	transition: .2s;
}

.wawp-switch input:checked+.custom-control-label {
	background: #22c55e;
}

.wawp-switch input:checked+.custom-control-label:before {
	transform: translateX(16px);
}

.rtl .wawp-switch input:checked+.custom-control-label:before {
	transform: translateX(-16px);
}

/* ---- Test-box ---- */
#wawp-smtp-test-to {
	width: 260px;
	margin-inline-end: 8px;
}

#wawp-smtp-test-status {
	font-weight: 500;
	font-size: 11px;
	text-wrap: nowrap;
	position: absolute;
	bottom: -22px;
}

/* ---------- Accordion wrapper ---------- */
.wawp-card.wawp-accordion {
	overflow: hidden;
}

.wawp-accordion-arrow {
	transition: transform .25s;
	font-size: 1.1em;
}

.wawp-card.is-open .wawp-accordion-arrow {
	transform: rotate(180deg);
}


/* --- Fix Select2 multiple choice layout in WAWP --- */
.select2-container--default .select2-selection--multiple {
	display: block !important;
	/* let the list behave normally   */
	height: auto !important;
	/* grow as chips wrap             */
	min-height: 32px;
	/* still looks tidy when empty    */
}

/* make the <ul> inside wrap nicely and keep a little spacing */
.select2-selection--multiple .select2-selection__rendered {
	display: flex !important;
	flex-wrap: wrap;
	gap: .5rem !important;
	margin: 0;
	align-items: center;
}

.select2-selection__rendered dd,
.select2-selection__rendered li {
	margin-bottom: 0;
}

.select2-selection__choice {
	display: inline-flex !important;
	align-items: center;
	margin: 0 !important;
	padding: 2px 6px !important;
	border-radius: 6px !important;
	font-size: 12px;
	background: #f1f1f1 !important;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1) !important;
	height: fit-content;
}

.select2-selection__choice span {
	display: flex;
	align-items: center;
	gap: .125rem;
}

.wawp-notif-settings-page .wawp-admin-user-select+.select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	cursor: pointer;
	position: relative !important;
	margin-inline-end: 4px;
	border: none !important;
}

.wawp-notif-settings-page .wawp-admin-user-select+.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
	color: #d63638;
	/* WP delete/error color */
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
	cursor: pointer;
	height: auto;
	position: absolute;
	inset-inline-end: 0;
	padding: 1px;
	margin: 8px !important;
	top: 0;
	font-size: 20px !important;
	font-weight: 300 !important;
	line-height: 12px;
	color: #aaa;
}

.wawp-rule-sender-dropdown {
	display: none !important;
}



.tagify {
	background: #fafafa;
	border-radius: .5rem;
	min-height: 160px;
}


.wawp-summary-avatar {
	width: 64px;
	height: 64px;
	border-radius: 8px;
	object-fit: cover;
}

.wawp-summary-info {
	display: flex;
	flex-direction: column;
	gap: .375rem;
	line-height: 1;
}

.wawp-summary-info i {
	vertical-align: middle;
}

.wawp-status.info {
	background: #bdabff;
	color: #0a0852;
}

.wawp-summary-actions {
	margin-inline-start: auto;
	display: flex;
	gap: 8px;
}

.wawp-summary-actions .wawp-btn {
	padding: 6px 10px;
	height: auto;
}

/**************************************/
/**  Global / Basic Layout & Sections */
/**************************************/

html {
	scroll-behavior: smooth !important;
}

#submit {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	min-width: 100px;
	height: 28px;
	min-height: 28px;
	border-radius: 6px;
	padding: 4px 8px;
	gap: 4px;
	background: #22C55E;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 1px 1px 0px rgba(20, 19, 78, 0.32), 0px 0px 0px 1px #36AE46;
	color: #fff;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px;
	text-transform: capitalize;
	cursor: pointer;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
	white-space: nowrap;
	border: 0;
	justify-content: center;
}

#submit:hover,
#submit:focus {
	background: #12AC4B;
	color: #fff;
}

.wawp-btn {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	min-width: 100px;
	height: 28px;
	min-height: 28px;
	border-radius: 6px;
	padding: 4px 8px;
	gap: 4px;
	background: #FFF;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 0px 0px 1px #D8DEE4, 0px 1px 1px 0px rgba(16, 17, 26, 0.16);
	color: #044;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px;
	text-transform: capitalize;
	cursor: pointer;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
	white-space: nowrap;
	border: 0;
	justify-content: center;
}

.wawp-btn:hover,
.wawp-btn:focus {
	background: #f5f5f5;
	color: #022;
}

.primary {
	background: #22C55E;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 1px 1px 0px rgba(20, 19, 78, 0.32), 0px 0px 0px 1px #36AE46;
	color: #fff;
}

.primary:hover,
.primary:focus {
	background: #12AC4B;
	color: #fff;
}

.wawp-btn-update {
	background: #ffb900;
	color: #fff;
}

.wawp-btn-update:hover,
.wawp-btn-update:focus {
	background: #f0ad4e;
	color: #fff;
}

.secondary {
	background: #044;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 1px 1px 0px #14134E, 0px 0px 0px 1px #055743;
	color: #fff;
}

.secondary:hover,
.secondary:focus {
	background: #002626;
	color: #fff;
}

.golden-btn {
	background-color: #ffcc11;
	box-shadow: 0 0 0 1px rgba(41, 0, 41, 0.2);
	color: #240029;
}

.golden-btn:hover,
.golden-btn:focus {
	background-color: #ffd45e;
}

.delete {
	background: #fef2f2;
	box-shadow: var(--sm-shadow);
	color: #ef4444;
	min-width: fit-content;
	border: 1px solid #fca5a5;
}

.delete:hover,
.delete:focus {
	border-color: #dc2626;
	color: #dc2626;
	background: #fee2e2;
}

.delete-plain {
	color: rgba(142, 11, 33, 1);
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	height: 28px;
	min-height: 28px;
	border-radius: 6px;
	padding: 4px 8px;
	gap: 4px;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 20px;
	text-transform: capitalize;
	cursor: pointer;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
	white-space: nowrap;
	border: 0;
	justify-content: center;
	background: transparent;
}

.delete-plain:hover {
	background: #fee1e6;
}


.sender_method_card {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .375rem;
	height: 40px;
	flex: 1;
	border-radius: .5rem;
	font-size: .875rem;
	font-weight: 500;
	cursor: pointer;
	border: 0;
}


[class*=" ri-"],
[class^="ri-"] {
	font-size: 16px;
	font-weight: 500;
}


.v-divider {
	border-inline-end: var(--border);
}

.h-divider {
	width: 100%;
	border-top: var(--border);
	margin: 0;
}

.sysinfo-cards .wawp-cards {
	display: flex;
	flex-direction: row;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.sysinfo-cards .wawp-cards>* {
	flex: 0 0 calc(50% - 0.625rem);
}

.wawp-cards {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-card {
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	flex: 1;
	gap: 1.25rem;
	border-radius: .75rem;
	border: 1px solid #DBDFE9;
	background: #FFF;
	box-shadow: 0px 2px 4px 0px rgba(16, 17, 26, 0.03);
}

.wawp-cards.support {
	flex-direction: row;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: 1.25rem;
}

.wawp-cards.support .wawp-card {
	max-width: calc(50% - .25rem);
	flex: auto;
}

.wawp-cards.support .wawp-card p {
	margin: .5rem !important;
}

.wawp-senders_section {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.feature_enabling {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.feature_image {
	width: 3rem;
	height: 3rem;
	margin-bottom: .5rem;
}

.wawp-card_actions {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-top: .5rem;
}


.wrap {
	max-width: 700px;
	margin: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--heading);
}

.page-header_row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
}

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

.page-title {
	font-size: 28px;
	font-style: normal;
	font-weight: 600;
	line-height: 30px;
	/* 125% */
	letter-spacing: -0.2px;
	text-transform: capitalize;
	color: var(--heading);
}

p {
	font-size: 14px;
	margin: 0 !important;
	color: var(--text);
	font-weight: 400;
}

a {
	text-decoration: none !important;
	color: rgb(0, 91, 211);
	display: inline-flex;
	align-items: center;
	gap: .25rem;
}

a:hover {
	color: #004299;
}

.card-header_row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.card-header {
	display: flex;
	flex-direction: column;
	gap: 6px;
	position: relative;
}

.card-content {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.card-title {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px;
	color: var(--heading);
	white-space: nowrap;
}

.stats-desc {
	font-size: .75rem;
	color: var(--text);
}

.wawp-actions {
	display: flex;
	align-items: center;
	gap: .25rem;
}

.wawp-badge {
	display: flex;
	min-width: 36px;
	padding: 2px 4px;
	justify-content: center;
	align-items: center;
	border-radius: 4px;
	text-align: center;
	font-size: 11px;
	font-style: normal;
	font-weight: 500;
	line-height: 100%;
	text-transform: capitalize;
	width: fit-content;
}

.disabled {
	background: rgba(0, 0, 0, 0.06);
	color: rgba(97, 97, 97, 0.6);
}

.success {
	background: #AFFEBF;
	color: #014B40;
}

.no-success {
	background: #ffeb78;
	color: #4f4700;
}

.info {
	background: rgba(213, 235, 255, 1);
	color: rgba(0, 58, 90, 1);
}

.woo {
	background: #873eff;
	color: #fff;
}

.error {
	background: #FED1D7;
	color: #8E0B21;
}

.blocked {
	background: #FED1D7;
	color: #8E0B21;
}

.need-upgrade {
	background: #ffd6a4;
	color: #5e4200;
}

.warning {
	background: #ffd6a4;
	color: #5e4200;
}

.pro {
	background: #fdc700;
	color: #432004;
}

.btn-group {
	display: flex !important;
	flex-direction: row;
	gap: 8px;
	align-items: stretch;
}

.cards-group {
	display: flex;
	gap: .75rem;
	align-items: center;
}

label {
	font-weight: 500;
	color: var(--heading);
	display: flex !important;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	font-size: 14px;
}

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

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: inherit !important;
	line-height: 40px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 8px !important;
	width: 100%;
}

.select2.select2-container.select2-container--default img,
.wawp-trigger-ico,
.wawp-sendto-ico {
	width: 18px;
	height: auto;
}

.wawp-trigger-ico {
	margin-inline-end: .25rem;
}

.select2-container .select2-selection--single .select2-selection__rendered span,
.select2-results li span {
	display: flex;
	align-items: center;
	line-height: 1;
	gap: .25rem;
}

select,
.select2-selection.select2-selection--single {
	min-width: 200px;
	line-height: 1 !important;
	color: var(--text) !important;
	max-width: 100% !important;
	-moz-box-align: center;
	align-items: center;
	cursor: default !important;
	display: flex !important;
	flex-wrap: wrap;
	-moz-box-pack: justify;
	justify-content: space-between;
	outline: 0px !important;
	position: relative !important;
	transition: 100ms;
	background-color: rgb(255, 255, 255) !important;
	border-radius: 4px !important;
	box-sizing: border-box;
	border: 1px solid rgb(204, 204, 204) !important;
	font-size: 13px !important;
	width: 100%;
	background: #fff url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M4%205l4%204%204-4%201%201-5%205-5-5%201-1z%22%20fill%3D%22%2348566a%22%20opacity%3D%220.5%22/%3E%3C/svg%3E") no-repeat inline-end 5px top 55% !important;
	background-size: 16px 16px !important;
	box-shadow: none !important;
	margin: 0 !important;
}

.select2-results li {
	line-height: 1;
	color: var(--text);
	align-items: center;
	display: flex;
	min-height: 38px;
	outline: 0px !important;
	position: relative !important;
	box-sizing: border-box;
	height: 40px !important;
	font-size: 13px;
	width: 100%;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background-color: #f4f4f5 !important;
	color: inherit !important;
}

.select2-container--default .select2-results__option--selected {
	background-color: #f4f4f5 !important;
}

.select2-results__option {
	padding: 0px 8px !important;
	margin: 0 !important;
}

.select2-search--dropdown {
	padding: 4px !important;
	background: transparent;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid rgb(204, 204, 204) !important;
	border-radius: 4px !important;
	background: #fff !important;
	height: 40px !important;
	font-size: 13px !important;
	line-height: 1 !important;
	margin: 0 !important;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
	border: 1px solid rgb(204, 204, 204);
	border-radius: 8px !important;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .07);
}

input[type="date"],
input[type="datetime-local"],
input[type="datetime"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
	line-height: 1 !important;
	margin: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	border-radius: 4px !important;
	border: 1px solid rgb(204, 204, 204);
	width: 100% !important;
	font-size: 13px !important;
}

.select2-selection.select2-selection--multiple {
	width: 100% !important;
	display: flex !important;
	padding: 0 .5rem !important;
	color: var(--text) !important;
	border-radius: 6px !important;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 0px 0px 1px #D8DEE4, 0px 1px 1px 0px rgba(16, 17, 26, 0.16) !important;
	border: 0 !important;
	height: 40px !important;
}

.select2-search__field {
	width: 100% !important;
	padding: 0 4px !important;
	height: 24px !important;
	line-height: 24px;
	border-radius: 0;
	font-size: 13px !important;
	margin: 0 !important;
}

p.submit {
	text-align: end;
	padding: 0 !important;
	width: 100%;
	margin: 0 !important;
}

.submit.wawp_save {
	margin-top: 1.25rem !important;
}

.wawp-field {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	flex: 1;
}

.wawp-field label {
	margin-bottom: .5rem;
}

.custom-control {
	display: flex;
	align-items: center;
	width: auto;
	justify-content: end;
}

.custom-control input[type="checkbox"],
.custom-control input[type="radio"] {
	display: none;
}

.custom-control-label {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 20px;
	background-color: #ccc;
	border-radius: 34px;
	cursor: pointer;
	transition:
	background-color 0.3s;
	margin: 0 !important;
}

.custom-control-input:checked+.custom-control-label {
	background-color: var(--wawp-green);
}

.custom-control-label::before {
	content: '';
	position: absolute;
	top: 2px;
	inset-inline-start: 2px;
	width: 16px;
	height: 16px;
	background-color: #fff;
	border-radius: 50%;
	transition:
	transform 0.3s, background-color 0.3s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.custom-control-input:checked+.custom-control-label::before {
	transform: translateX(16px);
}

.rtl .custom-control-input:checked+.custom-control-label::before {
	transform: translateX(-16px);
}

.radios {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.wawp-radio {
	display: flex;
	align-items: center;
	gap: 2px;
}

.wawp-color-group {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

#wawp-condition-fields {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}

.wawp-condition-group {
	flex-direction: row;
	gap: .5rem;
	padding: .75rem;
	border-radius: 8px;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
}

.wawp-condition-group select {
	min-width: calc(100% - 90px);
}


/* ---------------------------------------------
	Sender Settings
--------------------------------------------- */


.instances-setup {
	display: flex;
	gap: 1.25rem;
	flex-direction: column;
}

.instance-select {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	flex: 1;
	width: 100%;
	gap: .25rem;
}


/* ---------------------------------------------
	Advanced Phone Field
--------------------------------------------- */


.wawp-country-settings tbody {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-country-settings tr {
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	flex: 1;
	gap: 1.25rem;
	width: 100%;
	border-radius: 8px;
	border: 1px solid #DBDFE9;
	background: #FFF;
	box-shadow: 0px 2px 4px 0px rgba(16, 17, 26, 0.03);
}

.wawp-country-settings th,
.wawp-country-settings td {
	text-align: start;
	padding: 0;
	width: auto;
	margin: 0;
	flex: 1;
}

.wawp-country-settings th {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px;
	color: var(--heading);
}

.wawp-phone-fields-list {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.wawp-phone-fields-list .wawp_field input {
	background: #fff !important;
}

.wawp-phone-field-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: .75rem;
	padding: .75rem;
	background: var(--light-bg);
	border: var(--border);
	border-radius: .5rem;
}

.wawp-field-row-icon {
	width: 32px;
	height: 32px;
	background: white;
	border: var(--border);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--primary);
	font-size: 16px;
}

.wawp-phone-field-row .wawp-field,
.wawp-phone-field-row .adv-phone-enable {
	font-size: 13px;
	line-height: 20px;
	flex: 1;
}

.adv-phone-enable {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.wawp-phone-field-row input[readonly] {
	background: #f1f5f9;
	cursor: not-allowed;
	opacity: 0.8;
}

.wawp-drag-handle {
	cursor: grab;
	color: #a0aec0;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s;
	flex-shrink: 0;
}

.wawp-drag-handle:active {
	cursor: grabbing;
}

.wawp-drag-handle:hover {
	color: var(--primary);
}

.wawp-sortable-placeholder {
	height: 60px;
	background: rgba(var(--primary-rgb), 0.05);
	border: 1px dashed var(--primary);
	border-radius: .5rem;
	margin-bottom: 15px;
}

.wawp-phone-field-row.ui-sortable-helper {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	background: white;
	z-index: 100;
}

.wawp-country-settings tr:first-child,
.wawp-country-settings tr:nth-child(2),
.wawp-country-settings tr:nth-child(3),
.wawp-country-settings tr:nth-child(4) {
	flex-direction: row;
}

.wawp-setting-end {
	display: flex;
	align-items: center;
	justify-content: end;
}

.wawp-phone-enable-btn {
	font-size: 13px;
	cursor: pointer;
}

.wawp-phone-enable-btn.wawp-badge {
	height: 30px;
}


.wawp-region-group {
	margin-bottom: .5rem;
	border: var(--border);
	border-radius: .5rem;
	overflow: hidden;
}

.wawp-region-group:last-of-type {
	margin: 0 !important;
}

.wawp-region-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	cursor: pointer;
	font-weight: 600;
	background-color: #f7f7f7;
	padding: .75rem;
}

.wawp-region-title:hover {
	background: rgba(241, 241, 241, 1);
}

.wawp-region-group .ri-arrow-right-s-line {
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
}

.wawp-region-group:not(.collapsed) .ri-arrow-right-s-line {
	transform: rotate(90deg);
}

.wawp-region-countries {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	gap: .5rem;
	font-size: 14px;
	font-weight: 400;
	padding: .75rem;
	border-top: 1px solid rgb(227, 227, 227);
}

.wawp-region-group.collapsed .wawp-region-countries {
	display: none;
}

.wawp-country-card {
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 6px;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.06);
	color: rgba(97, 97, 97, 0.6);
	gap: 6px;
	width: calc((100% - (.5rem * 4))/4);
}

.wawp-country-card.selected {
	background: #AFFEBF;
	color: #014B40;
}

.wawp-country-search {
	margin-bottom: 15px;
}

.wawp-country-list {
	max-width: 100%;
}

.wawp-country-name {
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
}

.wawp-country-code-alignment {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}



/* ---------------------------------------------
	Log / Section
--------------------------------------------- */

.wawp-log-filters {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	padding: 24px;
	background: #fff;
	border: var(--border);
	border-radius: 12px;
}

/* Live Search Bar with a Remix Icon or Loading Animation */
.live-search-bar {
	position: relative;
	width: 100%;
	display: flex;
	gap: .75rem;
	align-items: center;
}

.live-search-bar input {
	width: 100%;
	padding: 8px 40px 8px 8px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-repeat: no-repeat;
	background-position: inline-end 8px center;
	transition: background-image 0.3s;
	background-size: 20px;
	height: 32px;
}

/* Default: remix search icon */
.live-search-bar input.search-icon {
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXNlYXJjaCI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iOCIvPjxwYXRoIGQ9Im0yMSAyMS00LjMtNC4zIi8+PC9zdmc+');
}

/* On typing: loading circles animation */
.live-search-bar input.loading-icon {
	background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%20200%22%3E%3Ccircle%20fill%3D%22%2301EE88%22%20stroke%3D%22%2301EE88%22%20stroke-width%3D%2215%22%20r%3D%2215%22%20cx%3D%2240%22%20cy%3D%2265%22%3E%3Canimate%20attributeName%3D%22cy%22%20calcMode%3D%22spline%22%20dur%3D%222%22%20values%3D%2265%3B135%3B65%3B%22%20keySplines%3D%22.5%200%20.5%201%3B.5%200%20.5%201%22%20repeatCount%3D%22indefinite%22%20begin%3D%22-.4%22%3E%3C/animate%3E%3C/circle%3E%3Ccircle%20fill%3D%22%2301EE88%22%20stroke%3D%22%2301EE88%22%20stroke-width%3D%2215%22%20r%3D%2215%22%20cx%3D%22100%22%20cy%3D%2265%22%3E%3Canimate%20attributeName%3D%22cy%22%20calcMode%3D%22spline%22%20dur%3D%222%22%20values%3D%2265%3B135%3B65%3B%22%20keySplines%3D%22.5%200%20.5%201%3B.5%200%20.5%201%22%20repeatCount%3D%22indefinite%22%20begin%3D%22-.2%22%3E%3C/animate%3E%3C/circle%3E%3Ccircle%20fill%3D%22%2301EE88%22%20stroke%3D%22%2301EE88%22%20stroke-width%3D%2215%22%20r%3D%2215%22%20cx%3D%22160%22%20cy%3D%2265%22%3E%3Canimate%20attributeName%3D%22cy%22%20calcMode%3D%22spline%22%20dur%3D%222%22%20values%3D%2265%3B135%3B65%3B%22%20keySplines%3D%22.5%200%20.5%201%3B.5%200%20.5%201%22%20repeatCount%3D%22indefinite%22%20begin%3D%220%22%3E%3C/animate%3E%3C/circle%3E%3C/svg%3E');
}

.dt-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

#wawp-logs-table td {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	max-width: 120px;
	text-align: start;
}

.filter-bar {
	display: flex;
	gap: .75rem;
	align-items: stretch;
	width: 100%;
	flex-wrap: wrap;
}

.filter-pill {
	display: flex;
	align-items: center;
	background: #fcfcfc;
	border: 1px solid #dbdfe9;
	border-radius: 8px;
	padding: .5rem;
	gap: 6px;
	font-size: 13px;
	color: var(--text);
	position: relative;
	cursor: pointer;
}

.pill-icon {
	font-size: 16px !important;
	color: var(--text);
	opacity: .5;
	display: none;
}

.pill-close {
	border: none;
	background: var(--light-bg);
	cursor: pointer;
	padding: 0 !important;
	border-radius: 999px;
	display: none;
}


.pill-label {
	font-weight: 500;
	color: var(--heading);
	white-space: nowrap;
}

.pill-value {
	font-weight: 500;
	color: var(--wawp-green-hover);
	white-space: nowrap;
}


.pill-sep {
	color: var(--wawp-green);
	user-select: none;
	font-size: 18px;
	line-height: 1;
	font-weight: 500;
}

.pill-arrow {
	border: none;
	cursor: pointer;
	width: 100%;
	text-align: end;
	background: none;
}

.pill-arrow:hover {
	color: #333;
}

.filter-popup {
	position: absolute;
	top: calc(100% + 4px);
	inset-inline-start: 0;
	background: #fff;
	border: var(--border);
	border-radius: 8px;
	padding: 12px;
	box-shadow: var(--lg-shadow);
	font-size: 13px;
	display: none;
	z-index: 9999;
	min-width: 220px;
}

#wawp-items-select,
#wawp-date-operator,
#wawp-date-unit {
	width: 100%;
	min-height: 36px;
	border-radius: 8px;
	border: var(--border);
	box-shadow: var(--sm-shadow);
}

#wawp-date-value {
	margin: 8px 0 !important;
}

.popup-btn {
	display: block;
	width: 100%;
	padding: 8px;
	text-align: center;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	background: var(--wawp-green);
	color: #fff;
	margin-top: 12px;
	min-height: 36px;
}

.clear-link {
	color: var(--text);
	font-weight: 500;
	cursor: pointer;
	display: flex;
	background: var(--light-bg);
	align-items: center;
	padding: 6px;
	border: var(--border);
	border-radius: 8px;
	box-shadow: var(--sm-shadow);
	gap: 6px;
}


.wawp-status {
	padding: 2px 6px;
	cursor: pointer;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	border-radius: .375rem;
}

#wawp-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	inset-inline-start: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
}

#wawp-modal-content-wrap {
	background: #fff;
	margin: 10% auto;
	padding: 24px;
	border: var(--border);
	width: 80%;
	max-width: 600px;
	position: relative;
	border-radius: 12px;
	box-shadow: var(--xl-shadow);
	color: var(--text);
	font-size: 14px;
	line-height: 1.8;
	padding-inline-end: 48px;
}

#wawp-modal-close {
	position: absolute;
	top: 24px;
	inset-inline-end: 24px;
	cursor: pointer;
	font-size: 36px;
	line-height: .5;
	color: var(--text);
	opacity: .5;
}

#wawp-logs-table_wrapper .bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 24px;
}

.dt-column-title {
	white-space: nowrap;
}

.dt-orderable-asc.dt-orderable-desc {
	text-align: start !important;
}

.dt-orderable-asc.dt-orderable-desc.dt-ordering-asc {
	max-width: 36px;
}

.dt-orderable-asc.dt-orderable-desc.dt-ordering-asc .dt-column-order {
	display: none;
}

.dt-orderable-asc.dt-orderable-desc .dt-column-order {
	display: none;
}

.dt-paging-button {
	border-radius: 8px !important;
	font-weight: 700 !important;
}

.dt-paging-button.current {
	opacity: 1;
	border: var(--border) !important;
	box-shadow: var(--sm-shadow);
	background: var(--light-bg) !important;
}

#wawp-logs-table {
	border: var(--border);
	box-shadow: var(--sm-shadow);
	border-radius: 8px;
	background: #fff;
}

div.dt-container.dt-empty-footer tbody>tr:last-child>* {
	border-bottom: 0 !important;
}

#wawp-columns-boxes {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#wawp-status-boxes {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#wawp-msgtype-boxes {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Toggle (switch) style checkboxes */
.switch-block {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;

}

.switch-block label {
	font-size: 13px;
	font-weight: 400;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	max-width: calc(100% - 44px);
	text-align: start;
	width: calc(100% - 44px);
}

.switch {
	position: relative;
	display: inline-block;
	width: 36px !important;
	height: 18px;
}

.switch input {
	display: none;
}

.slider {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	bottom: 0;
	background-color: #ccc;
	border-radius: 34px;
	cursor: pointer;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 14px;
	width: 14px;
	inset-inline-start: 2px;
	bottom: 2px;
	background-color: #fff;
	border-radius: 50%;
	transition: .4s;
}

input:checked+.slider {
	background-color: #2aac5a;
}

input:checked+.slider:before {
	transform: translateX(18px);
}

.rtl input:checked+.slider:before {
	transform: translateX(-18px);
}




/* ---------------------------------------------
	Grouped Fields (label + input)
--------------------------------------------- */
.wawp-settings-wrap {
	margin-top: 48px;
}

.nav-tab-wrapper {
	display: flex;
	border: 0 !important;
	margin-top: 0 !important;
	font-weight: 600;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	font-size: 14px;
	align-items: center;
	background-color: #e5e7eb;
	border-radius: .75rem;
	padding: .25rem !important;
	gap: .25rem;
	width: fit-content;
}

.nav-tab-wrapper>* {
	flex: 1;
}

.wawp-settings-tab-content,
.checkout-tab-content {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* Sidebar / Vertical Tabs Layout */
.wawp-settings-layout {
	display: flex;
	flex-direction: row;
	gap: 2rem;
	align-items: flex-start;
	margin-top: 1.5rem;
}

.wawp-settings-layout .nav-tab-wrapper.vertical {
	flex-direction: column;
	text-align: start;
	align-items: start;
	width: 280px;
	height: fit-content;
	overflow-x: hidden;
	overflow-y: auto;
	white-space: normal;
	background-color: #e5e7eb;
}

.wawp-settings-layout .nav-tab-wrapper.vertical .nav-tab {
	width: 100%;
	border: 0;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	justify-content: flex-start;
}

.wawp-settings-layout .nav-tab-wrapper.vertical .nav-tab {
	width: 100%;
	margin: 0;
	border: 1px solid #DBDFE9;
	background: #FFF;
	border-radius: 0.75rem;
	padding: 10px 16px;
	font-weight: 600;
	color: var(--heading);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	box-sizing: border-box;
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}

.wawp-settings-layout .nav-tab-wrapper.vertical .nav-tab:hover {
	border-color: var(--primary-color);
	background: #fdfdfd;
}

.wawp-settings-layout .nav-tab-wrapper.vertical .nav-tab-active,
.wawp-settings-layout .nav-tab-wrapper.vertical .nav-tab-active:hover {
	background-color: #fff;
	color: #000;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wawp-settings-layout .nav-tab-wrapper.vertical .nav-tab .wawp-tab-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.wawp-settings-layout .wawp-settings-content {
	flex: 1;
	min-width: 0;
	/* Prevent overflow */
}

@media (max-width: 960px) {
	.wawp-settings-layout {
	flex-direction: column;
	gap: 1.25rem;
	}

	.wawp-settings-layout .nav-tab-wrapper.vertical {
	width: 100%;
	min-width: 100%;
	flex-direction: row;
	overflow-x: auto;
	padding-bottom: 5px;
	}

	.wawp-settings-layout .nav-tab-wrapper.vertical .nav-tab {
	width: auto;
	white-space: nowrap;
	}
}

.wawp-sidenav {
	display: flex;
	flex-direction: column;
	width: 180px;
	min-width: 180px;
	position: sticky;
	top: 104px;
	margin-inline-start: -200px;
	height: fit-content;
}

.wawp-sidenav a {
	display: flex;
	align-items: center;
	color: var(--heading);
	padding: .5rem 1rem;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	border-inline-start: 2px solid #e1e6ec;
}

.wawp-sidenav a:hover {
	color: var(--heading);
	border-color: #cad3dc;
}

.wawp-sidenav-lnk.active,
.wawp-sidenav-lnk.active:hover {
	color: #0b7;
	border-color: #1FC16B;
}

.wawp-otp-login-settings-wrap {
	display: flex;
	gap: 1.25rem;
}

.wawp-tab {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-settings-group {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
}

.wawp-contact-card .wawp-settings-group {
	flex-direction: column;
	align-items: start;
	gap: .5rem;
}

.wawp-upload-wrapper {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	justify-content: space-between;
	padding: .75rem;
	border-radius: 8px;
	width: 100%;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
}

.wawp-upload-wrapper img {
	height: 40px;
	width: 40px;
	min-width: 40px;
	object-fit: contain;
	border: 1px solid #e3e3e3;
	border-radius: .25rem;
}

.wawp_remove_logo_button {
	padding: 0;
	line-height: 1;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	box-shadow: none;
	color: #fff;
	background: rgb(142, 11, 33);
	border-radius: 99rem;
	aspect-ratio: 1/1;
	width: 20px;
	min-width: 20px;
	height: 20px;
}



/* ---------------------------------------------
	Sub-fields (like each contact in "Multiple Contacts")
--------------------------------------------- */

.wawp-tab {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

#wawp-repeatable-fields {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-repeatable-group {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: .75rem;
	border-radius: 8px;
	width: 100%;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
}

.wawp-contact-expanded,
.wawp-contact-collapsed {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-contact-collapsed {
	flex-direction: row;
	align-items: center;
}

.wawp-card-btn {
	text-align: end;
}

.wawp-field .wawp-whatsapp-number {
	width: 100%;
}

#wawp-social-fields {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-social-group {
	align-items: end;
	gap: .75rem;
	padding: .75rem;
	border-radius: 8px;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
}

.wawp-remove-social {
	width: fit-content;
}

/* ---------------------------------------------
	Upload Wrapper (avatars, images, etc.)
--------------------------------------------- */



/* ---------------------------------------------
	Action Buttons (Remove, Add Another, etc.)
--------------------------------------------- */



/* ---------------------------------------------
	Social Icon Groups
--------------------------------------------- */



/* ---------------------------------------------
	"Custom Switch" style toggles
--------------------------------------------- */



/* ---------------------------------------------
	Page Conditions Fields
--------------------------------------------- */



/* ---------------------------------------------
	Display Settings - radio & toggles alignment
--------------------------------------------- */



/* ---------------------------------------------
	Responsive (for smaller screens)
--------------------------------------------- */
@media (max-width: 768px) {}




/****************************/
/********** Essentials ******/
/****************************/
#wpcontent {
	padding: 0;
}

#wpbody {
	background: #f0f0f1;
}

#wpbody-content {
	font-family: 'Bricolage Grotesque', serif;
	padding-bottom: 0;
	float: inherit;
}

#wpfooter {
	display: none !important;
}

.new {
	background: #d2fbd0;
	padding: 8px 12px 0px 12px;
	border-radius: 6px;
	font-weight: 700;
	color: #0d5f07;
	line-height: 1.2;
	font-size: 14px;
	direction: ltr;
}

.notification-form {
	font-family: inherit;
	text-align: start;
	direction: inherit;
}

.notification-form.arabic {
	font-family: 'IBM Plex Sans Arabic', sans-serif !important;
	text-align: start;
}

.notification-form.english {
	font-family: inherit;
	text-align: start;
	direction: ltr;
}

.notification-form {
	display: flex;
	padding: 16px;
	flex-direction: column;
	align-items: flex-start;
	border-radius: 16px;
	background: #FFF;
	box-shadow: 0.0625rem 0rem 0rem 0rem rgba(0, 0, 0, .13) inset, -0.0625rem 0rem 0rem 0rem rgba(0, 0, 0, .13) inset, 0rem -0.0625rem 0rem 0rem rgba(0, 0, 0, .17) inset, 0rem 0.0625rem 0rem 0rem hsla(0, 0%, 80%, .5) inset;
}

.notification {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
}

.heading-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	align-self: stretch;
	margin-bottom: 5px;
	margin-top: 5px;
}

.form {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	align-self: stretch;
	background: #FFF;
}

.dropdowns {
	display: flex;
	align-items: center;
	justify-content: end;
	padding: 8px;
	background: #f7f7f7;
	border-radius: 0 0 6px 6px;
	margin-bottom: 16px;
	border: 1px solid #e3e3e3;
	border-top: 0;
	gap: 8px;
}




.stats {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--heading);
	line-height: 1;
}

textarea {
	display: block;
	text-align: start;
	cursor: text;
	overflow-wrap: break-word;
	box-sizing: border-box;
	margin: 0;
	border: none;
	padding: 12px 40px;
	white-space: pre-wrap;
	outline: 0;
	width: 100%;
	height: 140px;
	overflow: auto;
	resize: none;
	border-radius: 8px;
	line-height: 1.4;
}

textarea:focus {
	border-color: trasparent !important;
	box-shadow: none !important;
}

.notification-title {
	position: relative;
	display: flex;
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	margin: 0 !important;
}

.tooltip-text {
	visibility: hidden;
	width: 200px;
	/* Adjust the width as needed */
	background-color: #044;
	color: #fff;
	text-align: center;
	font-size: 12px;
	border-radius: 5px;
	padding: 5px 10px;
	position: absolute;
	z-index: 1;
	bottom: 125%;
	/* Position the tooltip above the text */
	inset-inline-start: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 0.3s;
	white-space: wrap;
}

.notification-title:hover .tooltip-text {
	visibility: visible;
	opacity: 1;
}

.tooltip-text::after {
	content: "";
	position: absolute;
	top: 100%;
	inset-inline-start: 50%;
	margin-inline-start: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #044 transparent transparent transparent;
}

.notification-form.hint {
	background: transparent;
	box-shadow: none;
	padding: 0;
	margin: 16px 0;
	justify-content: space-between;
	align-items: center;
	display: flex;
	gap: 24px;
	flex: 0 1 100%;
	flex-direction: row;
}

.notification-form.phone {
	flex: 0 1 46%;
	margin-inline-end: 16px;
}

.hint-title {
	width: fit-content;
	font-size: 20px;
	font-weight: 700 !important;
}

.hint-desc {
	width: fit-content;
	color: #616161;
	font-size: 13px;
	font-weight: 400;
}

body {
	background-color: #f0f0f1;
}

#wawp-wrap h1 {
	margin: 0 0 15px;
	font-weight: 700;
}

#wawp-wrap p {
	margin: 0;
}

.wp-core-ui .button,
.wp-core-ui .button-primary,
.wp-core-ui .button-secondary {
	display: initial !important;
}

#wawp-wrap .form-wrapper {
	display: flex;
	padding: 0;
	background: transparent;
	gap: 40px;
}

#wawp-wrap .notice p {
	margin: .5em 0;
}

.wawp-panel-footer {
	margin-top: 24px;
}

.button-primarywa {
	border-radius: 8px;
	box-sizing: border-box;
	display: block;
	padding: 12px 24px;
	cursor: pointer;
	width: 100%;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	border: 0;
	background: #0b7;
	box-shadow: 0rem -0.0625rem 0rem 0.0625rem rgba(0, 0, 0, .25) inset, 0rem 0rem 0rem 0.0625rem #0b7 inset, 0rem 0.03125rem 0rem 0.09375rem hsla(0, 0%, 100%, .25) inset;
	color: #fff;
	line-height: 1.3;
}

.button-primarywa:hover {
	background-color: #0b3;
}

.log-msg div {
	max-height: 150px;
	overflow-x: auto;
}


img {
	vertical-align: middle;
}

svg {
	vertical-align: middle;
}

.notice {
	display: none !important;
}

.notice.wawp-admin-notice {
	display: block !important;
	background: #FFF;
	border: 1px solid #DBDFE9;
	/* Standard card border */
	border-inline-start-width: 4px;
	/* Maintain standard WP notice accent on inline-start */
	box-shadow: 0px 2px 4px 0px rgba(16, 17, 26, 0.03);
	/* Matching wawp-card shadow */
	border-radius: .75rem;
	/* Matching wawp-card radius */
	padding: 16px 20px;
	/* More generous padding */
	margin: 20px 0 15px !important;
	/* Spacing */
	font-size: 14px;
	color: #4B5675;
	/* Matching var(--text) */
	position: relative;
}

.notice.wawp-admin-notice p {
	margin: 0 !important;
	font-weight: 500;
}

/* Specific Border Colors for Types */
.notice.notice-success.wawp-admin-notice {
	border-inline-start-color: #22c55e;
	/* Wawp Green */
}

.notice.notice-error.wawp-admin-notice {
	border-inline-start-color: #d63638;
	/* Standard WP Red */
}

.notice.notice-info.wawp-admin-notice {
	border-inline-start-color: #72aee6;
	/* Standard WP Blue */
}

@media screen and (max-width: 600px) {
	#wpbody {
	padding-top: 0;
	}

	.hint-inf {
	flex-direction: column;
	text-align: center;
	padding-top: 16px !important;
	}

	.desc {
	line-height: 1.4 !important;
	}

	.search-container {
	display: none;
	}

	.wp-list-table.widefat.fixed.striped.table-view-list.posts.table-message-logs {
	display: none;
	}

	.hint-inf {
	display: none !important;
	}

	.hint-inf.mob {
	display: flex !important;
	}
}

/* country code */

#wawp-settings-form .form-table {
	margin-top: 16px;
}

#wawp-settings-form tbody {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#wawp-settings-form tr {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: #fff;
	border: var(--border);
	border-radius: 12px;
	padding: 24px;
	box-shadow: var(--sm-shadow);
	flex-wrap: wrap;
	scroll-margin-top: 74px;
}

#wawp-settings-form th,
#wawp-settings-form td {
	padding: 0 !important;
	margin: 0 !important;
	min-width: fit-content;
	width: 100%;
}

#wawp-settings-form th {
	font-size: 1.3em !important;
	line-height: 1.2 !important;
	color: var(--heading) !important;
}

#county-code {
	display: flex;
	align-items: center;
	gap: 6px;
}

.region-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
	font-size: 16px !important;
	margin: 0 !important;
	font-weight: 500 !important;
	cursor: pointer;
}

.country-label {
	display: flex;
	align-items: center;
	gap: .375rem;
	box-sizing: border-box;
	padding: 12px;
	border-radius: 8px;
	background-color: #f8f8f8;
	cursor: pointer;
	color: var(--text);
	border: var(--border);
	width: calc((100% - 61px) / 5);
	white-space: nowrap;
	cursor: pointer;
	overflow: hidden;
	flex: 1 1 auto;
}

.country-label:hover {
	background-color: #f1f1f1;
}

.country-label.active {
	background-color: #d6ffea;
	color: var(--heading);
	border: 1px solid var(--wawp-green);
}

.country-label .checkmark {
	display: none;
	color: green;
	margin-inline-start: auto;
}

.country-label.active .checkmark {
	display: inline;
}

.country-label.active .ri-close-line {
	display: inline-flex;
	font-size: 14px !important;
}

.country-label .ri-close-line {
	display: none;
}

.country-name {
	width: inherit;
}

.country-regions {
	gap: 1px !important;
	display: flex;
	flex-direction: column;
	background: #f1f1f4;
}

.region-group {
	display: flex;
	flex-direction: column;
	background: #fff;
}


.country-checklist {
	display: flex;
	flex-wrap: wrap;
	gap: .625rem;
	padding-bottom: 1.5rem;
}

#country-flag {
	width: 24px;
	height: 18px;
	border-radius: 4px;
}

.country-flag {
	width: 24px;
	height: 18px;
	border-radius: 4px;
}

.search-bar {
	display: flex;
	gap: .625rem;
	align-items: stretch;
	margin-bottom: 24px;
	padding: 24px 0;
	border-top: var(--border);
	border-bottom: var(--border);
}

.img-flag {
	margin-inline-end: 8px !important;
	margin-inline-start: 0 !important;
	width: 24px !important;
	height: 18px !important;
}

.saved-successfully .ui-dialog-buttonset button {
	background-color: #0b7;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	display: block;
	width: 100%;
	margin: 0 !important;
	min-height: 36px !important;
}

.saved-successfully .ui-dialog-buttonset button:hover {
	background-color: #0b3;
	/* Darker green on hover */
}

.saved-successfully .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable {
	position: absolute !important;
	height: auto !important;
	top: 50% !important;
	inset-inline-start: 50% !important;
	background: #fff;
	padding: 24px;
	border: var(--border);
	border-radius: 12px;
	box-shadow: var(--xl-shadow);
}

#settings-saved-modal {
	min-height: 20px !important;
}

#settings-saved-modal p {
	font-size: 14px !important;
	font-weight: 600;
	text-align: center;
}

.ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle {
	display: none;
}

.ui-dialog {
	position: absolute !important;
	height: auto !important;
	top: 80px !important;
	inset-inline-start: auto !important;
	inset-inline-end: 16px !important;
	background: #fff;
	padding: 24px;
	border: var(--border);
	border-radius: 12px;
	box-shadow: var(--xl-shadow);
}


#country-dialog {
	min-height: auto !important;
}

.ui-dialog-buttonpane {
	margin-top: 12px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.ui-dialog-buttonpane .ui-dialog-buttonset {
	float: inherit !important;
}

#wawp-phone-fields-wrapper {
	display: flex;
	flex-direction: column;
}

.button.wawp-remove-phone-field {
	border: 1px solid #fca5a5 !important;
	background: #fef2f2 !important;
	box-shadow: var(--sm-shadow);
	border-radius: 8px;
	color: #ef4444 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	aspect-ratio: 1/1;
}

.button.wawp-remove-phone-field:hover {
	border-color: #dc2626 !important;
	color: #dc2626 !important;
	background: #fee2e2 !important;
}

@media screen and (max-width: 782px) {
	.wp-tab-panels {
	padding: 24px;
	margin-bottom: 40px;
	}

	.notification-form.english.hint {
	display: flex;
	margin: 0;
	padding: 16px 0 !important;
	flex-direction: column;
	}

	.country-selected {
	width: 100%;
	}

	td {
	white-space: inherit;
	}

	.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.saved-successfully.ui-dialog-buttons.ui-draggable.ui-resizable {
	top: 35% !important;
	inset-inline-start: 25% !important;
	}
}

/*************************************/
/** Final (Single) .wawp-switch block **/
/*************************************/

.wawp_field {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	width: 100%;
}

.field_description {
	padding: .75rem;
	background: var(--light-bg);
	border: var(--border);
	border-radius: .5rem;
}

.wawp-textarea {
	background: var(--light-bg);
	border: var(--border);
	padding: .75rem 1rem;
}

/*
	Removed earlier duplicates of .wawp-switch.
	Keeping this final one with a larger toggle style.
*/
.switch-card {
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.switch-header_row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.switch-card-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--heading);
	display: flex;
	align-items: center;
	gap: .5rem;
}

.wawp-switch {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 20px;
	cursor: pointer;
}

.wawp-switch input {
	position: absolute !important;
	opacity: 0 !important;
	width: 100% !important;
	height: 100% !important;
	cursor: pointer !important;
	z-index: 2 !important;
	margin: 0 !important;
	padding: 0 !important;
	inset: 0 !important;
}

.wawp-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 999px;
	width: 36px;
	height: 20px;
	pointer-events: none;
	/* Let clicks pass through to the input */
}

.wawp-slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	inset-inline-start: 2px;
	bottom: 2px;
	background-color: #fff;
	transition: .4s;
	border-radius: 50%;
	box-shadow: 0 4px 4px 0 rgb(0, 0, 0, 0.05);
}

.wawp-switch input:checked+.wawp-slider {
	background-color: #1FC16B;
	/* Green when checked */
}

.wawp-switch input:focus+.wawp-slider {
	box-shadow: 0 0 1px #28a745;
}

.wawp-switch input:checked+.wawp-slider:before {
	transform: translateX(16px);
}

.rtl .wawp-switch input:checked+.wawp-slider:before {
	transform: translateX(-16px);
}

/* Additional styles for better alignment */
.wawp-delay-container {
	display: flex;
	align-items: center;
}

.wawp-delay-value-input {
	width: 80px;
	padding: 5px;
	margin-inline-end: 5px;
}

.wawp-delay-unit-select {
	padding: 5px;
	width: auto;
}

/* Style for the Add Notification button */
.wawp-add-notification-button {
	margin-top: 10px;
}

/* Style for the Upload Image button */
.wawp-media-upload-button {
	margin-inline-start: 10px;
}

/* Style for action buttons */
.wawp-actions button {
	margin-inline-end: 5px;
}

/* Style for the Global AWP Instance selection */
.wrap h1+form {
	margin-bottom: 20px;
}


/* Style adjustments for the image preview */
.wawp-message img {
	margin-top: 10px;
	max-width: 200px;
	height: auto;
}

/* Responsive Design Enhancements */
@media screen and (max-width: 768px) {
	.wawp-delay-container {
	flex-direction: column;
	align-items: flex-start;
	}

	.wawp-delay-value-input {
	width: 100%;
	margin-inline-end: 0;
	margin-bottom: 5px;
	}

	.wawp-delay-unit-select {
	width: 100%;
	}
}

/* Enhanced Table Styling */
.widefat th,
.widefat td {
	vertical-align: middle;
}

.wawp-message-text {
	white-space: pre-wrap;
}

.wawp-message-image {
	border-radius: 4px;
	border: 1px solid #ddd;
	padding: 2px;
}


.wawp-toggle-files-form .form-table th {
	width: 200px;
}

/* wawp-otp-admin.css */

#wawp-otp-shortcode-container {
	width: fit-content;
	background: #f0f0f0;
	border-radius: .375rem;
}

#wawp-otp-shortcode {
	font-size: 14px;
	padding-inline: 12px;
}


#tab-checkout .wawp-card tr {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: column;
	gap: 8px;
}

#tab-checkout .wawp-card th,
#tab-checkout .wawp-card td {
	width: 100%;
	padding: 0;
	margin: 0;
}

.wawp-option-row {
	display: flex;
	gap: 1.25rem;
}



.wp-picker-container .wp-color-result.button {
	margin: 0;
}

#mang-logins {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	gap: 1.25rem !important;
}

#mang-logins .wawp-setting-card {
	background: #fff;
	border-radius: .75rem;
	border: 1px solid #e3e3e3;
	overflow: hidden;
}

#mang-logins .wawp-setting-header {
	padding: 1.5rem;
}

.wawp-login-methods {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-setting-card {
	border-radius: 0.5rem;
	background: rgb(249, 250, 251);
	color: var(--heading);
	border: 1px solid rgba(74, 85, 101, 0.1);
}

.wawp-setting-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	font-weight: 600;
	padding: .75rem;
}

.wawp-setting-content {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 0 0 8px 8px;
	border-top: var(--border);
	padding: .75rem;
	gap: .75rem;
}

.wawp-template-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
}


/* Switch Buttons (separate from .wawp-switch used above) */
.wawp-toggle-switch input[type="checkbox"] {
	display: none;
}

.wawp-toggle-switch label {
	position: relative;
	cursor: pointer;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 34px;
	width: 36px;
	height: 20px;
}

.wawp-toggle-switch label::before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	inset-inline-start: 2px;
	bottom: 2px;
	background-color: #fff;
	transition: .4s;
	border-radius: 50%;
	box-shadow: 0 4px 4px 0 rgb(0, 0, 0, 0.05);
}

.wawp-toggle-switch input[type="checkbox"]:checked+label {
	background-color: #1FC16B;
}

.wawp-toggle-switch input[type="checkbox"]:checked+label::before {
	transform: translateX(16px);
}

.rtl .wawp-toggle-switch input[type="checkbox"]:checked+label::before {
	transform: translateX(-16px);
}

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

.wawp-login-method-radio {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.wawp_radio {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .75rem;
	border: var(--border);
	border-radius: .5rem;
	transition: all .15s ease;
	cursor: pointer;
	color: var(--text);
	line-height: 1;
}

.wawp_radio:has(input:checked) {
	color: var(--heading);
	border-color: #b0b0b0;
	background: #f3f3f3;
}

.disabled-method {
	opacity: .5;
	background: var(--light-bg);
}

input[type="radio"] {
	margin-right: 0;
	margin-bottom: -4px;
}

input[type="radio"]:checked {
	background: #0b7;
}

input[type="radio"]:checked::before {
	background: #fff;
}

/* Remove Redirect Rule Button */
.wawp_remove_rule {
	max-height: 48px;
	border: 1px solid #fca5a5 !important;
	background: #fef2f2 !important;
	box-shadow: var(--sm-shadow);
	border-radius: 8px !important;
	color: #ef4444 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	aspect-ratio: 1/1;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
}

.wawp_remove_rule:hover {
	border-color: #dc2626 !important;
	color: #dc2626 !important;
	background: #fee2e2 !important;
}

.wawp_remove_rule svg {
	width: 18px !important;
}

#wawp_redirect_rules_container {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

/* Redirect Rules Container */
.wawp_redirect_rule {
	display: flex;
	align-items: stretch;
	gap: .75rem;
	padding: .75rem;
	border-radius: 0.5rem;
	background: rgb(249, 250, 251);
	border: 1px solid rgba(74, 85, 101, 0.1);
}

.wawp_redirect_rule .rule-fields {
	flex: 1;
	display: flex;
	gap: 12px;
}

.wawp_redirect_rule select.wawp_redirect_role,
.wawp_redirect_rule input.wawp_redirect_url {
	flex: 1;
}


.txt-setting {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	position: relative;
}

.txt-setting input {
	width: 100%;
}


.txt-setting p {
	margin: 0 !important;
	font-size: 12px !important;
	color: var(--text);
	opacity: .8;
}

.toggled-arrow.rotated {
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.00) inset, 0px 0px 0px 0px rgba(0, 0, 0, 0.00) inset, 0px 0px 0px 1px #D8DEE4 inset, 0px 1px 1px 0px rgba(16, 17, 26, 0.16) inset;
}


/* Submit Button */
.wawp-otp-settings-wrap .submit button {
	background-color: #2980b9;
	color: #fff;
	border: none;
	padding: 12px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s;
}

.wawp-otp-settings-wrap .submit button:hover {
	background-color: #1c5980;
}



/* General Modal Styling */
#wawp-custom-field-modal {
	position: fixed;
	top: 0;
	inset-inline-start: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	/* Ensure this is high enough */
	overflow-y: auto;
	backdrop-filter: blur(5px);
}

#wawp-custom-field-modal .modal-content {
	background-color: #fff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	position: relative;
	width: 90%;
	max-width: 650px;
	box-sizing: border-box;
	max-height: 90vh;
	overflow-y: auto;
	animation: fadeInScale 0.3s ease-out forwards;
	z-index: 100000;
	/* Ensure modal content is above other things too */
}

@keyframes fadeInScale {
	from {
	opacity: 0;
	transform: scale(0.9);
	}

	to {
	opacity: 1;
	transform: scale(1);
	}
}

#wawp-custom-field-modal .close-button {
	position: absolute;
	top: 15px;
	inset-inline-end: 15px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #888;
	transition: color 0.2s ease, transform 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
	border-radius: 50%;
}

#wawp-custom-field-modal .close-button:hover {
	color: #333;
	transform: rotate(90deg);
}

#wawp-custom-field-modal .close-button i {
	width: 24px;
	height: 24px;
}

#wawp-custom-field-modal svg {
	height: 16px;
}

/* Input/Textarea Styling */
#wawp-custom-field-modal .wawp-input,
#wawp-custom-field-modal .wawp-textarea {
	/* New classes for consistency */
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 15px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#wawp-custom-field-modal .wawp-input:focus,
#wawp-custom-field-modal .wawp-textarea:focus {
	border-color: #1fc16b;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
	outline: none;
}

#wawp-custom-field-modal .form-group .description {
	font-style: italic;
	font-size: 0.85em;
	color: #888;
	margin-top: 8px;
	line-height: 1.4;
}

#wawp-custom-field-modal .wawp-error-message {
	color: #dc3232;
	font-size: 0.8em;
	margin-top: 5px;
	display: none;
}

/* --- Custom Select (Field Type) Styling --- */
.wawp-custom-select-wrapper {
	position: relative;
	width: 100%;
}

.wawp-custom-select-wrapper select.wawp-select {
	/* Hide the original select box but keep its value */
	display: none !important;
	/* Force hide to prevent interference */
	position: absolute;
	/* Keep it in the flow for validation purposes */
	opacity: 0;
	width: 100%;
	height: 100%;
	top: 0;
	inset-inline-start: 0;
	z-index: 10;
	/* Make it clickable, but only for value detection */
	pointer-events: none;
	/* Prevent mouse events on native select */
}

.wawp-select-display {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background-color: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
	position: relative;
	z-index: 5;
	/* Above options list when closed */
}

.wawp-custom-select-wrapper.active .wawp-select-display {
	border-color: #1fc16b;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
	border-end-start-radius: 0;
	border-end-end-radius: 0;
}

.wawp-select-display .wawp-selected-icon {
	margin-inline-end: 8px;
	display: flex;
	align-items: center;
	color: #666;
}

.wawp-select-display .wawp-selected-icon i {
	width: 18px;
	height: 18px;
}

.wawp-select-display .wawp-selected-text {
	flex-grow: 1;
	font-size: 15px;
	color: #333;
}

.wawp-select-display .wawp-select-arrow {
	margin-inline-start: 10px;
	display: flex;
	align-items: center;
	color: #999;
	transition: transform 0.2s ease;
}

.wawp-select-display .wawp-select-arrow i {
	width: 18px;
	height: 18px;
}

.wawp-custom-select-wrapper.active .wawp-select-arrow {
	transform: rotate(180deg);
}

.wawp-select-options {
	position: absolute;
	top: 100%;
	/* Position below the display */
	inset-inline-start: 0;
	width: 100%;
	background-color: #fff;
	border: 1px solid #ddd;
	border-top: none;
	/* No top border, blends with display */
	border-end-start-radius: 6px;
	border-end-end-radius: 6px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	list-style: none;
	padding: 0;
	margin: 0;
	/* Remove default margin */
	max-height: 200px;
	overflow-y: auto;
	z-index: 100;
	/* Ensure it's above other elements */
	display: none;
	/* Hidden by default */
}

.wawp-select-options li {
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: #333;
	transition: background-color 0.2s;
	cursor: pointer;
}

.wawp-select-options li:hover {
	background-color: #f0f0f0;
}

.wawp-select-options li.selected {
	background-color: #e6f7ff;
	/* Light blue for selected item */
	color: #1fc16b;
	font-weight: 600;
}

.wawp-select-options li i {
	width: 18px;
	height: 18px;
	color: #666;
}

.wawp-select-options li.selected i {
	color: #1fc16b;
}

/* --- Toggle Switch Button Styling --- */
.wawp-toggle-switch-group {
	margin-top: 5px;
}

.wawp-switch-label {
	position: relative;
	display: inline-flex;
	/* Use inline-flex to align with text/icon */
	align-items: center;
	cursor: pointer;
	font-weight: normal;
	color: #555;
	gap: 8px;
	/* Space between switch and text/icon */
	padding-inline-start: 48px;
	/* Space for the slider */
	min-height: 28px;
	/* Ensure enough height for the switch */
}

.wawp-toggle-checkbox {
	opacity: 0;
	width: 0;
	height: 0;
}

/* Adjust icon position for switch labels */
.wawp-switch-label .lucide-icon-inline {
	width: 18px;
	height: 18px;
	color: #666;
	margin-inline-start: 0;
	/* Reset margin */
}

.wawp-toggle-checkbox:checked~.lucide-icon-inline {
	/* Use general sibling combinator */
	color: #1fc16b;
	/* Change icon color when checked */
}

/* Styles for Lucide icons within the table (plus, edit, delete) */
.wawp-btn.secondary i[data-lucide] {
	width: 18px;
	height: 18px;
	vertical-align: middle;
	margin-inline-end: 5px;
}

.wawp-edit-custom-field,
.wawp-delete-custom-field {
	width: 32px !important;
	height: 32px !important;
	padding: 0 !important;
	min-width: auto;
}

.wawp-edit-custom-field svg,
.wawp-delete-custom-field svg {
	height: 18px !important;
}

.wawp-summary-actions.wawp-signup-fields {
	margin: auto;
	width: fit-content;
}

.wawp-admin-page #wawp-fields-sortable th:nth-child(2),
.wawp-admin-page #wawp-fields-sortable td:nth-child(2) {
	text-align: start !important;
}

.wawp-admin-page #wawp-fields-sortable th:last-child,
.wawp-admin-page #wawp-fields-sortable td:last-child {
	font-size: 12px;
	color: var(--text);
}

.wawp-summary-actions .wawp-btn i[data-lucide] {
	width: 16px;
	height: 16px;
	vertical-align: middle;
}

.wawp-fields-table th,
.wawp-fields-table td {
	vertical-align: middle;
	padding: 10px 8px;
}

.wawp-fields-table th:first-child,
.wawp-fields-table td:first-child {
	width: 40px;
	text-align: center;
}

.wawp-fields-table .wawp-drag-handle {
	color: #999;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	/* Make handle take full height of cell */
}

.wawp-fields-table .wawp-drag-handle i {
	width: 18px;
	height: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.wawp_redirect_rule {
	flex-direction: column;
	align-items: flex-start;
	}

	.wawp_redirect_rule .rule-fields {
	flex-direction: column;
	width: 100%;
	}

	.wawp_redirect_rule .rule-fields select.wawp_redirect_role,
	.wawp_redirect_rule .rule-fields input.wawp_redirect_url {
	width: 100%;
	}
}

#wawp_custom_css {
	/* Hide the original textarea as CodeMirror will replace it */
	display: none;
}

.CodeMirror {
	margin-top: 10px;
	border: 1px solid #bdc3c7;
	border-radius: 6px;
}


.wawp-form-group label {
	display: block;
	font-weight: bold;
	margin-bottom: 6px !important;
}

.wawp-form-group input {
	width: 100%;
}


.wawp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	text-transform: capitalize;
}

.wawp-table thead {
	background: #f7f7f7;
}

.wawp-table tr {
	border-top: 1px solid #E2E4E9;
	border-bottom: 1px solid #E2E4E9;
}

.wawp-table tr:last-child {
	border-bottom: none;
}

.wawp-table th,
.wawp-table td {
	text-align: start;
	max-width: 120px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 8px 6px 8px 12px;
	white-space: nowrap;
}


.status span {
	display: flex;
	min-width: 36px;
	padding: 2px 4px;
	justify-content: center;
	align-items: center;
	border-radius: 4px;
	text-align: center;
	font-size: 11px;
	font-style: normal;
	font-weight: 500;
	line-height: 100%;
	text-transform: capitalize;
	width: fit-content;
}

.wawp-status-online span {
	background: #AFFEBF;
	color: #014B40;
}

.wawp-status-offline span {
	background: #FED1D7;
	color: #8E0B21;
}

.wawp-status-reason {
	font-size: 11px;
	color: var(--text);
}

.dropdown {
	width: fit-content;
	margin: auto;
}

.dropdown-menu {
	display: none;
	position: absolute;
	min-width: 32px;
	z-index: 1000;
	gap: 4px;
	padding: 4px;
	border-radius: 12px;
	border: 1px solid #DBDFE9;
	background: #FFF;
	box-shadow: rgba(0, 0, 0, 0.28) 0px 8px 24px -8px, rgba(0, 0, 0, 0.05) 0px 8px 16px -4px, rgba(0, 0, 0, 0.05) 0px 3px 6px 0px, rgba(0, 0, 0, 0.05) 0px 2px 4px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.dropdown-menu.show {
	display: flex;
	flex-direction: column;
}

.dropdown-menu button {
	display: flex;
	cursor: pointer;
	flex-direction: row;
	align-items: center;
	justify-content: start;
	gap: 6px;
	border-radius: 8px;
	background: #fff;
	border: 0;
	color: var(--heading);
	padding: 8px 12px;
}

.dropdown-menu button:hover {
	background: #f7f7f7;
}

.delete-instance {
	color: rgba(142, 11, 33, 1) !important;
}

.delete-instance:hover {
	background: #fee1e6 !important;
}


.dropdown-toggle {
	cursor: pointer;
	background: none;
	border: none;
	color: var(--heading);
	border-radius: 6px;
}

.dropdown-toggle:hover {
	background: #F7F7F7;
}

.dropdown-toggle:focus {
	background: #F7F7F7;
	box-shadow: rgba(26, 26, 26, 0.12) -1px 0px 1px 0px inset, rgba(26, 26, 26, 0.12) 1px 0px 1px 0px inset, rgba(26, 26, 26, 0.2) 0px 2px 1px 0px inset;
}


/* Modal Styles */
.wawp-modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1000;
	/* Sit on top */
	inset-inline-start: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgba(0, 0, 0, 0.4);
	/* Black w/ opacity */
}

.wawp-modal-content {
	background-color: #fff;
	margin: 10% auto;
	padding: 24px;
	width: fit-content;
	border-radius: 12px;
	position: relative;
	box-shadow: var(--xl-shadow);
	min-width: 400px;
	max-width: 580px;
}

.wawp-close {
	position: absolute;
	top: 24px;
	inset-inline-end: 24px;
	font-size: 30px;
	line-height: 1;
	color: var(--text);
	cursor: pointer;
	opacity: .5;
}

.wawp-close:hover {
	opacity: 1;
}

#wawp-add-notification-form th,
#wawp-add-notification-form td {
	padding: 0 !important;
	margin: 0 !important;
}

#wawp-add-notification-form tr {
	display: flex;
	flex-direction: column;
	margin-bottom: 16px;
	gap: 8px;
}

#wawp-add-instance-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 20px;
}

#wawp-edit-instance-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 20px;
}

.wawp-loading-spinner {
	display: none;
	position: absolute;
	z-index: 999;
	top: 0;
	inset-inline-start: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.07);
	min-height: 80px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.wawp-loading-spinner .ri-loader-4-line {
	font-size: 28px !important;
	animation: spin .8s linear infinite;
	color: #22c55e;
}

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

	to {
	transform: rotate(360deg);
	}
}


/* Admin Page Container */

/* Admin Page Heading */
.wawp-admin-page h1 {
	margin-bottom: 20px;
	color: #2c3e50;
}

.wawp-admin-page h2 {
	font-size: var(--h3) !important;
	padding-top: 48px !important;
	border-bottom: var(--border);
	margin-top: 48px !important;
	margin-bottom: 24px !important;
	padding-bottom: 16px !important;
}

.wawp-admin-page tr {
	display: flex;
	align-items: center;
	justify-content: start;
	gap: 24px;
	min-height: 60px;
}

.wawp-admin-page .form-table th,
.wawp-admin-page .form-table td {
	padding: 0 !important;
	margin: 0 !important;
}

.wawp-admin-page .form-table th,
.wawp-admin-page .form-table td {
	width: 100%;
}


/* Select and Textarea Styling */
.wawp-admin-page .wawp-admin-select,
.wawp-admin-page .wawp-admin-textarea {
	width: 100%;
	max-width: 400px;
	padding: 8px;
	border: 1px solid #cccccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.wawp-admin-page .wawp-admin-textarea {
	resize: vertical;
}

/* Switch Button Styling for Admin (different from .wawp-switch) */
.wawp-admin-page .switch-button label {
	width: 50px;
	height: 28px;
}

.wawp-admin-page .switch-button label::after {
	width: 22px;
	height: 22px;
	inset-inline-start: 3px;
	top: 3px;
}

.wawp-admin-page .switch-button label i.bi-toggle-on,
.wawp-admin-page .switch-button label i.bi-toggle-off {
	font-size: 1em;
}

/* Description Text Styling */
.wawp-admin-page .description {
	font-size: 0.9em;
	color: #555555;
	margin-top: 5px;
}

/* OTP Method Radio Buttons */
.wawp-admin-page .form-check-inline {
	margin-inline-end: 20px;
	display: flex;
	align-items: center;
}

.wawp-admin-page .form-check-inline .form-check-label {
	margin-inline-start: 5px;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: transform 0.2s, background-color 0.2s;
	padding: 5px 10px;
	border-radius: 5px;
}

.wawp-admin-page .form-check-inline .form-check-label:hover {
	background-color: #f0f0f0;
	transform: scale(1.05);
}

.wawp-admin-page .form-check-inline .form-check-input:checked+.form-check-label {
	background-color: #d1e7dd;
	border: 1px solid #0f5132;
}

.wawp-admin-page .form-check-inline .form-check-label i {
	margin-inline-end: 5px;
}

/* OTP Message Container */
.wawp-admin-page .wawp-otp-message-container {
	margin-bottom: 15px;
}

/* Fields Table Styling */
.wawp-admin-page #wawp-fields-sortable {
	width: 100%;
	border-collapse: collapse;
}

.wawp-admin-page #wawp-fields-sortable tr {
	gap: 0 !important;
	justify-content: center;
	min-height: fit-content;
	flex-direction: initial;
	border-radius: 0;
	flex-wrap: nowrap;
	box-shadow: none;
	padding: 0;
	border: 0;
}

.wawp-admin-page #wawp-fields-sortable tbody {
	gap: 0 !important;
}

.wawp-admin-page #wawp-fields-sortable th,
.wawp-admin-page #wawp-fields-sortable td {
	padding: 12px !important;
	text-align: center !important;
	flex: 1;
}

.wawp-admin-page #wawp-fields-sortable th:first-child,
.wawp-admin-page #wawp-fields-sortable td:first-child {
	max-width: 60px;
}

.wawp-admin-page #wawp-fields-sortable th {
	background-color: #f1f1f1;
	font-size: var(--h5) !important;
	color: var(--heading) !important;
}

.wawp-admin-page #wawp-fields-sortable td {
	vertical-align: middle;
}

.wawp-admin-page #wawp-fields-sortable label {
	margin: auto;
}

/* Description Text Styling */
.wawp-admin-page .description {
	font-size: 0.9em;
	color: #555555;
	margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 600px) {

	.wawp-admin-page #wawp-fields-sortable th,
	.wawp-admin-page #wawp-fields-sortable td {
	padding: 8px;
	}

	.wawp-admin-page .form-check-inline {
	margin-inline-end: 10px;
	}

	.wawp-admin-page .form-check-inline .form-check-label {
	padding: 3px 7px;
	}
}

/* wawp-admin.css */
#otp_message_whatsapp_container,
#otp_message_email_container {
	display: none;
}

#otp_message_whatsapp_container,
#otp_message_email_container {
	width: 100%;
}

/* wawp-admin.css - Sortable Fields */
.wawp-sortable-placeholder {
	height: 40px;
	background: #f0f0f0;
	border: 2px dashed #ccc;
	visibility: visible !important;
}

#wawp-fields-sortable tbody tr:hover {
	background-color: #f9f9f9;
}

#wawp-add-field-modal {
	position: fixed;
	top: 50%;
	inset-inline-start: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border: 1px solid #ccc;
	padding: 20px;
	z-index: 10000;
	width: 500px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#wawp-add-field-modal h2 {
	margin-top: 0;
}

.wawp-required {
	color: red;
	margin-inline-start: 5px;
}

.wawp-submit-button,
.wawp-resend-otp-btn,
.wawp-edit-contact-btn {
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
}

.wawp-submit-button:hover {
	background-color: #1a73e8;
	color: #fff;
}

.wawp-wrapper {
	display: flex;
	margin: 0;
	box-sizing: border-box;
}


.wawp-menu-account {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 24px 0;
	border-top: 1px solid #DBDFE9;
	border-bottom: 1px solid #DBDFE9;
	max-width: 248px;
}

.wawp-avatar {
	width: 36px;
	height: 36px;
	background: #f1f1f1;
	aspect-ratio: 1/1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: var(--border);
}

.wawp-email {
	font-size: 14px;
	font-weight: 600;
	color: var(--heading);
}

.wawp-plan {
	font-size: 12px;
	line-height: 1.6;
}

.upgrade-btn {
	width: 100%;
	padding: 12px;
	background: var(--wawp-green);
	border-radius: 8px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
}

.upgrade-btn:hover,
.upgrade-btn:focus,
.upgrade-btn:active {
	background: var(--wawp-green-hover);
	color: #fff;
	box-shadow: none;
	outline: 0;
}

.wawp_main-container {
	flex: 1;
	position: relative;
}

.wawp-content {
	min-width: 0;
	padding: 2.5rem 2.5rem 6.5rem 2.5rem;
	position: relative;
}

.wawp_top-bar {
	position: sticky;
	top: 32px;
	background: #044;
	z-index: 99999;
	padding: .75rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #fff;
	font-size: 10px;
}

.wp-core-ui .quicktags-toolbar input.button.button-small {
	width: fit-content !important;
}

/******************************/
/* 1. Tab Navigation Styles   */
/******************************/
.nav-tab {
	position: relative;
	padding: .75rem !important;
	text-decoration: none !important;
	background-color: transparent !important;
	border: 0;
	cursor: pointer;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
	font-size: inherit;
	margin: 0;
	opacity: .7;
	border-radius: .5rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	width: 100%;
}

.nav-tab:hover,
.nav-tab:focus {
	opacity: 1;
	outline: 0;
	border: 0;
	box-shadow: none !important;
	color: #044;
	outline: 0;
}

.nav-tab-active {
	opacity: 1;
	background: #fff !important;
	box-shadow: 0 0 0 1px #2c405e0f, 0 1px 1px #2c405e0a, 0 2px 4px #2c405e14;
	color: #044;
}

.nav-tab.nav-tab-active:hover,
.nav-tab.nav-tab-active:focus {
	opacity: 1;
	border: 0;
	box-shadow: none !important;
	color: #044;
	outline: 0;
}

.wawp-tab-icon {
	height: 16px;
	width: 16px;
}


.nav-tab-wrapper:not(.wp-clearfix)::after {
	content: none !important;
	display: none !important;
}

.wawp-tab-pane {
	display: none;
}

/* Show Senders tab by default to prevent blank page while JS loads */
#tab-senders {
	display: block;
}

.wawp-tab-pane-active {
	display: flex;
	flex-direction: column;
}


/******************************/
/* 4. Primary Accordion       */
/******************************/

.wrap form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
}

.notification-cards {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.notification-cards h4 {
	margin-bottom: 0 !important;
}

.wawp-accordion-item {
	width: 100%;
	align-self: start;
	background: #fefefe;
	border: 1px solid rgb(227, 227, 227);
	border-radius: .5rem;
}

.wawp-accordion-item.wawp-disabled {
	opacity: .5;
}

.wawp-toggle-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wawp-accordion-content {
	padding: 1rem 0 0 0;
	border-top: var(--border);
}

.wawp-accordion-content tr {
	display: flex;
	flex-direction: row;
	align-items: center !important;
	gap: 8px;
	min-height: 40px;
}

.wawp-accordion-content th,
.wawp-accordion-content td {
	width: 100% !important;
	padding: 0 !important;
	text-align: start !important;
}

.wawp-accordion-content td {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0;
}

.emojionearea,
.emojionearea.form-control {
	border: var(--border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.emojionearea.focused {
	border: 1px solid var(--wawp-green) !important;
}

.emojionearea .emojionearea-editor {
	min-height: 10em !important;
	max-height: 10em !important;
	color: var(--text) !important;
	padding: 12px 60px 12px 12px !important;
	background: #fcfcfc !important;
	border-radius: 12px !important;
}

.emojionearea .emojionearea-button {
	inset-inline-end: 8px !important;
	top: 8px !important;
	border: 1px solid;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px !important;
	border: 1px solid rgb(204, 204, 204) !important;
	color: var(--text) !important;
}

.placeholder-containerlogin,
.placeholder-container,
.placeholder-container-checkout,
.placeholder-container-signup {
	position: absolute;
	top: 9px;
	inset-inline-end: 38px;
	z-index: 5;
	width: 24px;
}

.wawp-accordion-content .placeholder-dropdown,
.placeholder-container .placeholder-dropdown,
.placeholder-container-checkout .placeholder-dropdown,
.placeholder-container-signup .placeholder-dropdown {
	padding: 0 !important;
	background-size: 16px !important;
	background-position: center !important;
	width: 24px;
	min-width: 24px;
	min-height: 24px !important;
	height: 24px !important;
}

.image-url-field {
	display: flex;
	flex-wrap: nowrap;
	border: 1px dashed rgb(200, 200, 200);
	border-radius: 6px;
	align-items: center;
	overflow: hidden;
	padding: 8px 12px;
	justify-content: space-between;
	background: #fcfcfc;
}

.wawp-wrapper .image-url-field input {
	border: 0 !important;
	background: transparent !important;
	padding-inline-start: 0 !important;
}

.image-preview {
	height: 48px;
	aspect-ratio: 1/1;
	object-fit: cover;
	order: -1;
	margin-inline-end: .625rem;
}

/******************************/
/* 5. Sub-Accordion Items     */
/******************************/
.wawp-sub-accordion-item {
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
}

.wawp-sub-accordion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--light-bg);
	padding: 16px;
	cursor: pointer;
}

.wawp-sub-accordion-header:hover {
	background: #fdfdfd;
}

.wawp-sub-accordion-content {
	display: flex;
	padding: 16px;
	background: #fff;
	border-top: var(--border);
}

.wawp-sub-accordion-item.wawp-disabled .wawp-sub-accordion-content {
	display: none;
}

.wawp-sub-accordion-content tr {
	display: flex;
	flex-direction: column;
	align-items: start !important;
	gap: 8px;
}

.wawp-sub-accordion-content th,
.wawp-sub-accordion-content td {
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.wawp-sub-accordion-content td {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}



/******************************/
/* 6. Delete Button           */
/******************************/
.wawp-delete-button {
	background: transparent !important;
	border: 0 !important;
	color: #ef4444 !important;
	line-height: 1 !important;
}

.wawp-delete-button:hover {
	color: #dc2626 !important;
}

/******************************/
/* 7. Misc. Utility           */
/******************************/
#wawp-loading {
	display: block;
	text-align: center;
	padding: 20px;
	font-size: 16px;
}

.wawp-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.wawp-instance-form,
.wawp-instance-selection {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.wawp-static-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 20px;
}

.wawp-static-card h3 {
	margin-top: 0;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
}



/******************************/
/* 9. Follow-up */
/******************************/

.followup-card {
	width: 100%;
	border: 1px solid rgb(227, 227, 227);
	border-radius: 8px;
	align-self: start;
	overflow: hidden;
	background: #ddd;
}

.followup-header {
	padding: 16px;
	background: var(--dark-bg);
	border-bottom: var(--border);
}

.followup-header h4 {
	margin: 0 !important;
	color: #fff !important;
}

.wawp-image-preview {
	height: 48px;
	width: 48px;
	aspect-ratio: 1/1;
	object-fit: cover;
	order: -1;
	margin-inline-end: .625rem;
}

/******************************/
/* 10. Responsive Enhancements */
/******************************/
@media screen and (max-width: 768px) {
	.nav-tab-wrapper {
	flex-direction: column;
	}

	.nav-tab {
	margin-inline-end: 0;
	margin-bottom: 5px;
	border-radius: 4px;
	}

	.wawp-modal-content {
	width: 80%;
	margin-top: 20%;
	}
}

@media screen and (max-width: 600px) {
	.wawp-modal-content {
	width: 95%;
	margin-top: 30%;
	}
}

@media screen and (max-width: 480px) {
	.wawp-modal-content {
	width: 95%;
	margin-top: 25%;
	}
}


/* Instance Statistics Section */
.wawp-instance-stats {
	background-color: #ffffff;
	padding: 20px;
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	flex: 1 1 45%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wawp-instance-stats h3 {
	margin-bottom: 20px;
	font-size: 20px;
	color: #333333;
}

.wawp-stats-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.wawp-stats-table th,
.wawp-stats-table td {
	border: 1px solid #dddddd;
	text-align: start;
	padding: 12px;
}

.wawp-stats-table th {
	background-color: #f9f9f9;
	font-weight: bold;
}

.wawp-online {
	color: #28a745;
	/* Green */
	font-weight: bold;
}

.wawp-offline {
	color: #dc3545;
	/* Red */
	font-weight: bold;
}

.wawp-manage-instances {
	text-align: end;
}

.wawp-manage-instances .button {
	padding: 10px 20px;
	font-size: 16px;
}

/* Manage Features Section */
.wawp-feature-toggles {
	background-color: #ffffff;
	padding: 20px;
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	flex: 1 1 45%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wawp-feature-toggles h3 {
	margin-bottom: 20px;
	font-size: 20px;
	color: #333333;
}

.wawp-toggle-feature {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.wawp-toggle-feature:last-child {
	margin-bottom: 0;
}

/* (Already-kept) .wawp-switch styling from above reused here */

/* Feature Labels */
.wawp-feature-label {
	margin-inline-start: 10px;
	font-size: 16px;
	color: #333333;
}

/* Responsive Design */
@media (max-width: 992px) {
	.wawp-dashboard-flex-container {
	flex-direction: column;
	}

	.wawp-instance-stats,
	.wawp-feature-toggles {
	flex: 1 1 100%;
	}

	.wawp-manage-instances {
	text-align: center;
	}
}









/****************************/
/********** Header **********/
/****************************/

.wawp-banner {
	background: #01824c;
	text-align: center;
	padding: 4px;
}

.promo {
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	line-height: 1.4;
}

.wawp-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	top: 36px;
	inset-inline-end: 12px;
}

.wawp-topbar {
	width: 100%;
	margin: auto;
	display: contents;
	justify-content: space-between;
	align-items: center;
}

.plan-dot {
	width: 8px;
	height: 8px;
	aspect-ratio: 1/1;
	display: inline-flex;
	border-radius: 999px;
	animation: plan_pop 1s infinite;
}

@keyframes plan_pop {
	0% {
	transform: scale(.7);
	opacity: 1;
	}

	50% {
	transform: scale(1);
	opacity: 0.7;
	}

	100% {
	transform: scale(.7);
	opacity: 1;
	}
}

.wawp-logo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 12px 24px;
	border-bottom: 1px solid #fff2;
}

.wawp-logo img {
	height: 28px;
}

.wawp-link {
	color: #fff8;
	line-height: 1;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
}

.wawp-link:hover {
	color: var(--text);
}

.wawp-link [class*=" ri-"],
.wawp-link [class^="ri-"] {
	font-size: 18px;
}

.title-text {
	color: var(--secondry-color);
	margin: 0;
	line-height: 1.4;
	font-size: 18px;
	font-weight: 600;
}


* {
	box-sizing: border-box;
}



.wawp-toggle-sidebar {
	background: none;
	border: none;
	display: none;
	cursor: pointer;
}

.wawp-hamburger {
	display: block;
	width: 20px;
	height: 2px;
	background-color: #333;
	position: relative;
}

.wawp-hamburger::before,
.wawp-hamburger::after {
	content: "";
	display: block;
	width: 20px;
	height: 2px;
	background-color: #333;
	position: absolute;
	inset-inline-start: 0;
}

.wawp-hamburger::before {
	top: -6px;
}

.wawp-hamburger::after {
	top: 6px;
}

.wawp-links-row {
	display: flex;
	gap: 6px;
	align-items: center;
	line-height: 1;
	font-size: 12px;
	font-weight: 600;
}

@media screen and (max-width: 768px) {
	.wawp-toggle-sidebar {
	display: block;
	}

	.wawp-sidebar {
	position: fixed;
	top: 0;
	inset-inline-start: 0;
	height: 100%;
	max-width: 240px;
	overflow-y: auto;
	transform: translateX(-100%);
	z-index: 9999;
	}

	.rtl .wawp-sidebar {
	transform: translateX(100%);
	}

	.wawp-sidebar.active {
	transform: translateX(0);
	}

	.rtl .wawp-sidebar.active {
	transform: translateX(0);
	}

	.wawp-main-container {
	margin-inline-start: 0;
	}

	.wawp-main-container.sidebar-open {
	margin-inline-start: 240px;
	transition: margin-left 0.3s ease;
	}

	.wawp-links-row {
	flex-direction: column;
	align-items: flex-start;
	padding: 0 10px 10px;
	}
}

/****************************/
/********** System info **********/
/****************************/
.wawp-box {
	width: 100%;
	border-collapse: collapse;
	overflow: hidden;
}

.wawp-box th,
.wawp-box td {
	padding: 8px;
	text-align: start;
}

.wawp-box th {
	background-color: #f6f6f9;
}

.wawp-box td {
	background-color: #fff;
}

.wawp-box tr:nth-child(even) td {
	background-color: var(--light-bg);
}

.wawp-box .requirement {
	font-size: 12px;
	color: #888;
}

.wawp-box .status-true {
	color: green;
}

.wawp-box .status-false {
	color: red;
}

.wawp-box .status-gray {
	color: gray;
}

.wawp-box tr:hover td {
	background-color: #f1f1f1;
}

.status-icon-true::before {
	content: "\2714";
	/* check mark */
	color: green;
	margin-inline-end: 5px;
}

.status-icon-false::before {
	content: "\2716";
	/* cross mark */
	color: red;
	margin-inline-end: 5px;
}

.status-gray .status-icon-true::before {
	content: "\2714";
	/* check mark */
	color: gray;
	margin-inline-end: 5px;
}

.status-gray .status-icon-false::before {
	content: "\2716";
	/* cross mark */
	color: gray;
	margin-inline-end: 5px;
}

.info-hint {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: var(--text);
}

.info-hint [class*=" ri-"],
.info-hint [class^="ri-"] {
	font-size: 16px;
}

.php-info-note {
	background-color: #e0f7ff;
	border-inline-start: 4px solid #00a0d2;
	padding: 15px;
	margin-top: 20px;
	display: flex;
	align-items: center;
}

.php-info-note .dashicons {
	margin-inline-end: 10px;
}

.php-info-note a {
	color: #007cba;
	text-decoration: none;
}

.php-info-note a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 600px) {

	.wawp-box {
	width: 100%;
	}
}

.connection-status {
	display: flex;
	align-items: center;
	padding: 5px 0px 5px 10px;
	border-radius: 5px;
	color: white;
	background-color: #dc3545;
	font-weight: 400;
	font-size: 15px;
}

.connection-status img {
	margin-inline-end: 5px;
}

.connection-status.status-success {
	background-color: #28a745;
	/* Green color for success */
}

.connection-status.status-error {
	background-color: #dc3545;
	/* Red color for error */
}

#preset-date-range {
	padding: 8px 25px 8px 10px;
	line-height: 1.6;
	min-height: 30px;
	box-shadow: none !important;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
}

#phone-filter {
	padding: 8px 12px;
	line-height: 1.6;
	min-height: 30px;
	box-shadow: none !important;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
}

#message-type-filter {
	padding: 8px 12px;
	line-height: 1.6;
	min-height: 30px;
	box-shadow: none !important;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
}

#sort-by {
	padding: 8px 25px 8px 10px;
	line-height: 1.6;
	min-height: 30px;
	box-shadow: none !important;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
}

#clear-filters {
	margin-top: 30px;
	background: #044747;
	color: wheat;
	border: 1px solid #014848;
	border-radius: 8px;
}

.log-msg div {
	padding: 20px;
}

.log-msg {
	display: block;
}

.log-msg {
	display: block;
}

/* Flexbox layout for filters */
.filters-container {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
	padding: 10px 20px 10px 20px;
	background-color: #fff;
	border-radius: 16px;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
	margin-bottom: 16px;
	padding-bottom: 0;
}

/* Inline Input Group for horizontal alignment */
.inline-input-group {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	line-height: 1.6;
	min-height: 30px;
	border-radius: 16px;
	margin-bottom: 16px;
	border: none;
}

.input-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.input-label {
	margin-bottom: 4px;
	font-weight: bold;
}

.input-group input,
.input-group select {
	max-width: 100%;
}



.form-table {
	margin: 0 !important;
	table-layout: fixed;
}




#mrsb-status-area {
	display: flex;
	flex-direction: column;
}

.plan-features {
	display: grid;
	margin: 0;
	grid-auto-flow: column;
	grid-template-rows: repeat(10, 1fr);
	padding: 0;
}

.plan-features li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.plan-features [class*=" ri-"],
.plan-features [class^="ri-"] {
	color: var(--wawp-green);
}

.wawp-login-btn {
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	display: flex;
	width: fit-content;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
	gap: 12px;
	justify-content: center;
}

.wawp-login-btn:hover,
.wawp-login-btn:focus,
.wawp-login-btn:active {
	background: var(--wawp-green-hover);
	color: #fff;
}

.wawp-login-btn .ri-arrow-right-line {
	font-size: 18px !important;
}

.disconnect-wrapper {
	position: absolute;
	top: 24px;
	inset-inline-end: 24px;
	display: flex;
	align-items: stretch;
	gap: 12px;
}

.disconnect {
	padding: 0 .75rem !important;
	color: #fff;
	background: #ef4444;
	border-radius: 8px;
	box-shadow: var(--xl-shadow) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.disconnect:hover,
.disconnect:focus,
.disconnect:active {
	color: #fff;
	opacity: .9;
}

.disconnect .ri-link-unlink {
	font-size: 18px !important;
}


.flex {
	display: flex;
}

.align-center {
	align-items: center;
}

.justify-between {
	justify-content: space-between;
}


.wawp-more {
	font-size: 14px;
	font-weight: 600;
	color: var(--wawp-green-hover);
	border-bottom: 1px solid var(--wawp-green);
}

.wawp-more:hover,
.wawp-more:active,
.wawp-more:focus {
	color: var(--wawp-green-hover);
	opacity: .8;
	box-shadow: none;
}

.active-plan {
	background: #dfd;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #008a45;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.wawp-whatsapp-number.iti-loaded {
	padding-inline-start: 50px !important;
}


.wawp-sidemenu-group {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	overflow-y: auto;
	flex: 1;
	padding: 0 1.5rem 1.5rem;
	scroll-behavior: smooth;
}

.wawp-sidemenu-group::-webkit-scrollbar {
	width: 0;
}

.wawp-sidebar-search {
	position: relative;
	color: #fff;

}

.wawp-sidebar-search .ri-search-line {
	position: absolute;
	inset-inline-start: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #a0a5aa;
}

.wawp-sidebar-search input {
	width: 100% !important;
	padding: .75rem !important;
	border-radius: .5rem !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	background-color: #044 !important;
	color: #fff !important;
	border-radius: .5rem !important;
	padding-inline-start: 2rem !important;
}

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

.wawp-menu-section .wawp-menu {
	margin: 0;
}

.wawp-menu-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .25rem;
	font-size: .75rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.wawp-menu-section.open .wawp-menu {
	gap: .25rem;
	display: flex;
	flex-wrap: nowrap;
}

.wawp-menu-section .section-toggle-icon {
	transition: transform 0.2s ease-in-out;
	transform: rotate(180deg);
	/* Point inline-start when closed */
}

.wawp-menu-section.open .section-toggle-icon {
	transform: rotate(0deg);
	/* Point down when open */
}


#tab-login-signup-pages td {
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

#tab-login-signup-pages .btn-group a {
	height: 39px;
}

#tab-login-signup-pages .wawp-autosave-switch {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
}

#tab-login-signup-pages .wawp-autosave-switch th,
#tab-login-signup-pages .wawp-autosave-switch td {
	width: fit-content;
}


.live-search-bar .search-box {
	position: relative;
	width: 100%;
	display: flex;
	gap: .75rem;
	align-items: center;
	flex-wrap: nowrap;
}

.live-search-bar #log_search_input-search-input {
	min-width: 90%;
}

#wawp-ac-form .wawp-setting-card {
	overflow: hidden;
}

#wawp-ac-form .wawp-setting-header {
	padding: 1.25rem;
	cursor: pointer;
	background: #fff;
}

#wawp-ac-form .wawp-setting-card.coupon_set .wawp-setting-content {
	padding: .75rem 1.25rem;
}

#wawp-ac-form .wawp-setting-content {
	padding: 0;
	gap: 0;
}

#wawp-ac-form .notification-card.postbox {
	min-width: 0;
	border: unset;
	box-shadow: unset;
	margin: 0;
}

#wawp-ac-form .notification-card.postbox.closed {
	background: #fafafa;
}

#wawp-ac-form .hndle {
	cursor: pointer;
}

#wawp-ac-form .handle-actions {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
}

#wawp-ac-form .postbox-header {
	border: unset;
	padding: .75rem 1.25rem;
}

#wawp-ac-form .inside {
	margin: 0;
	padding: .75rem 1.25rem;
	border-top: 1px solid #ededed;
}

#wawp-ac-potential_customer-wrapper,
#wawp-ac-abandoned_cart-wrapper {
	display: flex;
	flex-direction: column;
	gap: 1px;
	background: #ededed;
}

#wawp-ac-form .channel-fields-wrapper .wawp-setting-header.wawp-toggle-switch {
	padding: .75rem;
}

#wawp-ac-form .channel-fields-wrapper {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: .5rem;
}

#wawp-ac-form .delay-fields {
	gap: .5rem;
	margin-top: .5rem;
}


.wawp-blocked-list {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px;
	min-height: 50px;
	background: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wawp-block-item {
	background: #044;
	border-radius: 5px;
	padding: 4px 8px;
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #fff;
}

.wawp-block-item span {
	margin-inline-end: 6px;
	font-weight: 500;
}

.wawp-remove-block-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: #d63638;
	padding: 0;
	line-height: 1;
	display: flex;
	align-items: center;
}

.wawp-remove-block-btn:hover {
	color: #a00;
}

/* =========================================
	Phone Verification Bar / Sub-Settings
	========================================= */

/* Main container for the extra text fields */
.wawp-sub-settings-container {
	background: var(--light-bg);
	padding: .75rem 1rem;
	border-radius: .5rem;
	border: var(--border);
}

/* Toggle Switch Wrapper */
.wawp-switch-wrapper {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	/* Aligns switch to the inline-end like others */
}

/* Individual Form Groups inside the box */
.wawp-form-group {
	margin-bottom: 15px;
}

.wawp-form-group:last-child {
	margin-bottom: 0;
}

/* Label Styling */
.wawp-label-text {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #071437;
	/* Matches --heading variable */
}

/* Input & Textarea Styling */
.wawp-input-full {
	width: 100%;
	max-width: 100%;
	padding: 8px 12px;
	border: 1px solid #dcdfe4;
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
	box-sizing: border-box;
}

/* Helper Text (Description) */
.wawp-helper-text {
	font-size: 12px;
	color: #646970;
	margin-top: 6px;
	font-style: italic;
}

/* Utility to hide the box when toggle is off */
.wawp-hidden {
	display: none !important;
}

/* FIX: Override generic table flex rules that might break this specific card layout */
#tab-login-signup-pages tr:has(.wawp-sub-settings-container) {
	flex-wrap: wrap !important;
	height: auto !important;
}

#tab-login-signup-pages tr:has(.wawp-sub-settings-container) td {
	width: 100% !important;
	display: block !important;
}

/* Warning Box */
.wawp-warning-box {
	padding: 12px;
	border-radius: 6px;
	font-size: 13px;
	margin-top: 10px;
	display: flex;
	gap: 8px;
	align-items: center;
	background: #fffbeb;
	color: #92400e;
	border: 1px solid #fcd34d;
}

.wawp-warning-box i {
	font-size: 16px;
}

/* Log Status Modal Improvements - Premium Redesign */
#wawp-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	inset: 0;
	background: rgba(15, 23, 42, 0.4);
	backdrop-filter: blur(8px);
	transition: all 0.3s ease;
}

#wawp-modal-content-wrap {
	background: #ffffff;
	margin: 5% auto;
	padding: 0;
	border: 1px solid rgba(226, 232, 240, 0.8);
	width: 95%;
	max-width: 650px;
	position: relative;
	border-radius: 20px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	animation: awpModalFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes awpModalFadeIn {
	from {
	opacity: 0;
	transform: translateY(24px) scale(0.96);
	}

	to {
	opacity: 1;
	transform: translateY(0) scale(1);
	}
}

#wawp-modal-close {
	position: absolute;
	top: 16px;
	inset-inline-end: 16px;
	cursor: pointer;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(241, 245, 249, 0.8);
	color: #64748b;
	font-size: 20px;
	z-index: 10;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#wawp-modal-close:hover {
	background: #f1f5f9;
	color: #0f172a;
	transform: rotate(90deg);
}

#wawp-modal-content {
	padding: 32px;
}

.wawp-modal-status-header {
	padding: 24px;
	border-radius: 16px;
	margin-bottom: 24px;
	font-weight: 600;
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
	border: 1px solid transparent;
}

.wawp-modal-status-header.success {
	background: #f0fdf4;
	color: #166534;
	border-color: #bbfcce;
}

.wawp-modal-status-header.error {
	background: #fef2f2;
	color: #991b1b;
	border-color: #fee2e2;
}

.wawp-modal-status-header .status-title-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	letter-spacing: -0.01em;
}

.wawp-modal-status-header i {
	font-size: 24px;
}

.wawp-modal-status-header .status-message {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	opacity: 0.9;
}

.wawp-status-details {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wawp-status-details .detail-item {
	background: rgba(255, 255, 255, 0.4);
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.03);
}

.wawp-status-details .detail-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
	opacity: 0.6;
}

.wawp-status-details .detail-value {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.wawp-modal-raw-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-weight: 600;
	font-size: 13px;
	color: #475569;
}

#wawp-modal-content pre {
	background: #0f172a;
	color: #f8fafc;
	padding: 24px;
	border-radius: 12px;
	overflow-x: auto;
	font-size: 13px;
	line-height: 1.6;
	max-height: 350px;
	margin: 0;
	border: 1px solid #1e293b;
	box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

#wawp-modal-content code {
	font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Source Code Pro', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

#wawp-modal-content pre::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

#wawp-modal-content pre::-webkit-scrollbar-track {
	background: #1e293b;
	border-radius: 4px;
}

#wawp-modal-content pre::-webkit-scrollbar-thumb {
	background: #334155;
	border-radius: 4px;
}

#wawp-modal-content pre::-webkit-scrollbar-thumb:hover {
	background: #475569;
}

.wawp-badge-orange {
	background: orange;
	color: #fff;
	margin-inline-start: 4px;
}

/* WAWP Utility Classes */
.wawp-text-red {
	color: red !important;
}

.wawp-text-blue {
	color: blue !important;
}

.wawp-text-green {
	color: green !important;
}

.wawp-text-muted {
	color: #666 !important;
}

.wawp-font-13 {
	font-size: 13px !important;
}

.wawp-font-400 {
	font-weight: 400 !important;
}

.wawp-font-600 {
	font-weight: 600 !important;
}

.wawp-p0 {
	padding: 0 !important;
}

.wawp-p10 {
	padding: 10px !important;
}

.wawp-m0 {
	margin: 0 !important;
}

.wawp-m15-v {
	margin: 15px 0 !important;
}

.wawp-m24-v {
	margin: 24px 0 !important;
}

.wawp-mt-0 {
	margin-top: 0 !important;
}

.wawp-mt-4 {
	margin-top: 4px !important;
}

.wawp-mt-10 {
	margin-top: 10px !important;
}

.wawp-mb-4 {
	margin-bottom: 4px !important;
}

.wawp-mb-5 {
	margin-bottom: 5px !important;
}

.wawp-mb-20 {
	margin-bottom: 20px !important;
}

.wawp-mb-125 {
	margin-bottom: 1.25rem !important;
}

.wawp-ml-10 {
	margin-inline-start: 10px !important;
}

.wawp-w100 {
	width: 100% !important;
}

.wawp-maxw-200 {
	max-width: 200px !important;
}

.wawp-label-fixed {
	width: 22rem !important;
}

.wawp-relative {
	position: relative !important;
}

.wawp-absolute {
	position: absolute !important;
}

.wawp-abs-top {
	position: absolute !important;
	top: 0 !important;
}

.wawp-flex {
	display: flex;
}

.wawp-flex-col {
	display: flex;
	flex-direction: column;
}

.wawp-flex-row {
	display: flex;
	flex-direction: row;
}

.wawp-align-center {
	align-items: center;
}

.wawp-justify-between {
	justify-content: space-between;
}

.wawp-flex-row-center {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.wawp-flex-center-gap10 {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wawp-flex-center-gap5 {
	display: flex;
	align-items: center;
	gap: 5px;
}

.wawp-gap-8 {
	gap: 8px;
}

.wawp-gap-10 {
	gap: 10px;
}

.wawp-pointer {
	cursor: pointer;
}

.wawp-cursor-move {
	cursor: move;
}

.wawp-text-center {
	text-align: center;
}

.wawp-overflow-hidden {
	overflow: hidden;
}

.wawp-hide {
	display: none;
}

.wawp-popup-hide {
	display: none !important;
}

.wawp-gap-24 {
	gap: 24px;
}

.wawp-grid-config,
.wawp-subtab-content {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-sub-settings {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-height-100 {
	height: 100% !important;
}

.wawp-shortcode-display-box {
	background: var(--light-bg);
	border: var(--border);
	border-radius: .5rem;
	padding: .25rem .75rem;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	padding-inline-end: .25rem;
}

.wawp-code-clean {
	background: transparent;
	padding: 0;
	color: var(--text);
	font-weight: 600;
	font-family: inherit;
}

.wawp-copy-btn-custom {
	font-size: 12px;
	min-width: fit-content;
}

.wawp-mr-4 {
	margin-inline-end: 4px !important;
}

.wawp-min-h-40 {
	min-height: 40px !important;
}

.wawp-font-085 {
	font-size: 0.85rem !important;
}

.wawp-font-1rem {
	font-size: 1rem !important;
}

.wawp-shortcodes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.wawp-title-main {
	margin: 0 0 15px !important;
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	color: var(--heading, #333) !important;
}

.wawp-w25em {
	width: 25em !important;
}

.wawp-lh-15 {
	line-height: 1.5 !important;
}

.wawp-grid-3 {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
}

.wawp-gap-1rem {
	gap: 1rem !important;
}

.wawp-w300 {
	width: 300px !important;
}

.wawp-w40 {
	width: 40px !important;
}

.wawp-br-mb3 {
	margin-bottom: 3px !important;
}

.wawp-wizard-btn-main {
	justify-content: center !important;
	width: 65% !important;
	font-style: normal !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	padding: 16px 24px !important;
	background: #002626 !important;
	color: #fff !important;
	border-radius: 8px !important;
}

.wawp-wizard-btn-hint {
	justify-content: center !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	padding: 16px 24px !important;
	border-radius: 8px !important;
	background-color: var(--wawp-green) !important;
	color: #fff !important;
	width: 35% !important;
}

.wawp-avatar-circle {
	border-radius: 999px !important;
}

.wawp-maxw-48ch {
	max-width: 48ch !important;
}

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

.wawp-text-start {
	text-align: start !important;
}

.wawp-sync-logs-container {
	max-width: 660px !important;
	width: 660px !important;
}

.wawp-border-dashed {
	border-top: 2px dashed #b3b3b3 !important;
}

.wawp-z-minus1 {
	z-index: -1 !important;
}

.wawp-inline-block {
	display: inline-block !important;
}

.wawp-alert-danger {
	padding: 10px !important;
	background: #f8d7da !important;
	color: #721c24 !important;
	border-radius: 4px !important;
}

.wawp-text-green {
	color: var(--wawp-green) !important;
}

.wawp-bg-white {
	background: #fff !important;
}

.wawp-font-28 {
	font-size: 28px !important;
}

.wawp-m0-4-v {
	margin: 0 0 4px !important;
}

.wawp-font-12 {
	font-size: 12px !important;
}

.wawp-vertical-top {
	vertical-align: top !important;
}

.wawp-cursor-default {
	cursor: default !important;
}

.wawp-border-none {
	border: none !important;
}

.wawp-bg-green-light {
	background: #f0fdf4 !important;
}

.wawp-text-green-dark {
	color: #15803d !important;
}

.wawp-status-ok-bold {
	color: #2ecc71 !important;
	font-weight: bold !important;
}

.wawp-status-error-bold {
	color: #c00 !important;
	font-weight: bold !important;
}

.wawp-status-warning-bold {
	color: #e67e22 !important;
	font-weight: bold !important;
}

.wawp-table-card-header {
	flex-direction: column !important;
	align-items: start !important;
}

.wawp-pr-5 {
	padding-inline-end: 5px !important;
}

.wawp-mb-25 {
	margin-bottom: 25px !important;
}

.wawp-mt-5 {
	margin-top: 5px !important;
}

.wawp-ml-8 {
	margin-inline-start: 8px !important;
}

.wawp-text-green {
	color: #0b7 !important;
}

.wawp-text-red {
	color: #dc3545 !important;
}

.wawp-border-start-red-dark {
	border-inline-start: 4px solid #d63638 !important;
}

.wawp-m15-0 {
	margin: 15px 0 !important;
}

.wawp-p-1rem {
	padding: 1rem !important;
}

.wawp-bg-white {
	background: #fff !important;
}

.wawp-m0 {
	margin: 0 !important;
}

.wawp-mt-12 {
	margin-top: 12px !important;
}

.wawp-mt-15 {
	margin-top: 15px !important;
}

.wawp-w150 {
	width: 150px !important;
}

.wawp-text-start {
	text-align: start !important;
}

.wawp-bg-green-dark {
	background-color: #008a45 !important;
}

.wawp-text-grey {
	color: #50575e !important;
}

.wawp-font-13 {
	font-size: 13px !important;
}

.wawp-font-w500 {
	font-weight: 500 !important;
}

.wawp-gap-16 {
	gap: 16px !important;
}

.wawp-mr-4 {
	margin-inline-end: 4px !important;
}

.wawp-grid-4-cols {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 1rem !important;
}

.wawp-text-no-deco {
	text-decoration: none !important;
}

.wawp-mb-20 {
	margin-bottom: 20px !important;
}

.wawp-p20-25 {
	padding: 20px 25px !important;
}

.wawp-p15-25 {
	padding: 15px 25px !important;
}

.wawp-p1 {
	padding: 1rem !important;
}

.wawp-p-5-1 {
	padding: 0.5rem 1rem !important;
}

.wawp-br-6 {
	border-radius: 6px !important;
}

.wawp-bg-red-light {
	background: #fee2e2 !important;
}

.wawp-text-red-dark {
	color: #991b1b !important;
}

.wawp-border-red-light {
	border: 1px solid #fecaca !important;
}

.wawp-h39 {
	height: 39px !important;
}

.wawp-h200 {
	height: 200px !important;
}

.wawp-minh-200 {
	min-height: 200px !important;
}

.wawp-minh-100 {
	min-height: 100px !important;
}

.wawp-minh-20 {
	min-height: 20px !important;
}

.wawp-bg-black-02 {
	background: rgba(0, 0, 0, 0.02) !important;
}

.wawp-border-black-05 {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.wawp-flex-1 {
	flex: 1 !important;
}

.wawp-mt-8 {
	margin-top: 0.5rem !important;
}

.wawp-mb-8 {
	margin-bottom: 0.5rem !important;
}

.wawp-fit-content {
	width: fit-content !important;
}

.wawp-border-eee {
	border: 1px solid #eee !important;
}

.wawp-text-start {
	text-align: start !important;
}

.wawp-text-center {
	text-align: center !important;
}

.wawp-font-500 {
	font-weight: 500 !important;
}

.wawp-font-600 {
	font-weight: 600 !important;
}

.wawp-text-muted-718096 {
	color: #718096 !important;
}

.wawp-text-dark-434960 {
	color: #434960 !important;
}

.wawp-text-primary-6a1cf2 {
	color: #6a1cf2 !important;
}

.wawp-no-deco {
	text-decoration: none !important;
}

.wawp-m1-25-0 {
	margin: 1.25rem 0 !important;
}

.wawp-border-start-orange {
	border-inline-start: 4px solid #f59e0b !important;
}

.wawp-text-orange {
	color: #f59e0b !important;
}

.wawp-w820 {
	width: 820px !important;
}

.wawp-border-red {
	border: 1px solid red !important;
}

.wawp-bg-red-soft {
	background: #ffe6e6 !important;
}

.wawp-pos-relative {
	position: relative !important;
}

.wawp-pos-absolute {
	position: absolute !important;
}

.wawp-end-5 {
	inset-inline-end: 5px !important;
}

.wawp-top-50 {
	top: 50% !important;
}

.wawp-translate-y-50 {
	transform: translateY(-50%) !important;
}

.wawp-bg-primary-2271b1 {
	background: #2271b1 !important;
}

.wawp-p-4-10 {
	padding: 4px 10px !important;
}

.wawp-br-4 {
	border-radius: 4px !important;
}

.wawp-z-10 {
	z-index: 10 !important;
}

.wawp-mb-4 {
	margin-bottom: 4px !important;
}

.wawp-p-10 {
	padding: 10px !important;
}

.wawp-p-6-12 {
	padding: 6px 12px !important;
}

.wawp-pr-90 {
	padding-inline-end: 90px !important;
}

.wawp-bg-white {
	background: #fff !important;
}

.wawp-overflow-hidden {
	overflow: hidden !important;
}

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

.wawp-align-start {
	align-items: flex-start !important;
}

.wawp-justify-end {
	justify-content: flex-end !important;
}

.wawp-opacity-04 {
	opacity: 0.4 !important;
}

.wawp-pointer-none {
	pointer-events: none !important;
}

.wawp-z-100 {
	z-index: 100 !important;
}

.wawp-h42 {
	height: 42px !important;
}

.wawp-p0-24 {
	padding: 0 24px !important;
}

.wawp-h16 {
	height: 16px !important;
}

.wawp-w-auto {
	width: auto !important;
}

.wawp-w-moz-available {
	width: -moz-available !important;
}

.wawp-hr-separator {
	width: -moz-available !important;
	margin: 0 !important;
	border: 0 !important;
	border-top: 1px solid #ededed !important;
}

.wawp-bg-gradient-chat {
	background: linear-gradient(135deg, #044 50%, #00c66b) !important;
}

.wawp-mb-6 {
	margin-bottom: 6px !important;
}

.wawp-font-24 {
	font-size: 24px !important;
}

.wawp-lh1 {
	line-height: 1 !important;
}

.wawp-w70 {
	width: 70px !important;
}

.wawp-mb-10 {
	margin-bottom: 10px !important;
}

.wawp-mt-10 {
	margin-top: 10px !important;
}

.wawp-img-preview-thumb {
	max-width: 150px !important;
	height: auto !important;
	border-radius: 4px !important;
	border: 1px solid #ddd !important;
	padding: 2px !important;
}

.wawp-font-36 {
	font-size: 2.25rem !important;
}

.wawp-text-heading {
	color: var(--heading) !important;
}

.wawp-mt-4 {
	margin-top: 4px !important;
}

.wawp-mb-5 {
	margin-bottom: 5px !important;
}

.wawp-block {
	display: block !important;
}

.wawp-floating-badge {
	position: fixed !important;
	bottom: 24px !important;
	padding: .5rem !important;
	border-radius: .5rem !important;
}

.wawp-ml-8 {
	margin-inline-start: 8px !important;
}

/* Auto-extracted inline styles */
.wawp-s-4bc492 {
	margin: 24px 0;
}

.wawp-s-10b06b {
	color: red;
}

.wawp-s-d0da85 {
	align-items: center;
}

.wawp-s-a243f6 {
	margin: 0 0 8px;
	color: #666;
	font-size: 13px;
}

.wawp-s-27ac6d {
	margin-top: 1.25rem;
}

.wawp-s-e96f2c {
	margin-top: 1.25rem;
	opacity: 1;
}

.wawp-s-33b1d5 {
	background: #f8fafc;
	padding: 15px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	margin-bottom: 20px;
}

.wawp-s-39dafc {
	margin-inline-start: 8px;
	color: #64748b;
}

.wawp-s-33424b {
	margin-bottom: 1.25rem;
}

.wawp-s-59c247 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}

.wawp-s-ad7ce8 {
	vertical-align: middle;
	margin-inline-end: 5px;
}

.wawp-s-ad16cd {
	width: 22rem;
}

.wawp-s-4cb8ce {
	position: relative;
}

.wawp-s-d85c4e {
	position: relative;
}

.wawp-s-a82a77 {
	position: absolute;
	top: 0;
}

.wawp-s-703e9e {
	gap: 0;
}

.wawp-s-a81ba2 {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-s-862f6f {
	position: absolute;
	top: 6px;
}

.wawp-s-efe609 {
	font-weight: 600;
	color: #334155;
	margin-inline-end: 10px;
}

.wawp-s-383fa7 {
	min-width: 250px;
}

.wawp-s-13262f {
	display: flex;
	gap: 8px;
}

.wawp-s-d5e8c5 {
	flex: 1;
}

.wawp-s-20c55c {
	display: block;
	margin-bottom: 2px;
}

.wawp-s-b0473a {
	margin-bottom: 15px;
}

.wawp-s-6f1294 {
	display: none;
	width: 100%;
	gap: 10px;
	align-items: center;
}

.wawp-s-d8de88 {
	display: none;
	text-align: center;
	margin-top: 10px;
}

.wawp-s-ed90a3 {
	margin-bottom: 20px;
	max-width: 100%;
}

.wawp-s-6fc889 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.wawp-s-ecd15b {
	padding: 0;
	gap: 0;
}

.wawp-s-53b84b {
	align-items: start;
}

.wawp-s-50f03a {
	margin-top: .125rem;
}

.wawp-s-c10a84 {
	gap: .25rem;
}

.wawp-s-fa0207 {
	display: none;
}

.wawp-s-f11a56 {
	flex: 1;
	text-align: center;
}

.wawp-s-e60d5e {
	width: 100%;
	max-width: 400px;
}

.wawp-s-adf426 {
	margin-bottom: 1.5rem;
	display: none;
}

.wawp-s-214d83 {
	margin-inline-start: 10px;
}

.wawp-s-7f8f8c {
	margin-inline-start: 10px;
	color: #ED3737;
}

.wawp-s-1d1638 {
	margin-bottom: 2px;
}

.wawp-s-24e1e0 {
	margin-inline-start: 10px;
}

.wawp-s-19fae4 {
	display: block;
}

.wawp-s-f01aac {
	padding: 1rem;
	border-inline-start-width: 4px;
}

.wawp-s-a8e26e {
	background-color: #008a45;
}

.wawp-s-e0dd7f {
	position: relative;
	display: flex;
	align-items: center;
}

.wawp-s-69a5bc {
	text-align: center;
	max-width: 100%;
}

.wawp-s-2c647f {
	width: 100%;
	text-align: start;
}

.wawp-s-9fe07f {
	border: 1px solid red;
	background: #ffe6e6;
	color: red;
	padding: 10px;
	margin: 10px 0;
}

.wawp-s-4e0d98 {
	border: 2px dashed #ffa500;
	background: #fffdee;
	padding: 15px;
	margin-bottom: 10px;
	border-radius: 5px;
}

.wawp-s-0f5558 {
	margin-top: 0;
	color: #cc0000;
	font-size: 1.2em;
}

.wawp-s-d99b2d {
	list-style: disc;
	margin-inline-start: 20px;
}

.wawp-s-a2d48c {
	margin-bottom: 0;
}

.wawp-s-753a6d {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.wawp-s-ebb942 {
	margin-bottom: 15px;
	font-size: 12px;
	color: #666;
	line-height: 1.4;
}

.wawp-s-7b754e {
	margin-bottom: 12px;
}

.wawp-s-80bd9e {
	width: 100%;
	justify-content: center;
	display: flex;
	align-items: center;
	gap: 5px;
}

.wawp-s-e313fd {
	font-size: 18px;
	width: 18px;
	height: 18px;
	margin-top: 2px;
}

.wawp-s-b53b23 {
	width: 20px;
	height: 20px;
}

.wawp-s-66493c {
	font-weight: 600;
	font-size: 14px;
}

.wawp-s-930613 {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
}

.wawp-s-d17084 {
	margin-top: 10px;
	font-size: 12px;
	display: none;
}

.wawp-s-6d5673 {
	width: 100%
}

.wawp-s-1cf2c6 {
	float: inline-end;
	cursor: pointer;
	font-size: 20px;
}

.wawp-s-221e55 {
	margin-inline-start: auto;
}

.wawp-s-fa30db {
	background: #f0f0f1;
	padding: 10px;
	overflow: auto;
	max-height: 500px;
}

/* Admin Footer */
.wawp-admin-footer-bar {
	position: fixed;
	bottom: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	padding: 16px 24px;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
	z-index: 2;
	/* Ensure it stays behind WP and AWP sidebars */
	/* Extremely low to ensure it sits behind both WP and AWP sidebars */
	/* Lower than sidebars which are typically 1000+ */
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-inline-start: auto;
	width: calc(100% - 440px);
}

/* Ensure WordPress Sidebars stay above the footer */
#adminmenuback,
#adminmenuwrap {
	z-index: 1001 !important;
	/* Higher than footer and AWP sidebar */
}

/* Handle Content Alignment with Sidebars */
.wawp-admin-footer-content {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
}

/* Response to smaller screens/different sidebar states */
@media screen and (max-width: 960px) {
	.wawp-admin-footer-content {
	padding-inline-start: 160px;
	}
}

@media screen and (max-width: 782px) {
	.wawp-admin-footer-content {
	padding-inline-start: 0;
	}
}

.folded .wawp-admin-footer-content {
	padding-inline-start: 36px;
}

.wawp-footer-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-inline-start: auto;
	/* Align to the inline-end */
}

.wawp-save-status {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.wawp-status-icon {
	font-size: 16px;
}

.wawp-save-status.saved {
	color: #059669;
	/* Green-600 */
}

.wawp-save-status.unsaved {
	color: #f28800;
	/* Yellow-500 */
}

.wawp-footer-help {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wawp-help-text {
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
}

.wawp-help-text:hover {
	color: #1e293b;
}

.wawp-help-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #475569;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid #e2e8f0;
}

.wawp-help-link:hover {
	background: #e2e8f0;
	color: #1e293b;
	transform: translateY(-2px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wawp-help-link i {
	font-size: 20px;
}

.wawp-help-text i.ri-external-link-line {
	font-size: 12px;
	margin-inline-start: 4px;
}

/* Button Loading State */
.wawp-btn.loading {
	position: relative;
	color: #fff !important;
	pointer-events: none;
	padding-inline-start: 44px !important;
	/* Make room for the spinner */
	transition: all 0.3s ease;
}

.wawp-btn.loading::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	top: 50%;
	inset-inline-start: 14px;
	margin: -9px 0 0 0;
	border: 2px solid #fff;
	border-radius: 50%;
	border-inline-end-color: transparent;
	/* Makes the spin effect visible */
	animation: wawp-spin 0.8s linear infinite;
}

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



/* Dashboard */
.stats-card {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem;
	border: 1px solid #ededed;
	border-radius: 1rem;
	background: #fff;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.stats-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
	border-color: #e2e8f0;
}

.card-label {
	font-size: .75rem;
	font-weight: 500;
	color: var(--heading);
}

.stats {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 36px;
	font-weight: 700;
	color: var(--heading);
	line-height: 1;
}

.stats [class*=" ri-"],
.stats [class^="ri-"] {
	font-size: 24px;
	color: #0b7;
}

.card-number_wrapper {
	display: flex;
	align-items: start;
	justify-content: space-between;
	margin-bottom: .5rem;
}

.card-number {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	color: var(--heading);
}

.wawp-dashboard-wrapper {
	max-width: 960px;
}

.wawp-toggle-group {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wawp-features_section {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	gap: 1.25rem;
}

.wawp-features_section .wawp-card {
	min-width: calc((100% - 1.25rem)/2);
	max-width: calc((100% - 1.25rem)/2);
}

.wawp-features_section .card-title {
	white-space: wrap;
}

.section-title {
	font-size: 1.25rem;
	margin-top: 2.5rem;
}

.wawp-toggle-group .wawp-setting-icon,
.wawp-toggle-group .wawp-btn {
	width: fit-content;
	min-width: 0;
}

.wawp-switch-label {
	display: flex;
	width: 100%;
	justify-content: space-between;
	font-size: 14px;
	line-height: 1.4;
	padding-inline-start: 0px !important;
}

.wawp-switch-label h3 {
	margin-bottom: 0 !important;
}

input[disabled]+.wawp-slider {
	opacity: 0.5;
	cursor: not-allowed;
}

.wawp-overlay {
	position: fixed;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
}

.wawp-popup {
	background: #fff;
	padding: 1.25rem;
	border-radius: 1.25rem;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .75rem;
}

.wawp-popup img {
	height: 4rem;
	width: 4rem;
}

.wawp-popup p.wawp-success {
	background: #AFFEBF;
	color: #014B40;
	padding: .125rem .5rem;
	border-radius: .375rem;
	font-size: .75rem !important;
	font-weight: 600 !important;
}

.wawp-popup p.wawp-error {
	background: #ffd6a4;
	color: #5e4200;
	padding: .125rem .5rem;
	border-radius: .375rem;
	font-size: .75rem !important;
	font-weight: 600 !important;
}

.wawp-popup button {
	padding: 6px 12px;
	cursor: pointer;
}

.wp-list-table {
	margin-top: 10px;
}

.wawp-block-area {
	color: var(--text);
	padding: 1rem;
	background: #fcfcfc;
	border: var(--border);
	border-radius: .5rem;
}

.green {
	color: #0b7;
}

.orange {
	color: #f59e0b;
}

.purple {
	color: #a855f7;
}

.indigo {
	color: #6366f1;
}

.red {
	color: #ef4444;
}

.progress {
	width: 100%;
	background: #eee;
	border-radius: 4px;
	overflow: hidden;
	height: 8px;
	margin-top: .5rem;
}

.progress__bar {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #0b7, #0b9);
	transition: width .6s ease;
	animation: wawp-progress-fill 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes wawp-progress-fill {
	from {
	width: 0;
	}
}

.progress__bar.green {
	background: #0b7;
}

.progress__bar.blue {
	background: #0979ff;
}

.progress__bar.orange {
	background: #f59e0b;
}

.progress__bar.purple {
	background: #a855f7;
}

.progress__bar.indigo {
	background: #6366f1;
}

.progress__bar.red {
	background: #ef4444;
}

.progress__label {
	font-size: .75rem;
	color: var(--text);
	text-align: center;
	white-space: nowrap;
	margin-inline-start: auto;
}

/* Campaign Table Enrichments */
.cex_table td {
	vertical-align: middle !important;
}

.cex_table th {
	white-space: nowrap;
	vertical-align: middle !important;
}

.cex_status_badge {
	padding: 4px 10px !important;
	border-radius: 6px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.cex_table .bi {
	font-size: 1.1em;
}

.cex_actions_group {
	display: flex;
	gap: 8px;
	align-items: center;
}

.cex_actions_group form {
	margin: 0;
}

/* Campaign Actions Dropdown */
.wawp-dropdown {
	position: relative;
	display: inline-block;
}

.wawp-dropdown-trigger {
	background: none;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	padding: 4px 8px;
	cursor: pointer;
	color: #50575e;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wawp-dropdown-trigger:hover {
	background: #f6f7f7;
	border-color: #007cba;
	color: #007cba;
}

.wawp-dropdown-content {
	display: none;
	position: absolute;
	inset-inline-end: 0;
	top: 100%;
	background-color: #fff;
	min-width: 170px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 100;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	padding: 6px 0;
	margin-top: 4px;
}

.wawp-dropdown.open .wawp-dropdown-content {
	display: block;
}

.wawp-dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 8px 16px;
	text-align: start;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 13px;
	color: #1d2327;
	text-decoration: none;
	transition: background 0.2s;
	white-space: nowrap;
}

.wawp-dropdown-item:hover {
	background-color: #f0f6fb;
	color: #007cba;
	text-decoration: none;
}

.wawp-dropdown-item i {
	font-size: 14px;
	width: 16px;
	text-align: center;
}

.wawp-dropdown-item.delete-plain {
	color: #d63638;
}

.wawp-dropdown-item.delete-plain:hover {
	background-color: #fcf0f1;
	color: #d63638;
}

.wawp-dropdown-content form {
	margin: 0;
	display: block;
}

/* Modal Styles */
.wawp-modal-overlay {
	position: fixed;
	top: 0;
	inset-inline-start: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	backdrop-filter: blur(4px);
}

.wawp-modal-content {
	background: #fff;
	border-radius: 12px;
	width: 100%;
	max-width: 450px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	animation: awpModalFadeIn 0.3s ease-out;
	overflow: hidden;
}

@keyframes awpModalFadeIn {
	from {
	opacity: 0;
	transform: translateY(-20px);
	}

	to {
	opacity: 1;
	transform: translateY(0);
	}
}

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

.wawp-modal-header h3.modal-title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: #1e293b;
}

.wawp-modal-close {
	background: none !important;
	border: none !important;
	font-size: 2rem !important;
	cursor: pointer !important;
	color: #64748b !important;
	line-height: .5 !important;
	padding: 0 !important;
	transition: color 0.2s;
	height: auto !important;
	min-height: unset !important;
}

.wawp-modal-close:hover {
	color: #ef4444 !important;
}

.wawp-modal-body {
	padding: 24px;
}

.wawp-modal-body .wawp-field label {
	font-weight: 500;
	color: #475569;
	margin-bottom: 8px;
	display: block;
}

.wawp-modal-body select,
.wawp-modal-body input[type="number"] {
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.875rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.wawp-modal-body select:focus,
.wawp-modal-body input[type="number"]:focus {
	border-color: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
	outline: none;
}

/* Dashboard Utils */
.wawp-notice-box {
	margin-top: 12px;
	padding: 16px;
	border: 1px solid #ccc;
	background: #fff;
}

.wawp-notice-text {
	font-size: 14px;
	margin: 0 0 8px;
}

.wawp-w100 {
	width: 100%;
}

/* System Status */
.wawp-health-dashboard {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	margin: 20px 0 30px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}

.wawp-health-header {
	padding: 24px 32px;
	display: flex;
	align-items: center;
	gap: 24px;
	background: linear-gradient(to inline-end, #ffffff, #f9fafb);
}

.wawp-health-dashboard.status-healthy .wawp-health-header {
	background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.wawp-health-dashboard.status-issues .wawp-health-header {
	background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.wawp-health-icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	flex-shrink: 0;
}

.wawp-health-dashboard.status-healthy .wawp-health-icon {
	background: #dcfce7;
	color: #16a34a;
}

.wawp-health-dashboard.status-issues .wawp-health-icon {
	background: #fee2e2;
	color: #dc2626;
}

.wawp-health-dashboard.status-warning .wawp-health-header {
	background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.wawp-health-dashboard.status-warning .wawp-health-icon {
	background: #ffedd5;
	color: #c2410c;
}

.wawp-health-dashboard.status-healthy .wawp-health-icon i {
	font-size: 32px;
}

.wawp-health-dashboard.status-issues .wawp-health-icon i {
	font-size: 32px;
}

/* Use dashicons as fallback or FontAwesome if available */
.wawp-health-icon .dashicons {
	font-size: 32px;
	width: 32px;
	height: 32px;
}

.wawp-health-text {
	flex-grow: 1;
}

.wawp-health-text h2 {
	margin: 0 0 8px 0;
	font-size: 24px;
	font-weight: 700;
	color: #111827;
	line-height: 1.2;
}

.wawp-health-text p {
	margin: 0;
	font-size: 15px;
	color: #6b7280;
	line-height: 1.5;
}

.wawp-health-action .wawp-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.2s;
	border: none;
	cursor: pointer;
}

.wawp-btn.action-fix {
	background: #dc2626;
	color: #ffffff;
	box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
}

.wawp-btn.action-fix:hover {
	background: #b91c1c;
	transform: translateY(-1px);
}

.wawp-btn.action-guide {
	background: #fff;
	color: #374151;
	border: 1px solid #d1d5db;
	margin-inline-end: 12px;
}

.wawp-btn.action-guide:hover {
	background: #f9fafb;
	border-color: #9ca3af;
}

.wawp-issues-container {
	padding: 0 32px 32px;
	border-top: 1px solid #f3f4f6;
	background: #ffffff;
}

.wawp-issues-title {
	font-size: 16px;
	font-weight: 600;
	color: #374151;
	margin: 24px 0 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.wawp-issue-card {
	background: #fef2f2;
	border: 1px solid #fee2e2;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 12px;
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.wawp-issue-card:last-child {
	margin-bottom: 0;
}

.wawp-issue-icon {
	color: #dc2626;
	margin-top: 2px;
}

.wawp-issue-content {
	flex-grow: 1;
}

.wawp-issue-message {
	font-weight: 500;
	color: #991b1b;
	margin-bottom: 4px;
	font-size: 15px;
}

.wawp-issue-detail {
	font-size: 14px;
	color: #b91c1c;
}

/* Orange/Warning Card Variant - applied when parent has status-warning or can be specific class */
.wawp-health-dashboard.status-warning .wawp-issue-card {
	background: #fff7ed;
	border-color: #ffedd5;
}

.wawp-health-dashboard.status-warning .wawp-issue-icon {
	color: #ea580c;
}

.wawp-health-dashboard.status-warning .wawp-issue-message {
	color: #c2410c;
}

.wawp-health-dashboard.status-warning .wawp-issue-detail {
	color: #ea580c;
}

/* Success State decorations */
.wawp-health-dashboard.status-healthy {
	border-color: #bbf7d0;
}

.wawp-health-dashboard.status-warning {
	border-color: #fed7aa;
}

.wawp-success-details {
	margin-top: 8px;
	display: flex;
	gap: 24px;
}

.wawp-stat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #15803d;
	background: #f0fdf4;
	padding: 4px 10px;
	border-radius: 20px;
	border: 1px solid #dcfce7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.wawp-health-header {
	flex-direction: column;
	text-align: center;
	padding: 24px;
	}

	.wawp-health-text {
	width: 100%;
	}

	.wawp-health-action {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	}

	.wawp-health-action .wawp-btn {
	width: 100%;
	justify-content: center;
	margin-inline-end: 0;
	}
}

/* Loading Overlay */
.wawp-loading-overlay {
	position: fixed;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.9);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
	flex-direction: column;
	font-size: 1.2em;
	color: #555;
	text-align: center;
}

.wawp-spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-inline-start-color: #007cba;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin-bottom: 15px;
}

@keyframes spin {
	0% {
	transform: rotate(0deg);
	}

	100% {
	transform: rotate(360deg);
	}
}

.wawp-status-disabled {
	color: #888;
	font-weight: bold;
}

.button.button-danger {
	background: #d63638;
	border-color: #b62d2f;
	color: #fff;
}

.button.button-danger:hover,
.button.button-danger:focus {
	background: #e04345;
	border-color: #d63638;
}

.wawp-box td ul {
	margin: 0;
	list-style: disc;
	padding-inline-start: 20px;
}

.wawp-chic-header {
	display: flex;
	align-items: start;
	gap: 12px;
}


.wawp-chic-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--heading, #111);
	margin: 0;
}

.wawp-chic-desc {
	font-size: 0.85rem;
	color: var(--text, #666);
	margin: 0;
}



.wawp-country-settings select,
.wawp-country-settings input[type="text"] {
	border-radius: .375rem !important;
	border: var(--border);
	padding: 0 .75rem;
	height: 28px;
	min-height: 28px !important;
	background: var(--light-bg);
}

.wawp-country-settings table.form-table th {
	width: 300px;
	padding: 20px 10px 20px 0;
	vertical-align: top;
}

.wawp-country-settings table.form-table td {
	vertical-align: top;
	padding: 15px 0;
}

.wawp-chic-actions .wawp-badge {
	padding: 4px 10px;
	border-radius: 20px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
}

.wawp-setting-rows {
	display: flex;
	flex-direction: column;
	padding: 0 10px;
}

.wawp-setting-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 24px 0;
	gap: 40px;
}

.wawp-setting-row.no-flex {
	display: block;
}

.wawp-setting-info {
	flex: 1;
	max-width: 600px;
}

.wawp-setting-label {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	color: var(--heading, #111);
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: .5rem;
}

.wawp-setting-control {
	flex-shrink: 0;
	display: flex;
	justify-content: flex-end;
	min-width: 200px;
}

.wawp-setting-divider {
	height: 1px;
	background: #f1f5f9;
	width: 100%;
}

/* Notifications Admin Styles */
.wawp-notif-tabs,
.wawp-notif-tab-content {
	width: 100%;
}

#save_settings_button {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	min-width: 100px;
	height: 28px;
	min-height: 28px;
	border-radius: 6px;
	padding: 4px 8px;
	gap: 4px;
	background: #22C55E;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 0px 0px 0px rgba(0, 0, 0, 0.00), 0px 1px 1px 0px rgba(20, 19, 78, 0.32), 0px 0px 0px 1px #36AE46;
	color: #fff;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px;
	text-transform: capitalize;
	cursor: pointer;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
	white-space: nowrap;
	border: 0;
	justify-content: center;
}

#save_settings_button:hover,
#save_settings_button:focus {
	background: #12AC4B;
	color: #fff;
}

.wawp-notif-settings-page .wawp-notif-tab-content {
	display: none;
	flex-direction: column;
	gap: .5rem;
}

.wawp-notif-settings-page .wawp-notif-tab-content.active {
	display: flex;
}

.wawp-notif-card-content tr {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	margin-bottom: 1.25rem;
}

.wawp-notif-card-content td,
.wawp-notif-card-content th {
	padding: 0;
	text-align: start;
	width: 100%;
	margin: 0;
}

/* Let WP’s media-modal & Thickbox float above our popup backdrop */
/* --- FIXED Z-INDEX ORDER --- */

/* 1. The Plugin Popup (High enough to cover WP Admin) */
#wawp-notif-add-lang-popup,
#wawp-notif-edit-template-popup,
#wawp-notif-copy-lang-popup {
	z-index: 100000 !important;
}

/* 2. The WP Media Backdrop (Must be higher than plugin popup) */
.media-modal-backdrop {
	z-index: 199999 !important;
}

/* 3. The WP Media Modal (Must be highest of all) */
.media-modal,
#TB_window {
	z-index: 200000 !important;
}

#wawp-notif-copy-destination-lang {
	margin-bottom: 15px;
}

#wawp-notif-add-lang-popup,
#wawp-notif-edit-template-popup,
#wawp-notif-copy-lang-popup {
	position: fixed;
	/* Makes it float on top of everything */
	top: 0;
	inset-inline-start: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	/* Semi-transparent black background */
	z-index: 100000;
	/* Ensures it's on top of other WP UI */

	/* Center the content box inside the overlay */
	display: flex;
	align-items: center;
	justify-content: center;
}

/* The white content box */
.wawp-notif-popup-inner {
	background: #ffffff;
	padding: 25px 35px;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
	min-width: 500px;
	/* Set a minimum width */
	max-width: 95%;
	/* Ensure it's responsive */
}

.wawp-notif-popup-inner h3 {
	margin-top: 0;
	font-size: 20px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 15px;
	margin-bottom: 20px;
}

.wawp-notif-popup-inner .button-primary {
	font-size: 14px;
	padding: 4px 15px;
}

#wawp-notif-edit-template-popup #wawp-popup-rule-header {
	font-size: 13px;
	font-weight: 500;
	color: #555;
}

/* ---- “Send To / Send By” inline layout ---------------------------- */
.wawp-send-row {
	display: flex;
	flex-wrap: wrap;
	/* still stacks on mobile */
	align-items: center;
	gap: 12px;
	/* space between the two Select2 boxes */
}

.wawp-send-row .select2-container {
	display: inline-block;
	min-width: 140px;
	/* tweak to taste */
}

.wawp-notif-card-header {
	cursor: move;
}

/* “grab” cursor */
.wawp-card-placeholder {
	background: #f8f8f8;
	border: 2px dashed #c8c8c8;
	margin: 4px 0;
}

.wawp-billing-country-whitelist-filter-table,
.wawp-billing-country-blocklist-filter-table,
.wawp-product-whitelist-filter-table,
.wawp-product-blocklist-filter-table,
.wawp-payment-gateway-filter-table {
	display: none;
}

.notif-header {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.notif-header-info {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	height: fit-content;
}

#wawp-template-steps-container {
	margin-top: 1.25rem;
}

.step tbody {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* ICONS INLINE */
.icons-group {
	display: flex;
	align-items: center;
	width: fit-content;
	padding: 8px;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
	border-radius: .5rem;
}

.channel-icon {
	display: flex;
	align-items: center;
	gap: .25rem;
}

.channel-icon .icon-svg,
.trigger-icon .icon-svg {
	vertical-align: middle;
	width: 2rem;
	height: 2rem;
	padding: .375rem;
	border: 1px solid rgba(74, 85, 101, 0.1);
	background: #fff;
	border-radius: .5rem;
}

.trigger-badges {
	display: flex;
	align-items: center;
	gap: .5rem;
	width: fit-content;
}

.trigger-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	border-radius: .375rem;
	padding: 2px 8px;
	font-size: 11px;
	line-height: 16px;
	font-weight: 500;
	gap: 2px;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
}

.trigger-badge i {
	font-size: 12px !important;
}

.wawp-filter-toggle-row {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	justify-content: space-between;
}

.wawp-filter-toggle-item {
	display: flex;
	align-items: center;
	padding: 1rem;
	border-radius: .5rem;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
	width: 100%;
	gap: 8px;
	justify-content: space-between;
}

.form-table p {
	font-size: 11px !important;
}

.form-table.wawp-filter-toggle-row-container tr {
	margin: 0;
	padding-top: 1.25rem;
	border-top: 1px solid #e3e3e3;
}

.wawp-woo-filters {
	padding: 1rem;
	border-radius: .5rem;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
	gap: 1rem;
	display: flex;
	flex-direction: column;
	margin-top: 1.25rem;
}

.wawp-woo-filters tr {
	margin: 0;
}

.button-small.wawp-notif-edit-button {
	min-width: fit-content;
}

.wawp-notif-duplicate-rule-button {
	min-width: fit-content;
}

.wawp-notif-remove-rule-button {
	min-width: fit-content;
}

.wawp-filter-toggle-row .toggle-label {
	margin: 0;
	font-weight: 500;
	color: var(--heading);
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
}




/* Focus state styling */
.wawp-notif-settings-page .wawp-admin-user-select+.select2-container--default.select2-container--focus .select2-selection--multiple {
	border-color: #007cba;
	/* WP focus color */
	box-shadow: 0 0 0 1px #007cba;
}


/* Clearfix for the rendered items container, if tags are floated */
.wawp-notif-settings-page .wawp-admin-user-select+.select2-container .select2-selection__rendered::after {
	content: '';
	clear: both;
	display: table;
}

/* Adjust width of the Select2 wrapper if needed, though 100% usually works from the original element */
.wawp-notif-settings-page .wawp-admin-user-select+.select2-container {
	width: 100% !important;
	/* Ensure it takes full width of the td */
}

select.wawp-admin-user-select[multiple] {
	visibility: hidden;
	/* Hide the original select until Select2 takes over */
	height: 0;
	width: 0;
	position: absolute;
	/* Take it out of flow */
	inset-inline-start: -9999px;
}

/*─────────────────────────────────────────────────────────────────────────*/
/* PAGE HEADER & “ADD NEW LANGUAGE” BUTTON (FLEX) */
.wawp-notif-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.wawp-notif-page-header h1 {
	display: flex;
	align-items: center;
	margin: 0;
	font-size: 1.8em;
}

.wawp-notif-page-header h1 .icon-svg {
	margin-inline-end: 8px;
}

.wawp-notif-global-flex {
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	width: 100%;
	border-radius: .75rem;
	border: 1px solid #DBDFE9;
	background: #FFF;
	box-shadow: 0px 2px 4px 0px rgba(16, 17, 26, 0.03);
}

.wawp-notif-global-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.wawp-notif-global-item select {
	max-width: 100%;
}

.wawp-notif-tab-container {
	position: relative;
	display: inline-block;
}

.wawp-notif-remove-lang-button {
	cursor: pointer;
	border: 0;
	padding: 0;
	line-height: 1;
	font-size: 1px;
	color: #f00;
	background: transparent;
	border-radius: 4px;
}

.wawp-notif-remove-lang-button:hover {
	background: #f5f5f5;
}

.wawp-notif-main-badge {
	background: #ffeb78;
	color: #4f4700;
}

/*─────────────────────────────────────────────────────────────────────────*/
/* “NOTIFICATION RULES FOR …” HEADER (FLEX) */
.wawp-notif-header-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem;
	width: 100%;
	border-radius: .75rem;
	border: 1px solid #DBDFE9;
	background: #FFF;
	box-shadow: 0px 2px 4px 0px rgba(16, 17, 26, 0.03);
}

.wawp-notif-header-text h3 {
	margin: 0;
	font-size: 1.2em;
	display: flex;
	align-items: center;
	gap: 6px;
}

.wawp-notif-header-action {
	margin-inline-start: 0;
	margin-inline-end: 0;
	display: grid;
	gap: 10px;
}

/*─────────────────────────────────────────────────────────────────────────*/
/* COLLAPSIBLE CARD WRAPPER */

.wawp-notif-card-wrapper {
	background: #fff;
	border-radius: .75rem;
	border: 1px solid #e3e3e3;
	overflow: hidden;
}

.wawp-notif-card-wrapper.expanded {
	outline: 2px solid #0b7;
	box-shadow: 0 0 0 6.55px #0b72;
	margin: .5rem 0;
}

.wawp-notif-card-header {
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	padding: 1rem;
}

.wawp-notif-card-header h4 {
	margin: 0;
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 6px;
}

.wawp-notif-card-header .wawp-switch {
	margin-inline-start: 12px;
}

.wawp-notif-card-wrapper.collapsed .wawp-notif-card-content {
	display: none;
}

.wawp-notif-card-wrapper.expanded .wawp-notif-card-content {
	display: block;
	padding: 1.25rem;
	border-top: 1px solid #e3e3e3;
}

.wawp-notif-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-inline-start: auto;
	margin-inline-end: 12px;
}

.wawp-template-status {
	display: flex;
	align-items: center;
	gap: .25rem;
	font-size: 13px;
	white-space: nowrap;
}

.wawp-template-status i {
	font-size: 13px !important;
}

.template-status-wrapper {
	padding: 1rem .5rem .5rem;
	border-radius: .5rem;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
	margin-top: -8px;
}

.template-status-wrapper div {
	margin-top: .375rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .5rem;
	align-items: center;
}

.template-status-wrapper p {
	grid-column: 1 / -1;
	font-size: 11px !important;
	color: #646970;
}

/*─────────────────────────────────────────────────────────────────────────*/
/* CSS FOR SELECT OPTION ICONS */
select.wawp-rule-trigger-select option {
	padding-inline-start: 24px;
	background-repeat: no-repeat;
	background-position: inline-start center;
}

select.wawp-rule-sender-dropdown option {
	padding-inline-start: 24px;
	background-repeat: no-repeat;
	background-position: inline-start center;
}

select.wawp-rule-sender-dropdown option.sendto-user-whatsapp {
	background-image: url('{$icon_base}whatsapp.svg');
}

select.wawp-rule-sender-dropdown option.sendto-admin-whatsapp {
	background-image: url('{$icon_base}whatsapp.svg');
}

select.wawp-rule-sender-dropdown option.sendto-user-email {
	background-image: url('{$icon_base}email.svg');
}

select.wawp-rule-sender-dropdown option.sendto-admin-email {
	background-image: url('{$icon_base}email.svg');
}

select.wawp-rule-sender-dropdown option.sendto-user-both {
	background-image: url('{$icon_base}whatsapp.svg'),
	url('{$icon_base}email.svg');
	background-position: inline-start center, inline-end center;
	background-size: 16px 16px;
	padding-inline-end: 24px;
}

select.wawp-rule-sender-dropdown option.sendto-admin-both {
	background-image: url('{$icon_base}whatsapp.svg'),
	url('{$icon_base}email.svg');
	background-position: inline-start center, inline-end center;
	background-size: 16px 16px;
	padding-inline-end: 24px;
}

select.wawp-rule-sender-dropdown option.sendto-user-admin-whatsapp {
	background-image: url('{$icon_base}whatsapp.svg');
}

select.wawp-rule-sender-dropdown option.sendto-user-admin-email {
	background-image: url('{$icon_base}email.svg');
}

select.wawp-rule-sender-dropdown option.sendto-user-admin-both {
	background-image: url('{$icon_base}whatsapp.svg'),
	url('{$icon_base}email.svg');
	background-position: inline-start center, inline-end center;
	background-size: 16px 16px;
	padding-inline-end: 24px;
}

/*─────────────────────────────────────────────────────────────────────────*/
/* DELAY FIELDS */
.delay-fields {
	display: none;
}

.delay-fields.active {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: 1rem .5rem .5rem;
	border-radius: .5rem;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
	margin-top: -8px;
}

/*─────────────────────────────────────────────────────────────────────────*/
/* IMAGE UPLOADER */
.wawp-notif-settings-page .image-url-field {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wawp-notif-media-upload-button {
	white-space: nowrap;
}

/*─────────────────────────────────────────────────────────────────────────*/
/* MULTI-SELECT USER FIELD (Select2) */
.wawp-admin-user-select {
	width: 100% !important;
}

[class^="admin-user-row-"] {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: 1rem .5rem .5rem;
	border-radius: .5rem;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
	margin-top: -8px;
}

[class^="admin-user-row-"] p {
	font-size: 11px !important;
}

[class^="admin-user-row-"] td {
	margin: 0 !important;
}


.template-status-wrapper label,
[class^="admin-user-row-"] label {
	font-size: 13px !important;
}

.wawp-product-image-switch-row tr {
	flex-direction: row;
	align-items: center;
	padding: 1rem;
	border-radius: .5rem;
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid rgba(74, 85, 101, 0.1);
	margin-top: 1.25rem;
}

.wawp-product-image-switch-row p {
	font-size: 11px;
	margin-top: .5rem !important;
}

.wawp-product-image-switch-row td {
	width: 100%;
}


/*─────────────────────────────────────────────────────────────────────────*/
/* ADD LANGUAGE POPUP OVERLAY & CONTENT */
#wawp-notif-add-lang-popup {
	display: none;
	position: fixed;
	z-index: 999999999;
	inset-inline-start: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

#wawp-notif-add-lang-popup .wawp-notif-popup-inner {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	background: #fff;
	padding: 1.25rem;
	border-radius: .75rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	max-width: 400px;
	position: absolute;
	top: 50%;
	inset-inline-start: 50%;
	transform: translate(-50%, -50%);
}

/*─────────────────────────────────────────────────────────────────────────*/
/* EDIT TEMPLATE POPUP OVERLAY & CONTENT */
#wawp-notif-edit-template-popup {
	display: none;
	position: fixed;
	z-index: 10000;
	inset-inline-start: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

#wawp-notif-edit-template-popup .wawp-notif-popup-inner {
	background: #fff;
	max-width: 600px;
	/* wider to fit navigation tabs */
	margin: 160px auto;
	padding: 20px;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	position: relative;
}

#wawp-notif-edit-template-popup .navigation-tabs {
	display: flex;
	border: 0;
	margin: 1rem 0;
	font-weight: 600;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	font-size: 14px;
	align-items: center;
	background-color: #e5e7eb;
	border-radius: .5rem;
	padding: .25rem;
	gap: .25rem;
	width: 100%;
}

#wawp-notif-edit-template-popup .navigation-tabs button {
	position: relative;
	padding: .75rem !important;
	text-decoration: none !important;
	background-color: transparent !important;
	border: 0;
	cursor: pointer;
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
	font-size: inherit;
	margin: 0;
	opacity: .7;
	border-radius: .375rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .25rem;
	width: 100%;
	color: #50575e;
	font-size: 13px;
}

#wawp-notif-edit-template-popup .navigation-tabs button.active {
	opacity: 1;
	background: #fff !important;
	box-shadow: 0 0 0 1px #2c405e0f, 0 1px 1px #2c405e0a, 0 2px 4px #2c405e14;
	color: #044;
}

#wawp-notif-edit-template-popup .step tr {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

#wawp-notif-edit-template-popup .step th,
#wawp-notif-edit-template-popup .step td {
	padding: 0;
}

#wawp-notif-edit-template-popup .step {
	display: none;
}

#wawp-notif-edit-template-popup .step.active {
	display: block;
}

#wawp-notif-edit-template-popup .step h4 {
	margin-bottom: 10px;
	font-size: 1.1em;
}

#wawp-notif-edit-template-popup .navigation-buttons {
	margin-top: 20px;
	text-align: end;
}

#wawp-popup-rule-header {
	font-size: 16px;
	line-height: 30px;
}


/* Custom Image Upload Box Styling */
.wawp-custom-image-wrapper {
	margin-top: 10px;
}

.wawp-upload-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #F8FAFC;
	/* Light bluish-gray background */
	border: 1px dashed #CBD5E1;
	/* Dashed gray border */
	border-radius: 6px;
	padding: 8px 12px;
	width: 100%;
	box-sizing: border-box;
}

/* Make the text input invisible (transparent) so it looks like placeholder text
	but is still editable if user wants to paste a URL */
.wawp-upload-input {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	width: 100%;
	color: #64748B;
	font-size: 13px;
	padding: 0 !important;
	margin: 0 !important;
}

.wawp-upload-input:focus {
	outline: none !important;
	box-shadow: none !important;
}

/* Style the "Upload image" button to look like a link/text button */
.wawp-upload-btn {
	background: transparent;
	border: none;
	color: #0F5132;
	/* Dark green color from screenshot */
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
	padding: 0;
	margin-inline-start: 10px;
}

.wawp-upload-btn:hover {
	color: #0a3622;
	text-decoration: underline;
}

/* Notification Type Selector Popup */
#wawp-notif-type-selector-popup {
	display: none;
	position: fixed;
	z-index: 100000;
	inset-inline-start: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.notif-type-option {
	background: #fff;
	border: 2px solid #e3e3e3;
	border-radius: 8px;
	padding: 1.5rem 1rem;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.notif-type-option:hover {
	border-color: #3b82f6;
	background: rgba(59, 130, 246, 0.1);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notif-type-option i {
	font-size: 2.5rem;
	color: #3b82f6;
}

.notif-type-option span {
	font-weight: 500;
	color: #333;
	font-size: 0.9rem;
}

.notif-type-option:hover span {
	color: #3b82f6;
}


.wawp-chic-icon-box {
	min-width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: var(--border);
	background: var(--light-bg);
}

.wawp-chic-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
}

.wawp-chic-desc {
	font-size: 0.85rem;
	margin: 0;
}

.wawp-setting-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 24px 20px;
	gap: 40px;
}

.wawp-setting-row:not(:last-child) {
	border-bottom: 1px solid #f1f5f9;
}

.wawp-setting-info {
	flex: 1;
	max-width: 600px;
}

.wawp-setting-control {
	flex-shrink: 0;
	display: flex;
	justify-content: flex-end;
	min-width: 200px;
	align-items: center;
}


/* Campaigns Admin */
.cex_header_container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
	max-width: 700px;
	margin-inline-start: auto;
	margin-inline-end: auto;
}

.cex_header_top {
	margin-bottom: -1rem;
}

.cex_back_link {
	font-size: 14px;
	color: #4B5675;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
}

.cex_back_link:hover {
	color: #1B84FF;
}

.cex_header_main {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.cex_header_main h2.page-title {
	font-size: 28px;
	font-weight: 700;
	color: #071437;
	margin: 0;
	text-transform: none;
	line-height: 1.2;
}


/* Revised Recipients Info */
.cex_recipients_info {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0;
	border-bottom: 0;
	margin-top: 0;
}

.cex_recipients_label {
	font-weight: 700;
	color: #071437;
	font-size: 15px;
}

.cex_recipients_icons {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.cex_recipients_icons>div {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	color: #071437;
}

.wa-icon {
	color: #25D366;
	font-size: 20px !important;
}

.meta-icon {
	color: #1877F2;
	font-size: 20px !important;
}

.email-icon {
	color: #555;
	font-size: 20px !important;
}


.cex_step {
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	flex: 1;
	gap: 1.25rem;
	width: 100%;
	max-width: 700px;
	border-radius: .75rem;
	border: 1px solid #DBDFE9;
	background: #FFF;
	box-shadow: 0px 2px 4px 0px rgba(16, 17, 26, 0.03);
}

.cex_form_table tbody {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.cex_form_table tr {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.cex_form_table th {
	padding: 0;
	width: 100%;
	text-align: start;
	font-weight: 500;
	vertical-align: middle;
	color: var(--heading);
}

.cex_form_table td {
	padding: 0;
	vertical-align: middle;
	margin: 0;
}

.cex_actions_group {
	display: flex;
	gap: .5rem;
	width: fit-content;
}

.cex_form_table .description {
	font-size: 12px !important;
	color: var(--text);
	display: block;
	margin-top: 6px !important;
	line-height: 1.5;
}

.cex_hr_tight {
	border: 0;
	border-top: 1px solid #e0e0e0;
	margin: 10px 0 15px 0;
}

/* Input field styling */
.cex_input_error,
input.cex_input_error,
textarea.cex_input_error,
select.cex_input_error {
	border-color: #d63638 !important;
	box-shadow: 0 0 0 1px #d63638 !important;
	border-radius: 4px !important;
}

.cex_field_error {
	display: block;
	color: #d63638;
	font-size: 0.9em;
	margin-top: 5px;
	font-style: italic;
}

#wp-email_message_editor-wrap.cex_input_error .wp-editor-container,
.wp-editor-wrap.cex_input_error .wp-editor-container {
	border: 1px solid #d63638 !important;
	box-shadow: 0 0 0 1px #d63638 !important;
}

.cex_required {
	color: #d63638;
	margin-inline-start: 2px;
	font-weight: bold;
}

/* Select2 Overrides */
.select2-container .select2-selection--multiple {
	border: 1px solid #8c8f94;
	border-radius: 3px;
	min-height: 38px;
	padding: 2px 5px;
	background-color: #fff;
}

.select2-dropdown {
	border: 1px solid #8c8f94;
	border-radius: 0 0 3px 3px;
	z-index: 99999;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid #8c8f94;
	border-radius: 3px;
	padding: 6px 8px;
}

.select2-container--default .select2-selection--single {
	height: 38px;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	background-color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 36px;
	padding-inline-start: 10px;
	color: #32373c;
}

.select2-container.cex_input_error .select2-selection {
	border-color: #d63638 !important;
	box-shadow: 0 0 0 1px #d63638 !important;
}

.cex_step_nav {
	margin-top: 2rem !important;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cex_step_nav .button {
	margin-inline-end: 10px;
}

.cex_step_nav .button:last-child {
	margin-inline-end: 0;
}

.cex_button_large {
	padding: 8px 18px !important;
	font-size: 1.05em !important;
	height: auto !important;
}

.cex_warning_text {
	color: #d9534f;
	font-weight: bold;
}

.cex_warning_text .bi {
	color: #d9534f;
}

.cex_form_table .btn-group {
	margin-bottom: .5rem;
}

.cex_form_table .btn-group>* {
	flex: 1;
}

#external_numbers,
#external_emails {
	min-height: 10rem;
	max-height: 10rem;
	color: var(--text);
	padding: 12px 60px 12px 12px;
	background: #fcfcfc;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.cex_preview_box {
	margin-top: .75rem;
	padding: .75rem;
	border: 1px dashed #ccc;
	background-color: #fdfdfd;
	max-width: 100%;
	font-size: 0.95em;
	border-radius: .25rem;
}

.camp_preview_img {
	max-width: 150px;
	border-radius: 3px;
	margin-top: 6px;
	border: 1px solid #e0e0e0;
}

.cex_media_preview_img {
	max-width: 200px;
	max-height: 150px;
	border: 1px solid #ddd;
	padding: 3px;
	display: block;
}

.cex_media_preview_link {
	display: inline-block;
	padding: 5px 10px;
	background: #f0f0f1;
	border: 1px solid #ccd0d4;
	border-radius: 3px;
	text-decoration: none;
	color: #22c55e;
}

.cex_media_preview_link:hover {
	background: #e0e0e1;
	border-color: #b4b9be;
}

.cex_append_options {
	margin-top: 1.25rem;
	padding: 1.25rem;
	background-color: #f9f9f9;
	border-radius: .375rem;
	font-size: 0.95em;
	border: 1px solid #e5e5e5;
}

.cex_append_options label {
	margin-inline-end: 15px;
	display: inline-block;
	margin-bottom: 5px;
}

.cex_append_options strong {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

/* Switch Styling */
.switch-container {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	font-size: 14px;
	color: #32373c;
	vertical-align: middle;
	user-select: none;
}

.switch-container+.switch-container {
	margin-inline-start: 20px;
}

.switch-container input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.switch {
	position: relative;
	display: inline-block;
	width: 34px;
	height: 18px;
	margin-inline-end: 8px;
	vertical-align: middle;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	bottom: 0;
	background-color: #a7aaad;
	transition: .2s;
	border-radius: 18px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 12px;
	width: 12px;
	inset-inline-start: 3px;
	bottom: 3px;
	background-color: #fff;
	transition: .2s;
	border-radius: 50%;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

input:checked+.switch .slider {
	background-color: #22c55e;
}

input:focus+.switch .slider {
	box-shadow: 0 0 0 1px #22c55e, 0 0 2px 1px rgba(44, 122, 175, 0.8);
}

input:checked+.switch .slider:before {
	transform: translateX(16px);
}

.rtl input:checked+.switch .slider:before {
	transform: translateX(-16px);
}

/* Specific styling for active channel labels */
.switch-container input:checked~span {
	color: #1d2327;
	font-weight: 600;
}

#whatsapp_recipients_info .wa-icon {
	color: #25D366;
}

#meta_recipients_info .meta-icon {
	color: #1877F2;
}

#email_recipients_info .email-icon {
	color: #1d2327;
}


/* Table Styling */
.cex_table {
	width: 100%;
	border-radius: .75rem;
	border: 1px solid #DBDFE9;
	background: #FFF;
	box-shadow: 0px 2px 4px 0px rgba(16, 17, 26, 0.03);
}

.cex_table thead {
	border-top: 1px solid #ededed;
}

.cex_table tr,
.wawp-table tr:last-child {
	display: flex;
	border-bottom: 1px solid #ededed;
	border-top: 0;
}

.cex_table th,
.cex_table td {
	white-space: wrap;
	padding: 1rem;
	overflow: visible;
	line-clamp: unset;
	flex: 1;
}

.cex_table th:first-child,
.cex_table td:first-child {
	flex: 0;
}

.cex_table th:nth-child(3),
.cex_table td:nth-child(3) {
	max-width: 320px;
}

.cex_table th:last-child,
.cex_table td:last-child {
	flex: 1.5;
	max-width: 100%;
}

.cex_table tr:nth-child(even) td {
	background: #fdfdfd;
}

.cex_table tr:hover td {
	background: #f0f5fa;
}

.button-link-delete {
	color: #b32d2e !important;
	border-color: transparent !important;
	text-decoration: underline;
}

.button-link-delete:hover {
	color: #d63638 !important;
	background-color: transparent !important;
	border-color: transparent !important;
	text-decoration: none;
}

.cex_status_badge {
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	line-height: 1;
	text-transform: capitalize;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .25rem;
	width: fit-content;
}

.cex_status_active {
	background-color: #e7f7df;
	color: #277700;
	border: 1px solid #c6e1a6;
}

.cex_status_completed_repeats {
	background-color: #eef7fa;
	color: #005a87;
	border: 1px solid #a2d1e1;
}

.wawp-cards.mail-logs {
	flex-direction: row;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: 2.5rem;
}

.wawp-cards.mail-logs>* {
	max-width: calc((100% - 1rem)/3);
	flex: auto;
	gap: .5rem;
}

.wawp-cards.mail-logs .card_number {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
	color: #044;
}

.tablenav {
	height: auto;
	margin: 0 0 .5rem;
	padding: 0;
}

.cex_status_completed {
	background-color: #affebf;
	color: #014b40;
}

.cex_status_risky {
	background-color: #fed1d7;
	color: #8e0b21;
}

.cex_status_paused {
	background-color: #ffeb78;
	color: #4f4700;
}

.cex_status_unknown,
.cex_status_info {
	background-color: #d5ebff;
	color: #003a5a;
}

.cex_status_opened {
	background-color: #affebf;
	color: #014b40;
}

.cex_progress_bar_container {
	width: 100%;
	height: 12px;
	background-color: #e9ecef;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	margin-bottom: 4px;
	border: 1px solid #ccc;
}

.cex_progress_bar_segment {
	height: 100%;
	float: inline-start;
	transition: width .6s ease;
}

.cex_progress_sent {
	background-color: #28a745;
}

.cex_progress_error {
	background-color: #dc3545;
}

.cex_progress_details {
	font-size: 0.85em;
	color: #555;
	display: block;
	margin-top: 2px;
}

.cex_progress_details_inline {
	font-size: 0.85em;
	color: #555;
}

.text-success {
	color: #28a745;
}

.text-danger {
	color: #dc3545;
}

.cex_hr {
	border: 0;
	border-top: 1px solid #ccd0d4;
	margin: 25px 0;
}

.notice.is-dismissible {
	margin-bottom: 15px;
}

.cex_step_error_summary,
#cex_form_error_summary {
	margin-bottom: 15px !important;
	border-inline-start-width: 4px;
}

.cex_step_error_summary ul {
	margin-top: 5px;
	margin-inline-start: 20px;
	list-style: disc;
}

.cex_table td .bi-whatsapp {
	color: #25D366;
	font-size: 1.3em;
}

.cex_table td .bi-envelope-fill {
	color: #0073aa;
	font-size: 1.3em;
}


/* Summary Details List */
.cex_summary_details_list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cex_summary_details_list li {
	padding: 8px 0;
	display: flex;
	align-items: center;
	font-size: 14px;
	gap: 1.25rem;
}

.cex_summary_details_list li:last-child {
	border-bottom: none;
}

.cex_summary_details_list li span.value {
	color: var(--text);
}

.cex_summary_details_list li span.text-danger {
	font-weight: bold;
}


.select2-search__field {
	margin-bottom: 7px;
}

/* Updated Steps Indicator for "Line and Box" Style */
.steps__indecator {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	position: relative;
	padding: 0 10px;
}

.steps__indecator::before {
	content: '';
	height: 2px;
	background: #E1E3EA;
	position: absolute;
	top: 20px;
	inset-inline-start: 40px;
	inset-inline-end: 40px;
	z-index: 0;
}

.cex__step_indecator {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	position: relative;
	z-index: 1;
	width: 80px;
}

.cex_step_circle {
	width: 40px;
	height: 40px;
	background: #fff;
	border: 1px solid #E1E3EA;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
	transition: all 0.3s ease;
}

.cex_step_circle a {
	text-decoration: none !important;
	font-weight: 600;
	font-size: 16px;
	color: #B5B5C3;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cex__step_indecator p {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #7E8299 !important;
	margin: 0 !important;
	text-align: center;
	white-space: nowrap;
}

/* Active and Completed States */
.cex__step_indecator.active .cex_step_circle {
	background: #00C24B;
	border-color: #00C24B;
}

.cex__step_indecator.active .cex_step_circle a {
	color: #fff;
}

.cex__step_indecator.active p {
	color: #00C24B !important;
	font-weight: 700 !important;
}

.cex__step_indecator.completed .cex_step_circle {
	border-color: #00C24B;
}

.cex__step_indecator.completed .cex_step_circle a {
	color: #00C24B;
}


.form-table.cex_form_table {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.form-table.cex_form_table .btn-group {
	gap: 1.25rem;
}

.form-table.cex_form_table label {
	margin-bottom: 6px;
}

.set__timedate {
	position: relative;
	display: flex;
	justify-content: end;
	gap: .5rem;
}

.set__timedate #btn-now {
	height: 40px;
}

.cex_step #select2-post_id_select-container,
.cex_step #select2-product_id_select-container {
	width: fit-content;
	margin-inline-end: auto;
}

.cex_step .select2-selection__clear,
.cex_step .select2-selection__clear {
	margin-inline-end: 0 !important;
	order: 1;
	margin-inline-end: 2rem !important;
}

#cex_extra_info {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

#cex_extra_info .card-title {
	margin-bottom: 1rem;
}

#cex_extra_info label {
	min-width: 200px;
}

/* Active Step Indicator */
.cex__step_indecator.active a {
	background-color: #22c55e;
	color: #fff;
	border-color: #22c55e;
}

.cex__step_indecator.active p {
	color: #22c55e;
	font-weight: 600;
}

/* Review Step Summary Redesign */
.cex_summary_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e0e0e0;
}

.cex_summary_header h4 {
	margin: 0;
	font-size: 1.3em;
}

.cex_summary_channels {
	display: flex;
	gap: .5rem;
}

.cex_channel_badge {
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.85em;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.cex_channel_badge.wa {
	background: #e7f7df;
	color: #277700;
	border: 1px solid #c6e1a6;
}

.cex_channel_badge.meta {
	background: #eef7fa;
	color: #005a87;
	border: 1px solid #a2d1e1;
}

.cex_channel_badge.email {
	background: #f0f0f1;
	color: #50575e;
	border: 1px solid #dcdcde;
}

.cex_channel_badge.error {
	background: #fbeaea;
	color: #d63638;
	border: 1px solid #f9c9c9;
}

.cex_summary_grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

.cex_summary_block h5 {
	margin: 0 0 .75rem;
	font-size: 1em;
	font-weight: 600;
	color: #1d2327;
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid #eee;
	padding-bottom: .5rem;
}

.cex_summary_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cex_summary_list li {
	font-size: 0.9em;
	margin-bottom: 8px;
	color: #50575e;
	line-height: 1.4;
}

.cex_summary_list li:last-child {
	margin-bottom: 0;
}

.cex_summary_list .label {
	color: #3c434a;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-inline-end: 4px;
}

.cex_summary_list .label i {
	font-size: 1.1em;
}

.all-label {
	color: #8c8f94;
	font-style: italic;
	font-weight: 400;
	background: #f0f0f1;
	padding: 1px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}

/* Subtle Hover Effect for Summary Blocks */
.cex_summary_block {
	background: #fafafa;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 1.25rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cex_summary_block:hover {
	background: #ffffff;
	border-color: #ccd0d4;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}


.cex_summary_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cex_summary_list li strong {
	color: #1d2327;
}

/* Abandoned Cart Admin */
.wac-page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #ddd;
}

.wac-page-header h1 {
	margin: 0;
	font-size: 2em;
	color: #2c3e50;
}


.wac-actions {
	display: flex;
	gap: 10px;
}

/* Improved Button Styles */
.wac-actions .button {
	font-weight: 600;
	transition: all 0.2s ease-in-out;
}

.wac-actions .button-danger {
	background-color: #d9534f;
	border-color: #d43f3a;
	color: #fff;
}

.wac-actions .button-danger:hover {
	background-color: #c9302c;
	border-color: #ac2925;
	color: #fff;
}

.wawp-table th,
.wawp-table td {
	max-width: 100% !important;

}

.ab-cart-table th:last-child,
.ab-cart-table td:last-child {
	flex: 1.5;
}

.cart-status-tabs {
	background: #f7f7f7;
}

#wac-clear-selected {
	display: none;
}


/* Toolbar for search and actions */
.wawp-toolbar {
	margin-bottom: 1.25rem;
}

/* Live Search Bar Styling */
.live-search-bar {
	position: relative;
}

#wawp-live-search {
	width: 100%;
	max-width: 100%;
	padding: .5rem .75rem;
	border: 1px solid #ccd0d4;
	border-radius: .5rem !important;
	background-color: #fff;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%238c8f94" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>');
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 16px;
	height: 42px;
	padding-inline-start: 2.25rem;
}

.card-header_row.with-tabs {
	padding: 1.25rem;
}

/* Table Styling */
.wp-list-table {
	margin-top: 20px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

.wp-list-table th,
.wp-list-table td {
	padding: 12px 15px;
	vertical-align: top;
	border-bottom: 1px solid #eee;
}

.wp-list-table th {
	background-color: #f8f8f8;
	font-weight: 700;
	color: #333;
	text-align: start;
	white-space: nowrap;
}

.wp-list-table tbody tr:last-child td {
	border-bottom: none;
}

.wp-list-table tbody tr:hover {
	background-color: #f5f5f5;
}

/* Icons and Detail Items */
.wp-list-table i.bi {
	margin-inline-end: 5px;
	color: #666;
}

.ab-cart-table thead {
	border-top: 1px solid #ededed;
}

.ab-cart-table tr,
.wawp-table tr:last-child {
	display: flex;
	border-bottom: 1px solid #ededed;
	border-top: 0;
}

.ab-cart-table th,
.ab-cart-table td {
	white-space: wrap;
	padding: 1rem;
	overflow: visible;
	-webkit-line-clamp: unset;
	flex: 1;
}

.ab-cart-table th:first-child,
.ab-cart-table td:first-child {
	flex: 0;
}

.cart_fullname {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--heading);
}

.data_group {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.data_group.fullname {
	gap: .25rem;
	margin-bottom: .75rem;
}

.wac-detail-item {
	display: flex;
	align-items: center;
	gap: .5rem;
	line-height: 1.5;
	font-size: .875rem;
	color: var(--text);
}

.wac-detail-item.country {
	flex-wrap: wrap;
	row-gap: 0;
}

.wac-detail-item i {
	font-size: .75rem;
	line-height: 1;
}

.wac-detail-item a {
	opacity: 1;
}

.wac-meta {
	opacity: .5;
}

.wac-favicon {
	vertical-align: middle;
	width: 16px;
	height: 16px;
	border-radius: 2px;
	margin-bottom: 2px;
}

.guest {
	background: #f9fafb;
	color: #4a5565;
	border: 1px solid #6a728250;
}

.user {
	background: #eff6ff;
	color: #1447e6;
	border: 1px solid #1447e650;
}

/* Status Badges */
.wac-status-badge {
	display: flex;
	padding: 0.25rem .5rem;
	border-radius: .5rem;
	font-size: .875rem;
	font-weight: 500;
	text-transform: capitalize;
	text-align: center;
	justify-content: center;
	width: fit-content;
	line-height: 1.5;
}

.wac-status-badge.new {
	background: #f1f1f2;
	color: #3f3f46;
	direction: inherit;
}

.wac-status-badge.potential.customer {
	background: #dcecff;
	color: #193cb8;
}

.wac-status-badge.shopping {
	background: #ffedbf;
	color: #bb4d00;
}

.wac-status-badge.purchased {
	background: #cdf9e3;
	color: #016630;
}

.wac-status-badge.returning.customer {
	background: #f3e4ff;
	color: #8200db;
}

.wac-notification-progress {
	display: flex;
	align-items: center;
	gap: .5rem;
	line-height: 1.5;
	font-size: .875rem;
	color: var(--text);
}

.wac-coupon-code {
	display: flex;
	align-items: center;
	gap: .5rem;
	line-height: 1.5;
	font-size: .875rem;
	color: var(--text);
}


.wac-online-status {
	display: flex;
	align-items: center;
	gap: .5rem;
	line-height: 1.5;
	font-size: .875rem;
	color: #28a745;
	/* Green */
	font-weight: 600;
}

.wac-offline-status {
	display: flex;
	align-items: center;
	gap: .5rem;
	line-height: 1.5;
	font-size: .875rem;
	color: #dc3545;
	/* Red */
	font-weight: 600;
}

.wac-order-link i.bi {
	margin-inline-end: 5px;
}

/* Cart Contents */
.wac-cart-summary {
	display: flex;
	align-items: center;
	gap: .5rem;
	line-height: 1.5;
	font-size: .875rem;
	color: var(--text);
}

.wac-cart-summary i {
	font-size: 1rem !important;
	line-height: 1;
}

.wac-empty-cart {
	opacity: .5;
}

.last_link {
	max-width: 20ch;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
}

/* Modal Styling */
.wac-modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 100000;
	/* Sit on top */
	inset-inline-start: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgba(0, 0, 0, 0.6);
	/* Black w/ opacity */
	justify-content: center;
	align-items: center;
	padding-top: 50px;
	/* Space for top bar */
}

.wac-modal-content {
	background-color: #fbfbfb;
	margin: auto;
	padding: 1.25rem;
	width: 90%;
	max-width: 700px;
	border-radius: .75rem;
	position: relative;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	animation-name: animatetop;
	animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
	from {
	top: -300px;
	opacity: 0
	}

	to {
	top: 0;
	opacity: 1
	}
}

@keyframes animatetop {
	from {
	top: -300px;
	opacity: 0
	}

	to {
	top: 0;
	opacity: 1
	}
}

.wac-modal-close {
	color: #ccc;
	font-size: 2rem;
	cursor: pointer;
	position: absolute;
	inset: 1.25rem 1.25rem auto auto;
	font-weight: 300;
}

[dir="rtl"].wac-modal-close {
	color: #ccc;
	font-size: 2rem;
	cursor: pointer;
	position: absolute;
	inset: 1.25rem auto auto 1.25rem;
	font-weight: 300;
}

.wac-modal-close:hover,
.wac-modal-close:focus {
	color: var(--heading);
	text-decoration: none;
}

.wac-modal-title {
	margin-top: 0;
	margin-bottom: 1.25rem;
	color: var(--heading);
	font-size: 1.25rem;
	border-bottom: 1px solid #ededed;
	padding-bottom: 1.25rem;
}

.wac-modal-body {
	max-height: 70vh;
	/* Limit height for scrollable content */
	overflow-y: auto;
	padding-inline-end: 1.25rem;
	/* Space for scrollbar */
}

/* History Timeline */
.wac-timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wac-timeline-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 9999999999;
	flex-wrap: wrap;
}

.wac-timeline-time {
	font-size: .75rem;
	color: var(--text);
	opacity: .5;
	margin-inline-start: auto;
}

.wawp-timeline::before {
	content: "";
	position: absolute;
	inset-inline-start: 7.5px;
	height: 100%;
	width: 1px;
	background: #ccc;
}

[dir="rtl"].wawp-timeline::before {
	content: "";
	position: absolute;
	inset-inline-end: 7.5px;
	height: 100%;
	width: 1px;
	background: #ccc;
}

.history_data {
	display: flex;
	align-items: center;
	gap: .5rem;
	line-height: 1.5;
	font-size: .875rem;
	color: var(--text);
}

.history_data .wac-meta {
	font-size: .75rem;
}

.history_data i {
	font-size: 1rem;
	line-height: 1;
	background: #fff;
	padding: .25rem 0;
}

.wac-timeline-item strong {
	color: var(--heading);
}

.history_link {
	max-width: 20ch;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
}

/* Cart Details Modal Specifics */
.wac-cart-item {
	display: flex;
	align-items: center;
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px dashed #e0e0e0;
}

.wac-cart-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.wac-cart-item img {
	width: 64px;
	height: 64px;
	border-radius: .5rem;
	margin-inline-end: .75rem;
	object-fit: cover;
	border: 1px solid #e0e0e0;
}

.wac-item-details {
	flex-grow: 1;
	text-align: start;
}

.wac-item-details a {
	font-size: 1rem;
	font-weight: 600;
}


.wac-item-details p {
	margin: .125rem 0 !important;
	color: var(--text);
	font-size: .75rem !important;
}

/* Pagination */
.tablenav-pages {
	display: flex;
	align-items: center;
	justify-content: end;
	padding: 1.25rem;
}

.tablenav .tablenav-pages .page-numbers {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 2px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #22c55e;
}

.tablenav .tablenav-pages .page-numbers.current {
	background-color: #22c55e;
	color: #fff;
	border-color: #22c55e;
}

.tablenav .tablenav-pages .page-numbers:hover:not(.current) {
	background-color: #f0f0f0;
}

/* User ID display */
.wac-user-id {
	font-size: 0.8em;
	color: #888;
	font-weight: normal;
}

/* Wizard Admin */
#wawp-wizard-modal .select2-container {
	z-index: 999999 !important;
}

#wawp-wizard-modal {
	position: fixed;
	top: 0;
	inset-inline-start: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
}

#wawp-wizard-content {
	background: #fff;
	position: relative;
	padding: 24px;
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	box-shadow: var(--xl-shadow);
	overflow: scroll;
}

.buttons-sys-error {
	gap: 10px;
	display: flex;
	margin-top: 20px;
}

#wawp-wizard-close {
	position: absolute;
	top: 24px;
	inset-inline-end: 24px;
	font-size: 40px;
	cursor: pointer;
	background: none;
	border: none;
	color: #072929;
	line-height: .5;
	padding: 0;
	opacity: .6;
	font-weight: 200;
}

.wawp-step {
	display: none;
}

.wawp-step.active {
	display: flex;
	height: 100%;
	flex-direction: column;
	justify-content: space-between;
}


#wawp-floating-launch {
	background-color: #fff;
	color: #044;
	box-shadow: var(--xl-shadow);
	align-items: center;
	height: 38px;
}

#wawp-floating-launch:hover,
#wawp-floating-launch:active,
#wawp-floating-launch:focus {
	opacity: .9;
}

.wawp-progress-container {
	display: flex;
	justify-content: center;
	gap: 12px;
	background: #fff;
}

.wawp-progress-step {
	width: 36px;
	height: 6px;
	border-radius: 10px;
	background: #E2E2E2;
	position: relative;
}

.wawp-progress-step.active {
	background: var(--wawp-green);
}

.wawp-progress-step::after {
	content: '';
	position: absolute;
	top: 50%;
	inset-inline-end: -25px;
	transform: translateY(-50%);
	width: 40px;
	height: 4px;
	background: #444;
	z-index: -1;
}

.wawp-progress-step:last-child::after {
	display: none;
}

/* Hide the second progress container at the bottom if desired */
#wawp-wizard-content>.wawp-progress-container:last-of-type {
	display: none !important;
}

#wawp-wizard-content h1 {
	font-size: 36px;
	line-height: 1.6;
	margin: 0;
	color: var(--heading);
	font-weight: 700;
}

#wawp-wizard-content p {
	color: var(--text);
	font-size: 16px !important;
}

.wawp-finish-actions {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.wawp-finish-actions .wawp-btn {
	height: 44px;
}

.step-txt {
	font-weight: 700;
	color: var(--wawp-green) !important;
	;
	letter-spacing: 1px;
}

.step-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: auto;
	gap: 40px;
}

.step-content .sync-card {
	padding: 12px;
	border: var(--border);
	box-shadow: var(--sm-shadow);
	border-radius: 12px;
	background: #fff;
	display: flex;
	gap: 24px;
	align-items: center;
	padding-inline-start: 16px;
	width: 660px;
	justify-content: space-between;
}

.wawp-wizard-links {
	display: flex;
	align-items: center;
	justify-content: start;
	gap: 6px;
	font-size: 16px;
	font-weight: 500;
	padding: 16px;
	border: 1px solid var(--heading);
	border-radius: 12px;
	box-shadow: var(--sm-shadow);
	background: #fff;
	color: var(--heading);
	cursor: pointer;
}

/* Step footer */
.wawp-step-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
	border-top: var(--border);
	padding-top: 24px;
	margin-top: 24px;
}

.wawp-step-footer button,
.wawp-step-footer a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	padding: 16px 24px;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	background-color: var(--wawp-green);
	color: #fff;
	transition: background 0.15s ease-in-out;
	width: 160px;
}

.wawp-step-footer button:hover,
.wawp-step-footer a:hover {
	background-color: var(--wawp-green-hover);
}

.wawp-step-footer [class*=" ri-"],
.wawp-step-footer [class^="ri-"] {
	font-size: 18px;
}

.wawp-btn-back.wawp-prev-btn {
	background: #fff;
	color: var(--text);
	border: var(--border);
}

.wawp-btn-back.wawp-prev-btn:hover {
	background: #fafafa;
	color: var(--heading);
	border-color: #ddd;
}


#wawp-wizard-close.wawp-save {
	position: relative;
	opacity: 1;
	color: #fff;
	top: auto;
	inset-inline-end: auto;
	justify-content: center;
	margin-bottom: 12px;
}

/* Accordion styling for logs */
.wawp-accordion {
	margin: 10px 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.wawp-accordion-header {
	background: #eee;
	padding: 10px;
	user-select: none;
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wawp-accordion-header::after {
	display: none !important;
}

.wawp-log-toggle {
	background: #ccc;
	border: none;
	cursor: pointer;
	font-weight: normal;
	font-size: 14px;
	padding: 5px 10px;
	border-radius: 4px;
	margin-inline-start: 10px;
}

.wawp-accordion-content {
	display: none;
	padding: 10px;
	border-top: 1px solid #ccc;
}

.wawp-accordion.open .wawp-accordion-content {
	display: block;
}

#wawp-sync-frame {
	display: none;
}

/*
 * Styles for Step 6 Final Checker
 */
.wawp-checklist {
	list-style: none;
	padding: 0;
	margin: 20px auto;
	max-width: 400px;
	text-align: start;
}

.wawp-checklist li {
	padding: 8px 0;
	display: flex;
	align-items: center;
	font-size: 16px;
}

.wawp-checklist .icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-inline-end: 10px;
	line-height: 1;
	margin-inline-start: 10px;
	border-radius: 15px;
}

/* Loading Spinner Icon */
.wawp-checklist .icon.loading {
	border: 3px solid rgba(0, 0, 0, 0.1);
	border-inline-start-color: #3498db;
	border-radius: 50%;
	animation: wawp-wizard-spin 1s linear infinite;
}

@keyframes wawp-wizard-spin {
	0% {
	transform: rotate(0deg);
	}

	100% {
	transform: rotate(360deg);
	}
}

/* Success and Error Icons (using RemixIcon font) */
.wawp-checklist .icon.success::before,
.wawp-checklist .icon.error::before {
	font-family: 'remixicon' !important;
	/* Make sure this matches your font name */
	font-size: 20px;
	vertical-align: top;
}

.wawp-checklist .icon.success::before {
	content: '\ea10';
	/* RemixIcon check-line */
	color: #28a745;
}

.wawp-checklist .icon.error::before {
	content: '\ea0f';
	/* RemixIcon close-line */
	color: #c00;
}

/* Progress Bar */
.wawp-progress-bar-container {
	width: 100%;
	background-color: #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
	margin: 20px 0;
}

.wawp-progress-bar {
	width: 0%;
	height: 10px;
	background-color: #4caf50;
	transition: width 0.4s ease-in-out;
}

/* RTL styles */



.emojionearea .emojionearea-button {
	inset-inline-end: 40px !important;
	top: 8px !important;
	inset-inline-start: auto !important;
}

.placeholder-containerlogin,
.placeholder-container,
.placeholder-container-checkout,
.placeholder-container-signup {
	position: absolute;
	top: 8px !important;
	inset-inline-start: auto !important;
	inset-inline-end: 36px !important;
}


th {
	text-align: start !important;
}

.wawp-condition-group .wawp-remove-condition {
	inset-inline-end: auto !important;
	inset-inline-start: 16px !important;
}

.placeholder-dropdown {
	inset-inline-start: 25px;
	margin-inline-end: auto;
}


#wawp_whatsapp_messages {
	width: 100% !important;
	direction: ltr !important;
	padding-inline-start: 50px !important;
}

.iti__selected-flag {
	direction: ltr !important;
}

/* Admin Footer RTL Overrides */
.rtl .wawp-admin-footer-content {
	padding-inline-start: 24px;
	padding-inline-end: 260px;
	/* Offset for sidebar in RTL */
}

@media screen and (max-width: 960px) {
	.rtl .wawp-admin-footer-content {
	padding-inline-end: 160px;
	padding-inline-start: 24px;
	}
}

@media screen and (max-width: 782px) {
	.rtl .wawp-admin-footer-content {
	padding-inline-end: 0;
	padding-inline-start: 0;
	}
}

.rtl.folded .wawp-admin-footer-content {
	padding-inline-end: 36px;
	padding-inline-start: 24px;
}

.rtl .wawp-footer-actions {
	margin-inline-start: 0;
	margin-inline-end: auto;
	/* Push to inline-start in RTL */
}

.rtl .wawp-footer-help i.ri-external-link-line {
	margin-inline-start: 0 !important;
	margin-inline-end: 4px !important;
}

/* Button Loading State RTL */
.rtl .wawp-btn.loading {
	padding-inline-start: 24px !important;
	padding-inline-end: 44px !important;
}

.rtl .wawp-btn.loading::after {
	inset-inline-start: auto;
	inset-inline-end: 14px;
}

/* Chat Widget Preview RTL Overrides */
.rtl #wawp-chat-wrapper {
	inset-inline-end: auto !important;
	inset-inline-start: 20px !important;
}

.rtl #wawp-chat-window {
	inset-inline-end: auto !important;
	inset-inline-start: 0 !important;
	transform-origin: bottom inline-start !important;
}

.rtl .wawp-minimize-icon {
	inset-inline-start: auto !important;
	inset-inline-end: 24px !important;
}

/* --- Analytics Tab Premium Styling --- */
.wawp-analytics-table {
	display: table !important;
	width: 100% !important;
	border-collapse: collapse !important;
	margin-top: 0 !important;
	border: none !important;
}

.wawp-analytics-table thead {
	display: table-header-group !important;
}

.wawp-analytics-table tbody {
	display: table-row-group !important;
}

#wawp-settings-form .wawp-analytics-table tr {
	display: table-row !important;
	flex-direction: row !important;
	gap: 0 !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

#wawp-settings-form .wawp-analytics-table th,
#wawp-settings-form .wawp-analytics-table td {
	display: table-cell !important;
	padding: 12px 16px !important;
	vertical-align: middle !important;
	text-align: left !important;
	border-bottom: 1px solid #f1f5f9 !important;
	width: auto !important;
	margin: 0 !important;
}

.rtl #wawp-settings-form .wawp-analytics-table th,
.rtl #wawp-settings-form .wawp-analytics-table td {
	text-align: right !important;
}

.wawp-analytics-table th {
	background: #f8fafc !important;
	font-weight: 600 !important;
	color: #475569 !important;
	font-size: 13px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.025em !important;
}

.wawp-analytics-table tbody tr:hover {
	background: #f8fafc !important;
}

.wawp-analytics-table td {
	font-size: 14px !important;
	color: #1e293b !important;
}

.wawp-table-wrapper {
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	background: #fff;
	margin-top: 15px;
}

.wawp-grid-2-cols {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 1.5rem !important;
}

@media (max-width: 600px) {
	.wawp-grid-2-cols {
	grid-template-columns: 1fr !important;
	}
}

.wawp-bg-slate-50 {
	background-color: #f8fafc !important;
}

.wawp-text-24 {
	font-size: 24px !important;
}

.wawp-grid-4-cols {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 1.25rem !important;
}

@media (max-width: 1024px) {
	.wawp-grid-4-cols {
	grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 600px) {
	.wawp-grid-4-cols {
	grid-template-columns: 1fr !important;
	}
}