:root {
	--cookieadmin-primary: #001d39;
	--cookieadmin-primary-hover: #002a54;
	--cookieadmin-primary-light: #f0f4f8;

	--cookieadmin-surface: #ffffff;
	--cookieadmin-surface-secondary: #f8fafc;
	--cookieadmin-border: #e2e8f0;
	--cookieadmin-border-light: #f1f5f9;

	--cookieadmin-text: #1e293b;
	--cookieadmin-text-muted: #64748b;
	--cookieadmin-text-soft: #94a3b8;

	--cookieadmin-success: #16a34a;
	--cookieadmin-success-bg: #f0fdf4;
	--cookieadmin-success-border: #bbf7d0;

	--cookieadmin-warning: #f59e0b;
	--cookieadmin-warning-bg: #fffbeb;
	--cookieadmin-warning-border: #fde68a;

	--cookieadmin-danger: #dc2626;
	--cookieadmin-danger-bg: #fef2f2;
	--cookieadmin-danger-border: #fecaca;

	--cookieadmin-info: #2563eb;
	--cookieadmin-info-bg: #eff6ff;
	--cookieadmin-info-border: #bfdbfe;

	--cookieadmin-radius: 6px;
	--cookieadmin-radius-lg: 8px;
	--cookieadmin-radius-sm: 4px;

	--cookieadmin-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
	--cookieadmin-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
	--cookieadmin-shadow-md: 0 4px 12px rgba(0,0,0,.06);

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

/* Base wrapper */
.cookieadmin-metabox-holder {
	background: var(--cookieadmin-surface-secondary);
	min-height: 90vh;
	font-family: var(--cookieadmin-font);
	color: var(--cookieadmin-text);
	margin-left:-20px;
	display:flex;
	flex-direction:column;
}

/* ======== HEADER BAR ======== */
.cookieadmin-header {
	background: var(--cookieadmin-surface);
	border-bottom: 1px solid var(--cookieadmin-border);
	padding: 0 24px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
}

.cookieadmin-header-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.cookieadmin-header-left .cookieadmin-icon {
	height: 28px;
	display: flex;
	align-items: center;
}

.cookieadmin-header-left .cookieadmin-logo {
	height: 28px;
	width: auto;
}

.cookieadmin-header-version {
	font-size: 11px;
	font-weight: 600;
	color: var(--cookieadmin-text-soft);
	background: var(--cookieadmin-surface-secondary);
	padding: 2px 8px;
	border-radius: 99px;
	border: 1px solid var(--cookieadmin-border);
	line-height: 1.4;
}

.cookieadmin-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cookieadmin-header-link {
	color: var(--cookieadmin-text-muted);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: color .15s ease;
	display: flex;
	align-items: center;
	gap: 4px;
}

.cookieadmin-header-link:hover {
	color: var(--cookieadmin-primary);
}

.cookieadmin-header-separator {
	width: 1px;
	height: 18px;
	background: var(--cookieadmin-border);
}


/* ======== PAGE TITLE ======== */
.cookieadmin-page-title {
	padding: 24px 24px 0 24px;
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--cookieadmin-text);
}

/* ======== CONTENT AREA ======== */
.cookieadmin-postbox-container {
	padding: 16px 24px 24px;
	max-width: 100%;
}

/* ======== FOOTER ======== */
.cookieadmin-footer {
	border-top: 1px solid var(--cookieadmin-border);
	padding: 16px 24px;
	text-align: center;
	font-size: 12px;
	color: var(--cookieadmin-text-soft);
	margin-top:auto;
}

.cookieadmin-footer a {
	color: var(--cookieadmin-text-muted);
	text-decoration: none;
}

.cookieadmin-footer a:hover {
	color: var(--cookieadmin-primary);
}

/* ======== NOTICES ======== */
.cookieadmin-notice {
	margin: 0 24px 0 24px;
}

/* ======== CONFLICT NOTICE ======== */
.cookieadmin-conflict-notice {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-left: -20px;
	padding: 6px 24px;
	background: var(--cookieadmin-warning-bg);
	border-bottom: 1px solid var(--cookieadmin-warning-border);
	color: var(--cookieadmin-text);
	font-size: 13px;
	text-align: center;
}
.cookieadmin-conflict-notice .dashicons {
	color: var(--cookieadmin-warning);
	font-size: 16px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* ======== CARD ======== */
.cookieadmin-card {
	background: var(--cookieadmin-surface);
	border: 1px solid var(--cookieadmin-border);
	border-radius: var(--cookieadmin-radius-sm);
	box-shadow: var(--cookieadmin-shadow-sm);
	margin-bottom: 16px;
}

.cookieadmin-card-header {
	padding: 16px 20px;
	border-bottom: 1px solid var(--cookieadmin-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cookieadmin-card-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--cookieadmin-text);
	display: flex;
	align-items: center;
	gap: 8px;
}

.cookieadmin-card-body {
	padding: 20px;
}

/* ======== DASHBOARD STATS ======== */
.cookieadmin-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 16px;
}

.cookieadmin-stat-card {
	background: var(--cookieadmin-surface);
	border: 1px solid var(--cookieadmin-border);
	border-radius: var(--cookieadmin-radius-sm);
	padding: 20px;
	box-shadow: var(--cookieadmin-shadow-sm);
	position: relative;
	overflow: hidden;
}

.cookieadmin-stat-icon {
	width: 36px;
	height: 36px;
	border-radius: var(--cookieadmin-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

.cookieadmin-stat-icon--green {
	background: var(--cookieadmin-success-bg);
	color: var(--cookieadmin-success);
}

.cookieadmin-stat-icon--blue {
	background: var(--cookieadmin-info-bg);
	color: var(--cookieadmin-info);
}

.cookieadmin-stat-icon--amber {
	background: var(--cookieadmin-warning-bg);
	color: var(--cookieadmin-warning);
}

.cookieadmin-stat-icon--navy {
	background: var(--cookieadmin-primary-light);
	color: var(--cookieadmin-primary);
}

.cookieadmin-stat-label {
	font-size: 13px;
	color: var(--cookieadmin-text-muted);
	margin-bottom: 4px;
}

.cookieadmin-stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--cookieadmin-text);
	line-height: 1.2;
}

.cookieadmin-stat-edit {
	font-size: 12px;
	color: var(--cookieadmin-primary);
	text-decoration: none;
	margin-left: 4px;
	font-weight: 500;
}

.cookieadmin-stat-edit:hover {
	text-decoration: underline;
}

/* ======== TOGGLE SWITCH (shadcn-style) ======== */
.cookieadmin-toggle-wrap {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.cookieadmin-toggle-wrap input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.cookieadmin-toggle-track {
	width: 40px;
	height: 22px;
	background: var(--cookieadmin-text-soft);
	border-radius: 99px;
	position: relative;
	transition: background .2s ease;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
}

.cookieadmin-toggle-wrap input:checked + .cookieadmin-toggle-track {
	background: var(--cookieadmin-primary);
}

.cookieadmin-toggle-thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
	transition: transform .2s ease;
}

.cookieadmin-toggle-wrap input:checked + .cookieadmin-toggle-track .cookieadmin-toggle-thumb {
	transform: translateX(18px);
}

/* keep old class for legacy compat */
.cookieadmin_toggle {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 22px;
}

.cookieadmin_toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cookieadmin_slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--cookieadmin-text-soft);
	border-radius: 99px;
	transition: background .2s ease;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
}

.cookieadmin_slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 2px;
	bottom: 2px;
	background: #fff;
	border-radius: 50%;
	transition: transform .2s ease;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.cookieadmin_toggle input:checked + .cookieadmin_slider {
	background: var(--cookieadmin-primary);
}

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

.cookieadmin_toggle input:disabled + .cookieadmin_slider {
	opacity: .5;
}

/* ======== BUTTONS ======== */
.cookieadmin-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	outline: 0;
	cursor: pointer;
	padding: 8px 16px;
	border-radius: var(--cookieadmin-radius);
	border: 1px solid transparent;
	font-weight: 500;
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
	transition: all .15s ease;
	font-family: var(--cookieadmin-font);
}

.cookieadmin-btn-primary {
	background: var(--cookieadmin-primary);
	border-color: var(--cookieadmin-primary);
	color: #fff;
}

.cookieadmin-btn-primary:hover {
	background: var(--cookieadmin-primary-hover);
	border-color: var(--cookieadmin-primary-hover);
}

.cookieadmin-btn-secondary {
	background: var(--cookieadmin-surface);
	border-color: var(--cookieadmin-border);
	color: var(--cookieadmin-text);
}

.cookieadmin-btn-secondary:hover {
	background: var(--cookieadmin-surface-secondary);
	border-color: var(--cookieadmin-text-soft);
}

.cookieadmin-btn-danger {
	background: var(--cookieadmin-danger);
	border-color: var(--cookieadmin-danger);
	color: #fff;
}

.cookieadmin-btn-danger:hover {
	background: #b91c1c;
	border-color: #b91c1c;
}

.cookieadmin-btn-ghost {
	background: transparent;
	border-color: transparent;
	color: var(--cookieadmin-text-muted);
	padding: 6px 10px;
}

.cookieadmin-btn-ghost:hover {
	background: var(--cookieadmin-surface-secondary);
	color: var(--cookieadmin-text);
}

.cookieadmin-btn-sm {
	padding: 4px 10px;
	font-size: 12px;
}

/* ======== STICKY SAVE BAR ======== */
.cookieadmin-save-bar {
	position: sticky;
	bottom: 0;
	background: var(--cookieadmin-surface);
	border-top: 1px solid var(--cookieadmin-border);
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	z-index: 10;
	box-shadow: 0 -2px 8px rgba(0,0,0,.04);
}

/* ======== FORM INPUTS ======== */
.cookieadmin-metabox-holder input[type="text"],
.cookieadmin-metabox-holder input[type="number"],
.cookieadmin-metabox-holder input[type="url"],
.cookieadmin-metabox-holder textarea,
.cookieadmin-metabox-holder select {
	padding: 8px 12px;
	border: 1px solid var(--cookieadmin-border);
	border-radius: var(--cookieadmin-radius);
	font-size: 14px;
	line-height: 1.5;
	color: var(--cookieadmin-text);
	background: var(--cookieadmin-surface);
	transition: border-color .15s ease;
	font-family: var(--cookieadmin-font);
	box-shadow: none;
}

.cookieadmin-metabox-holder input[type="text"]:focus,
.cookieadmin-metabox-holder input[type="number"]:focus,
.cookieadmin-metabox-holder input[type="url"]:focus,
.cookieadmin-metabox-holder textarea:focus,
.cookieadmin-metabox-holder select:focus {
	border-color: var(--cookieadmin-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0,29,57,.1);
}

.cookieadmin-metabox-holder input[type="text"]:disabled,
.cookieadmin-metabox-holder textarea:disabled,
.cookieadmin-metabox-holder select:disabled {
	background: var(--cookieadmin-surface-secondary);
	color: var(--cookieadmin-text-soft);
	cursor: not-allowed;
}

/* ======== COLOR PICKER ======== */
.cookieadmin-color-holder {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border: 1px solid var(--cookieadmin-border);
	border-radius: var(--cookieadmin-radius);
	background: var(--cookieadmin-surface-secondary);
}

.cookieadmin-color-holder input[type="color"] {
	border: 0;
	padding: 0;
	margin: 0;
	width: 28px;
	height: 28px;
	cursor: pointer;
	border-radius: var(--cookieadmin-radius-sm);
}

.cookieadmin-color-input {
	max-width: 85px !important;
	text-align: center;
	border: 1px solid var(--cookieadmin-border) !important;
}

/* ======== SETTINGS ROW ======== */
.cookieadmin-setting {
	display: flex;
	align-items: flex-start;
	padding: 14px 0;
	border-bottom: 1px solid var(--cookieadmin-border-light);
}

.cookieadmin-setting:last-child {
	border-bottom: none;
}

.cookieadmin-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--cookieadmin-text);
	min-width: 200px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.cookieadmin-setting-contents {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* ======== PRO BADGE ======== */
.cookieadmin-pro-badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 99px;
	background: var(--cookieadmin-primary);
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .5px;
	line-height: 1.6;
	text-decoration: none;
	margin-left: 6px;
}

a.cookieadmin-pro-badge:hover {
	background: var(--cookieadmin-primary-hover);
	color: #fff;
}

/* ======== UTILITIES ======== */
.cookieadmin-vertical {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cookieadmin-horizontal {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}

.cookieadmin-flex-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cookieadmin-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.cookieadmin-mt-16 {
	margin-top: 16px;
}

.cookieadmin-mb-16 {
	margin-bottom: 16px;
}

.cookieadmin-green {
	color: var(--cookieadmin-success);
}

.cookieadmin-red {
	color: var(--cookieadmin-danger);
}

.cookieadmin-text-muted {
	color: var(--cookieadmin-text-muted);
}

.cookieadmin-uppercase {
	text-transform: uppercase;
}

/* ======== SETTINGS CARD GROUPS ======== */
.cookieadmin-settings-group {
	margin-bottom: 6px;
}

.cookieadmin-settings-group .cookieadmin-card-header .cookieadmin-card-title .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: var(--cookieadmin-primary);
}





/* OLD CSS */
/* Dashboard Overview page css */

.cookieadmin-postbox-container h2{
	display: flex;
	align-items: center;
	gap:10px;
	padding: 0 0 15px 0;
	border-bottom: 1px solid #e0e0e0;
	font-size:1.3rem;
	line-height:2rem;
}

.cookieadmin-uppercase{
text-transform: uppercase;
}

.cookieadmin-admin-row{
display:flex;
gap: 10px;
margin-bottom: 20px;
}

.cookieadmin-admin-row .cookieadmin-is-block{
border: 1px solid #E2E8F0;
padding: 10px;
width: 100%;
border-radius:1px;
}

.cookieadmin-admin-row .cookieadmin-is-block-25{
border: 1px solid #E2E8F0;
padding: 10px;
width: 25%;
border-radius:1px;
}

.cookieadmin-stats-name{
margin-bottom:5px;
font-size:16px;
font-weight:600;
}

.cookieadmin-stat-status-indicator{
border-radius:50%;
width: 12px;
height:12px;
background-color: #e2e2e2;
margin-right: 10px;
}

.cookieadmin-stats-number{
font-size:1.5rem;
line-height:2.5rem;
}

.cookieadmin-block-link{
display:inline-flex;
font-size: 12px;
font-weight:400;
color: blue;
cursor:pointer;
}

.cookieadmin-block-link > a{
text-decoration:none;
}

.cookieadmin_view_column {
	float: left;
	width: 25%;
	padding: 0 15px;
	box-sizing: border-box;
}

/* Clear floats after the columns */
.cookieadmin_view_row:after {
	content: "";
	display: table;
	clear: both;
}

.cookieadmin_view_row{
	margin: 15px 0px;
}

/* Style the counter cards */
.cookieadmin_card {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	text-align: center;
	background-color: #9ec1c0;
	color: white;
	font-family: Arial, Helvetica, sans-serif;
	margin: 5px;
	min-width: 220px;
}

.cookieadmin_view_icon {font-size:50px;}

/* Dashboard Overview page css End */


/*  Consent page css */
.cookieadmin_hide{
	display:none;
}

.cookieadmin_title{
	text-align: center;
	color: black;
	font-weight: 600;
	font-size: 20px;
	margin: 2px;
}

.cookieadmin_consent-contents {
	display: flex;
	margin: 0px 5px;
}

.cookieadmin_consent_settings {
	display: flex;
	width: 100%;
	flex-direction: column;
	background: #ffffff;
	/*margin-left: -3px;*/
}

.cookieadmin_law {
	padding: 20px;
	background: aliceblue;
	margin: 10px;
	height: fit-content;
	font-size: 14px;
	font-family: sans-serif;
}

.cookieadmin-contents {
	width: 100%;
}

.cookieadmin-setting-results {
	align-items: baseline;
	padding: 5px;
	margin: 5px;
	width: 80%;
}

.cookieadmin-metabox-holder input[type="color"] {
	border: 0px;
	padding: 0px;
	margin: 0px;
}

.cookieadmin-color-holder{
	max-width: 110px;
}

.cookieadmin-color-input{
	border: 1px solid;
	margin: 0px;
	margin-left: -8px;
	max-width: 75%;
	padding: 0 8px !important;
}

.cookieadmin-vertical{
	display: flex;
	flex-direction: column;
	margin: 2px 30px 2px 0px;
}

.cookieadmin-horizontal{
	display: flex;
	flex-direction: row;
	align-items: center;
}

.cookieadmin-input{
	padding-right: 20px;
}

/* ======== COLLAPSIBLE NOTICE ======== */
.cookieadmin-collapsible-notice {
	padding: 10px 14px;
	background: var(--cookieadmin-warning-bg);
	border: 1px solid var(--cookieadmin-warning-border);
	border-radius: var(--cookieadmin-radius);
	font-size: 13px;
	color: var(--cookieadmin-text);
	margin-top: 8px;
	flex-basis: 100%;
	width: fit-content;
}

.cookieadmin-collapsible-notice::before {
	content: "\F534";
	font-family: dashicons;
	margin-right: 6px;
	vertical-align: text-bottom;
}

.cookieadmin-policy-gens{
	justify-content: space-evenly;
}

.cookieadmin-cookie-scan, .cookieadmin-consent-logs{
	justify-content: end;
}

.cookieadmin-cookie-scan{
	display: flex;
	flex-direction: row;
}

.cookieadmin-setting-colors{
	justify-content: space-between;
}

.cookieadmin-buttons{
	flex: auto;
	justify-content: space-between;
	margin: 5px;
}

.cookieadmin-button{
	padding: 5px;
	row-gap: 5px;
}

.cookieadmin-button-color{
	justify-content: space-between;
	min-width: 34%;
}


/* Dashboard Consent page css End*/


/* Website consent box  */









.cookieadmin_btn-primary {
	background-color: #007cba;
	color: white;
	border-color: #007cba;
}

.cookieadmin_btn-secondary {
	background-color: #f6f7f7;
	color: #007cba;
	border-color: #007cba;
}

.cookieadmin_btn_accept{
	color: #ffffff;
	background-color: #1863dc;
	border-color: rgb(24, 99, 220);
}

.cookieadmin_pl0{
	padding-left:0px;
}


.cookieadmin-manager-cookie-scan, .cookieadmin-manager-consent-logs, .cookieadmin-manager-cookie-categorize{
	flex-wrap: wrap;
	justify-content: space-between;
}

.cookieadmin-manager-result{
	width: 100%;
}

.cookieadmin-consent-logs-pagination, .cookieadmin-dns-requests-pagination{
	padding: 15px;
	margin: 5px;
	width: 100%;
}

.cookieadmin-logs-paginate, .cookieadmin-dns-paginate{
	font-size: 2em;
	text-decoration:none;
}

.cookieadmin-icon{
	height: 60px;
	display: inline-block;
}

.cookieadmin-logo{
	width: 250px;
	display: inline-block;
}


.cookieadmin-tag.active {
  background: #000;
  color: #fff;
}

.cookieadmin_edit_icon, .cookieadmin_delete_icon{
	margin: 2px;
}

.cookieadmin_edit_icon:hover {
	color : blue !important;
	font-size: 22px !important;
}

.cookieadmin_delete_icon:hover {
	color : red !important;
	font-size: 22px;
}

/* Website consent box End*/

/* ======== MODAL ======== */
.cookieadmin_modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.5);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 100000;
}

.cookieadmin_modal-overlay.active {
	display: flex;
}

.cookieadmin_modal-container {
	background: var(--cookieadmin-surface);
	border-radius: var(--cookieadmin-radius-lg);
	width: 100%;
	max-width: 520px;
	box-shadow: var(--cookieadmin-shadow-md);
	overflow: hidden;
}

.cookieadmin_modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid var(--cookieadmin-border);
}

.cookieadmin_modal-header h2 {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
}

.cookieadmin_dialog_modal_close_btn {
	background: none;
	border: none;
	font-size: 22px;
	cursor: pointer;
	color: var(--cookieadmin-text-muted);
	line-height: 1;
	padding: 0;
}

.cookieadmin_dialog_modal_close_btn:hover {
	color: var(--cookieadmin-text);
}

.cookieadmin_modal-body {
	padding: 20px;
}

.cookieadmin_modal-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border-top: 1px solid var(--cookieadmin-border);
	background: var(--cookieadmin-surface-secondary);
}

.cookieadmin_modal-footer .spinner.is-active{
	margin:0;
}

.cookieadmin_form-group {
	margin-bottom: 16px;
}

.cookieadmin_form-group label {
	display: block;
	font-weight: 500;
	font-size: 13px;
	margin-bottom: 6px;
	color: var(--cookieadmin-text);
}

.cookieadmin_form-group input,
.cookieadmin_form-group select,
.cookieadmin_form-group textarea {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--cookieadmin-border);
	border-radius: var(--cookieadmin-radius);
	font-size: 14px;
}

.cookieadmin_form-group textarea {
	min-height: 80px;
	resize: vertical;
}

/* Table */

.cookieadmin-table{
	padding: 2px;
	font-size: 14px;
	text-align: left;
	width: 100%;
	table-layout: fixed;
	word-wrap: anywhere;
	border-collapse: collapse;
	border-spacing: 0;
}

.cookieadmin-table tbody{
	border-radius: 8px;
	overflow: hidden;
	display: table-row-group;
	border: 1px solid #ddd;
}

table.cookieadmin-table thead{
	background-color: #263544;
	color: #ffffff;
	font-weight: 500 !important;
	padding: 0px;
	border: 1px solid #ddd;
}

table.cookieadmin-table th{
	padding: 10px 10px;
}

table.cookieadmin-table td{
	background: white;
	padding: 10px;
	border-bottom: 1px solid #ddd;
	line-height: 1.5;
}

/* Table End */

/* ======== BADGES ======== */
.cookieadmin-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
	border-radius: 99px;
	border: 1px solid;
}

.cookieadmin-success {
	color: var(--cookieadmin-success);
	border-color: var(--cookieadmin-success-border);
	background: var(--cookieadmin-success-bg);
}

.cookieadmin-warning {
	color: var(--cookieadmin-warning);
	border-color: var(--cookieadmin-warning-border);
	background: var(--cookieadmin-warning-bg);
}

.cookieadmin-danger {
	color: var(--cookieadmin-danger);
	border-color: var(--cookieadmin-danger-border);
	background: var(--cookieadmin-danger-bg);
}

.cookieadmin-info {
	color: var(--cookieadmin-info);
	border-color: var(--cookieadmin-info-border);
	background: var(--cookieadmin-info-bg);
}

.cookieadmin-cookie-categorized tbody > tr:first-child td::before {
	content: "⮟";
	position: relative;
	float: right;
	font-size: 17px;
}

.cookieadmin-cookie-categorized tbody:not(:last-of-type)::after {
	content: "";
	display: table-row;
	height: 30px; /* This is your gap */
}

.cookieadmin-cookie-categorized tbody > tr:first-child td {
	font-weight: bold !important;
	padding: 15px !important;
	cursor: pointer;
	background: #EFEFEF !important;
}

.cookieadmin-cookie-categorized tbody:is(.collapsed) > tr:first-child td::before {
	transform: rotate(90deg); /* expanded */
}

.cookieadmin-empty-row td {
	text-align: center;
	font-style: italic;
	background-color: #f5f5f5;
	opacity: 0.8;
	pointer-events: none; /* feels disabled */
}

.cookieadmin_dialog_modal_close_btn{
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
	font-size: 24px;
	font-weight: bold;
}

/* Dialog success/failure messages */

#cookieadmin-message{
	margin-right: 10px;
	font-weight: 500;
	padding: 5px;
}

.cookieadmin-success-message {
	color: #22c55e;
}

.cookieadmin-error-message {
	color: #dc2626;
}

/* --- Auto Categorize Cookies End --- */



/* --- Override Dashicons Start --- */
.cookieadmin-metabox-holder .dashicons {
	cursor: pointer;
}
/* --- Override Dashicons End --- */



/* CookieAdmin Tooltip Start */
.cookieadmin-tooltip {
	position: fixed;
	background: #1e293b;
	color: #fff;
	padding: 6px 10px;
	border-radius: var(--cookieadmin-radius);
	font-size: 12px;
	white-space: nowrap;
	pointer-events: none;
	z-index: 999999;
	opacity: 0;
	transition: opacity .12s ease;
	box-shadow: var(--cookieadmin-shadow-md);
}

/* CookieAdmin Tooltip End */


.cookieadmin-buttons-div {
	display: flex;
	flex-direction: row;
}

.cookieadmin-add-cookie-div {
	border-right: 1px solid #e0e0e0;
	padding-right: 10px;
}

/* Consent Expiry */
#cookieadmin_consent_logs_expiry_days {
	width: 50px;
	text-align: center;
	margin: 0px 10px;
	padding: 0px;
	height: 30px;
}

.cookieadmin-purge-consent-btn{
	background-color: #dc3545 !important;
	color: white !important;
	border-color: unset !important;
}

.cookieadmin-setting-logs{
	display: flex;
	align-items: center;
}

.cookieadmin-save-settings{
	border-top: 1px solid #e0e0e0;
	margin-bottom: 15vh;
}

/* Content Blocking Section Styles */
.cookieadmin-cb-services{
	width: fit-content;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

/* ====================== DASHBOARD WIDGETS ======================*/

/* Grid */
.cookieadmin-dashboard-grid {
	display: flex;
	gap: 20px;
	margin-top: 16px;
}

.cookieadmin-dashboard-main {
	flex: 0 0 70%;
	max-width: 70%;
	min-width: 0;
}

.cookieadmin-dashboard-sidebar {
	width:100%;
}

@media (max-width: 860px) {
	.cookieadmin-dashboard-grid {
		flex-direction: column;
	}
	.cookieadmin-dashboard-main,
	.cookieadmin-dashboard-sidebar {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* Checklist */
.cookieadmin-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: checklist;
}

.cookieadmin-checklist li {
	margin-bottom: 0;
}

.cookieadmin-checklist li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	border-radius: var(--cookieadmin-radius-sm);
	color: var(--cookieadmin-text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: background .12s ease;
}

.cookieadmin-checklist li a:hover {
	background: var(--cookieadmin-surface-secondary);
}

.cookieadmin-checklist li a .dashicons {
	width: 22px;
	height: 22px;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	flex-shrink: 0;
}

.cookieadmin-checklist-item--done .dashicons {
	background: var(--cookieadmin-success-bg);
	color: var(--cookieadmin-success);
}

.cookieadmin-checklist-item--pending .dashicons {
	background: var(--cookieadmin-surface-secondary);
	color: var(--cookieadmin-text-soft);
}

/* Cookie Inventory */
.cookieadmin-inventory-total {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 14px;
}

.cookieadmin-inventory-number {
	font-size: 2rem;
	font-weight: 700;
	color: var(--cookieadmin-text);
	line-height: 1;
}

.cookieadmin-inventory-label {
	font-size: 14px;
	color: var(--cookieadmin-text-muted);
}

.cookieadmin-segment-bar {
	display: flex;
	width: 100%;
	height: 10px;
	border-radius: 99px;
	overflow: hidden;
	margin-bottom: 14px;
	background: var(--cookieadmin-border-light);
}

.cookieadmin-segment {
	height: 100%;
	min-width: 2px;
}

.cookieadmin-segment-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin-bottom: 14px;
	font-size: 12px;
	color: var(--cookieadmin-text-muted);
}

.cookieadmin-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.cookieadmin-legend-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
	flex-shrink: 0;
}

.cookieadmin-inventory-warning {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--cookieadmin-warning-bg);
	border: 1px solid var(--cookieadmin-warning-border);
	color: var(--cookieadmin-warning);
	padding: 10px 12px;
	border-radius: var(--cookieadmin-radius-sm);
	font-size: 13px;
	margin-bottom: 14px;
}

.cookieadmin-inventory-actions {
	text-align: right;
}

/* Recommended Plugins */
.cookieadmin-recommended-plugins .cookieadmin-card-body {
	padding: 12px;
}

.cookieadmin-recommended-plugin {
	padding: 10px;
	border-radius: var(--cookieadmin-radius-sm);
	background: #fff;
	border: 1px solid var(--cookieadmin-border);
	margin-bottom: 10px;
}

.cookieadmin-recommended-plugin:last-child {
	margin-bottom: 0;
}

.cookieadmin-recommended-plugin-info {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 8px;
}

.cookieadmin-recommended-plugin-icon {
	width: 32px;
	height: 32px;
	border-radius: var(--cookieadmin-radius-sm);
	background: var(--cookieadmin-primary-light);
	color: var(--cookieadmin-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.cookieadmin-recommended-plugin-icon .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.cookieadmin-recommended-plugin-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--cookieadmin-text);
	line-height: 1.3;
}

.cookieadmin-recommended-plugin-desc {
	font-size: 12px;
	color: var(--cookieadmin-text-muted);
	line-height: 1.4;
}

.cookieadmin-recommended-plugin-link {
	font-size: 11px;
	color: var(--cookieadmin-primary);
	text-decoration: none;
	font-weight: 500;
	margin-top: 4px;
	display: inline-block;
}

.cookieadmin-recommended-plugin-link:hover {
	text-decoration: underline;
}

.cookieadmin-recommended-plugin-action {
	display:flex;
	margin-top:5px;
	justify-content:space-between;
	
}

/* Pro mini table on dashboard */
.cookieadmin-consent-log-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.cookieadmin-consent-log-table thead th {
	font-weight: 600;
	color: var(--cookieadmin-text-muted);
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid var(--cookieadmin-border);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .3px;
}

.cookieadmin-consent-log-table tbody td {
	padding: 8px 10px;
	border-bottom: 1px solid var(--cookieadmin-border-light);
	color: var(--cookieadmin-text);
}

.cookieadmin-consent-log-table tbody tr:last-child td {
	border-bottom: none;
}

/* Widget link row */
.cookieadmin-widget-link-row {
	text-align: right;
	margin-top: 10px;
}

.cookieadmin-widget-link-row a {
	font-size: 12px;
	font-weight: 500;
	color: var(--cookieadmin-primary);
	text-decoration: none;
}

.cookieadmin-widget-link-row a:hover {
	text-decoration: underline;
}
