:root {
	--pvc-primary: #ff3c00;
	--pvc-primary-soft: #ffe9dd;
	--pvc-neutral-900: #0f172a;
	--pvc-neutral-700: #334155;
	--pvc-neutral-500: #64748b;
	--pvc-neutral-200: #e2e8f0;
	--pvc-neutral-100: #f8fafc;
	--pvc-border: rgba(15, 23, 42, 0.08);
	--pvc-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
	box-sizing: border-box;
}

body,
.pagevico-dashboard {
	font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	color: var(--pvc-neutral-700);
	margin: 0;
	padding: 0;
	max-width: 1370px;
	margin-top: 50px;
}

.tailwind-scope {
	width: 100%;
	min-height: 100vh;
	max-width: 1370px;
	background: #e5e8f0;
	padding-bottom: 4rem;
}

.pagevico-header {
	background: white;
	box-shadow: 0 5px 20px rgba(15, 23, 42, 0.06);
	border-bottom: 1px solid var(--pvc-neutral-200);
}

.pagevico-header-content {
	max-width: 1370px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
}

.pvc-toast-container {
	position: fixed;
	top: 1.5rem;
	right: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.75rem;
	z-index: 9999;
	pointer-events: none;
}

.pvc-toast {
	background: white;
	color: var(--pvc-neutral-900);
	border-radius: 0.9rem;
	padding: 0.8rem 1rem;
	min-width: 240px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	transform: translateY(-10px);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: auto;
}

.pvc-toast-visible {
	opacity: 1;
	transform: translateY(0);
}

.pvc-toast-success {
	border-color: rgba(255, 92, 0, 0.35);
}

.pvc-toast-error {
	border-color: rgba(220, 38, 38, 0.35);
}

.pvc-toast-body {
	flex: 1;
	font-size: 0.95rem;
	line-height: 1.4;
}

.pvc-toast-close {
	background: transparent;
	border: none;
	color: var(--pvc-neutral-500);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.pvc-toast-close .dashicons {
	font-size: 16px;
}

.pagevico-branding img {
	max-height: 40px;
}

.pagevico-main {
	max-width: 1370px;
	padding-top: 1rem;
	position: relative;
}

.pagevico-section {
	background: white;
	padding: 1.5rem;
	box-shadow: var(--pvc-shadow);
	border: 1px solid rgba(15, 23, 42, 0.1);
}

.pagevico-section-content {
	background: #f8fafc;
	border-radius: 1.5rem;
	padding: 1.75rem;
	border: 1px solid rgba(15, 23, 42, 0.05);
}

.pagevico-section-wrapper {
	width: 100%;
}

.pagevico-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

@media (min-width: 1200px) {
	.pagevico-feature-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.insight-card {
	background: white;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	border-radius: 1.25rem;
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: relative;
	overflow: hidden;
}

.insight-card-header {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-weight: 600;
	color: var(--pvc-neutral-900);
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}

.insight-card-header .dashicons {
	font-size: 1.15rem;
}

.insight-card-content {
	flex: 1;
}

.insight-card::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 1.25rem;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.metric-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.7);
	padding: 0.65rem 0.85rem;
	border-radius: 0.85rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
	margin-bottom: 1rem;
}

.metric-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--pvc-neutral-500);
}

.metric-value {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--pvc-neutral-900);
}

.pagevico-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.pagevico-table th,
.pagevico-table td {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.pagevico-table th {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--pvc-neutral-500);
}

.pagevico-table tbody tr:last-child td {
	border-bottom: none;
}

.pagevico-table a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--pvc-neutral-900);
	font-weight: 600;
	text-decoration: none;
}

.pagevico-views-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.9rem;
	background: rgba(255, 60, 0, 0.08);
	color: var(--pvc-primary);
	border-radius: 999px;
	font-weight: 600;
}

.traffic-sources-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.traffic-sources-list li {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 0.75rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.traffic-sources-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.source-label {
	font-weight: 600;
	color: var(--pvc-neutral-700);
}

.source-bar-outer {
	background: rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	height: 6px;
	position: relative;
}

.source-bar-inner {
	background: linear-gradient(90deg, #ff6b00, #ffb347);
	height: 100%;
	border-radius: inherit;
}

.source-value {
	font-weight: 600;
	color: var(--pvc-neutral-700);
}

.user-flow-list {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.flow-item {
	background: #f4f6fb;
	border-radius: 1rem;
	padding: 0.85rem 1rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: 0.5rem;
}

.flow-page {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	text-transform: none;
}

.flow-arrow {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	justify-content: center;
	color: var(--pvc-neutral-500);
}

.flow-count {
	color: var(--pvc-neutral-700);
	font-weight: 600;
}

.behavior-metrics {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.behavior-item {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 1rem;
	padding: 0.85rem 1rem;
}

.behavior-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.45rem;
	font-weight: 600;
	color: var(--pvc-neutral-900);
}

.behavior-bar {
	background: rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	height: 6px;
	overflow: hidden;
}

.behavior-fill {
	background: linear-gradient(90deg, #ff6b00, #ffb347);
	height: 100%;
	border-radius: inherit;
}

.pagevico-section-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	margin-bottom: 1.25rem;
}

.pagevico-section-header h3 {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--pvc-neutral-900);
}

.pagevico-section-header span{
	padding-top: 10px;
}

.pagevico-section-header p {
	margin: 0;
	color: var(--pvc-neutral-500);
	font-size: 0.9rem;
}

.filters-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.pagevico-date-filter form,
.filters-bar form {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	width: 100%;
	background: white;
	padding: 0.75rem;
	border: 1px solid var(--pvc-border);
	box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.05);
}

.pagevico-date-filter input,
.pagevico-date-filter select,
.pagevico-date-filter .form-control,
.filters-bar input,
.filters-bar select {
	padding: 0.55rem 0.85rem;
	border: 1px solid var(--pvc-border);
	background: #fff;
	font-size: 0.9rem;
	min-width: 160px;
	box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.08);
	width: 100%;
}

.pagevico-date-filter button,
.filters-bar button,
.pagevico-filter-button {
	padding: 0.55rem 1.4rem;
	border: none;
	background: var(--pvc-primary);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 10px 25px rgba(255, 60, 0, 0.25);
	transition: transform 0.2s ease;
	min-height: 44px;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pagevico-date-filter button:hover,
.filters-bar button:hover,
.pagevico-filter-button:hover {
	transform: translateY(-1px);
}

.pagevico-tabs {
	display: flex;
	gap: 0.75rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.pagevico-tab {
	padding: 0.5rem 1.25rem;
	border: 1px solid var(--pvc-border);
	color: var(--pvc-neutral-500);
	font-weight: 600;
	background: transparent;
	text-decoration: none;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 44px;
}

.pagevico-tab.active {
	background: var(--pvc-primary);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 10px 25px rgba(255, 60, 0, 0.25);
}

.export-csv-btn {
	border: 1px solid var(--pvc-border);
	padding: 0.55rem 1.1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: white;
	color: var(--pvc-neutral-900);
	font-weight: 600;
	box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1);
	transition: all 0.2s ease;
	margin-top: 0;
}

.export-csv-btn:hover {
	border-color: var(--pvc-primary);
	color: var(--pvc-primary);
}

.filters-bar form .link-group {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.filters-bar button,
.pagevico-btn-primary {
	min-height: calc(1rem * 2 + 1.1rem);
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 200px;
	margin-top: 30px;
}

.pagevico-btn-primary {
	background: var(--pvc-primary);
	color: #fff;
	padding: 0.55rem 1.4rem;
	border: none;
	font-weight: 600;
	font-size: 0.9rem;
	box-shadow: 0 10px 25px rgba(255, 60, 0, 0.25);
}

.pagevico-btn-primary:hover {
	background: #ff2a00;
}

.notice {
	border-left: 4px solid var(--pvc-primary);
	padding: 1rem;
	background: #fff7f2;
	color: var(--pvc-neutral-700);
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
	margin: 1.5rem 0;
}

.pagevico-inline-notice {
	background: white;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-left-width: 4px;
	border-radius: 0.9rem;
	padding: 1rem 1.25rem;
	font-size: 0.95rem;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
	color: var(--pvc-neutral-700);
}

.pagevico-inline-notice-info {
	border-left-color: #06b6d4;
}

.pagevico-inline-notice-warning {
	border-left-color: #f97316;
}

.pagevico-inline-notice-success {
	border-left-color: #22c55e;
}

.table-card {
	background: white;
	padding: 1.25rem;
	border: 1px solid var(--pvc-border);
	box-shadow: 0 5px 20px rgba(15, 23, 42, 0.08);
	border-radius: 1.25rem;
}

.pagevico-form-card h4,
.pagevico-form-card p {
	margin: 0;
}

.scheduled-report-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.pagevico-report-disabled {
	opacity: 0.4;
	pointer-events: none;
	position: relative;
}

.pagevico-report-disabled::after {
	content: attr(data-warning);
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
	color: var(--pvc-neutral-500);
	background: rgba(248, 250, 252, 0.85);
	border-radius: inherit;
	padding: 1rem;
	text-align: center;
}

.pagevico-report-conditional.pagevico-report-disabled {
	opacity: 0.6;
}

.scheduled-option-card {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1rem;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 1.25rem;
	min-height: 16px;
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.scheduled-option-card input {
	margin-top: 0.1rem;
}

.scheduled-option-card:hover {
	border-color: rgba(255, 60, 0, 0.35);
	transform: translateY(-2px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 25px 45px rgba(15, 23, 42, 0.09);
}

.scheduled-option-card input[type=checkbox] {
	position: relative;
	width: 1.35rem;
	height: 1.35rem;
	accent-color: transparent;
	border: 1px solid rgba(15, 23, 42, 0.25);
	border-radius: 0.5rem;
	background: #fff;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
	transition: border-color 0.2s ease, background 0.2s ease;
	height: 15px;
}

.scheduled-option-card input[type=checkbox]:checked {
	border-color: transparent;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.scheduled-option-card input[type=checkbox]:checked::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.scheduled-option-title {
	margin: 0;
	font-weight: 600;
	color: var(--pvc-neutral-900);
}

.scheduled-option-note {
	margin: 0;
	font-size: 0.8rem;
	color: var(--pvc-neutral-500);
}

.badge-inline {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.9rem;
	border: 1px solid var(--pvc-border);
	background: #fff;
	font-size: 0.85rem;
	color: var(--pvc-neutral-700);
	box-shadow: 0 5px 15px rgba(15, 23, 42, 0.08);
}

	.pagevico-form-field input[type="checkbox"],
	.pagevico-form-field input[type="radio"] {
		accent-color: var(--pvc-primary);
		width: auto;
	}

.report-summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin-bottom: 1rem;
}

.report-summary-card {
	background: #fff;
	padding: 1rem 1.25rem;
	border: 1px solid var(--pvc-border);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 20px rgba(15, 23, 42, 0.04);
}

.report-summary-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--pvc-neutral-500);
	margin-bottom: 0.35rem;
}

.report-summary-value {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--pvc-neutral-900);
	margin: 0;
}

.report-summary-note {
	font-size: 0.75rem;
	color: var(--pvc-neutral-500);
	margin-top: 0.4rem;
}

.collapse-toggle {
	background: none;
	border: none;
	padding: 0.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--pvc-border);
	color: var(--pvc-neutral-500);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.collapse-toggle:hover {
	border-color: var(--pvc-primary);
	color: var(--pvc-primary);
	transform: translateY(-1px);
}

.collapse-body {
	max-height: 999px;
	transition: max-height 0.3s ease;
}

.collapse-body.collapsed {
	max-height: 0;
	overflow: hidden;
}

.top-cities-table .dashicons-location {
	color: var(--pvc-primary);
}

.pagevico-top-timeline {
	background: white;
	border: 1px solid var(--pvc-border);
	padding: 1.5rem;
	box-shadow: var(--pvc-shadow);
	margin-bottom: 1.5rem;
}

.pagevico-top-timeline h4 {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--pvc-neutral-900);
}

.pagevico-journey-timeline {
	position: relative;
	margin: 0;
	padding-left: 1rem;
	list-style: none;
}

.pagevico-journey-timeline::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 2px;
	height: 100%;
	background: var(--pvc-border);
}

.pagevico-journey-panel {
	background: white;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 1.5rem;
	padding: 1.5rem;
	box-shadow: 0 25px 40px rgba(15, 23, 42, 0.1);
}

.pagevico-journey-panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.25rem;
	gap: 1rem;
	flex-wrap: wrap;
}

.pagevico-journey-panel-header h5 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--pvc-neutral-900);
}

.pagevico-journey-panel-header p {
	margin: 0;
	color: var(--pvc-neutral-500);
	font-size: 0.85rem;
}

.pagevico-journey-step {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 2rem;
}

.pagevico-journey-step::before {
	content: '';
	position: absolute;
	left: -6px;
	top: 6px;
	width: 14px;
	height: 14px;
	background: var(--pvc-primary);
	box-shadow: 0 0 0 4px rgba(255, 60, 0, 0.2);
}

.pagevico-journey-content {
	background: #f8fafc;
	padding: 1.25rem;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 1rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
	position: relative;
}

.pagevico-journey-content::after {
	content: '';
	position: absolute;
	inset: 8px;
	border-radius: 0.75rem;
	border: 1px dashed rgba(255, 60, 0, 0.2);
	pointer-events: none;
}

.pagevico-journey-meta,
.pagevico-journey-details {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.pagevico-journey-icon {
	width: 48px;
	height: 48px;
	background: white;
	border: 1px solid var(--pvc-border);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.pagevico-journey-info {
	flex: 1;
	min-width: 200px;
}

.pagevico-journey-page {
	font-weight: 600;
	color: var(--pvc-neutral-900);
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.pagevico-journey-page .dashicons {
	font-size: 1rem;
}

.pagevico-journey-referrer {
	margin-top: 0.5rem;
}

.pagevico-journey-referrer .referrer-link {
	color: var(--pvc-neutral-700);
	font-size: 0.85rem;
	word-break: break-all;
}

.utm-campaigns-card,
.goals-card,
.reports-card {
	background: white;
	border: 1px solid var(--pvc-border);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--pvc-shadow);
}

.utm-campaigns-grid,
.goals-grid,
.reports-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
}

.utm-campaigns-list,
.goals-list,
.reports-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.utm-campaigns-list li,
.goals-list li,
.reports-list li {
	padding: 0.85rem 1rem;
	background: var(--pvc-neutral-100);
	border: 1px solid transparent;
	transition: border 0.2s ease, transform 0.2s ease;
}

.utm-campaigns-list li:hover,
.goals-list li:hover,
.reports-list li:hover {
	border-color: var(--pvc-primary);
	transform: translateY(-2px);
}

.utm-campaigns-list .item-title,
.goals-list .item-title,
.reports-list .item-title {
	font-weight: 600;
	color: var(--pvc-neutral-900);
}

.utm-campaigns-list .item-meta,
.goals-list .item-meta,
.reports-list .item-meta {
	font-size: 0.85rem;
	color: var(--pvc-neutral-500);
}

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

table th,
table td {
	padding: 1rem 0.75rem;
	font-size: 0.95rem;
}

table thead th {
	background: #eff3f9;
	border-bottom: 1px solid rgba(15, 23, 42, 0.1);
	color: var(--pvc-neutral-500);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
}

table tbody tr {
	background: #fbfdff;
	border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

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

table tbody tr:hover {
	background: var(--pvc-neutral-100);
}

table td a {
	transition: color 0.2s ease;
}

table td a:hover {
	color: var(--pvc-primary);
}

.field-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--pvc-neutral-500);
	margin-bottom: 0.25rem;
	display: block;
}

.pagevico-form-card {
 	background: #f4f6fb;
 	padding: 1.25rem 1.5rem;
 	border: 1px solid var(--pvc-border);
 	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
 	margin-bottom: 1.25rem;
}

.pagevico-form-card h4 {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--pvc-neutral-900);
}

.pagevico-form-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pagevico-form-field {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.pagevico-form-field input,
.pagevico-form-field select,
.pagevico-form-field textarea {
	border: 1px solid var(--pvc-border);
	background: white;
	padding: 0.65rem 0.9rem;
	font-size: 0.95rem;
	box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.08);
	width: 100%;
	border-radius: 0.9rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pagevico-form-field textarea {
	min-height: 120px;
	resize: vertical;
}

.pagevico-form-field input:focus,
.pagevico-form-field select:focus,
.pagevico-form-field textarea:focus {
	border-color: var(--pvc-primary);
	box-shadow: 0 0 0 3px rgba(255, 60, 0, 0.18);
	outline: none;
}

.pagevico-section-content form {
	display: grid;
	gap: 1.5rem;
}

.pagevico-section-content label.form-label {
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pvc-neutral-500);
	display: block;
	margin-bottom: 0.35rem;
}

.pagevico-section-content .form-control,
.pagevico-section-content .form-select,
.pagevico-section-content textarea {
	width: 100%;
	border-radius: 0.9rem;
	border: 1px solid rgba(15, 23, 42, 0.15);
	padding: 0.75rem 0.9rem;
	background: #fff;
	box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.05);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pagevico-section-content .form-control:focus,
.pagevico-section-content .form-select:focus,
.pagevico-section-content textarea:focus {
	border-color: var(--pvc-primary);
	box-shadow: 0 0 0 3px rgba(255, 60, 0, 0.1);
}

.pagevico-section-content .mb-3,
.pagevico-section-content .mb-4 {
	background: #fff;
	padding: 1.25rem;
	border-radius: 1rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.pagevico-section-content .mb-3 h4,
.pagevico-section-content .mb-4 h4 {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.1rem;
	color: var(--pvc-neutral-900);
}

.pagevico-section-content .btn,
.pagevico-section-content .form-control,
.pagevico-section-content .form-select {
	font-family: inherit;
}

.pagevico-settings-main {
	display: grid;
	gap: 1.5rem;
}

.pagevico-settings-tabs {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.pagevico-settings-tabs .nav-link {
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	padding: 0.5rem 1.25rem;
	color: var(--pvc-neutral-700);
}

.pagevico-settings-tabs .nav-link.active {
	background: #fff;
	color: var(--pvc-neutral-900);
	border-color: rgba(255, 60, 0, 0.4);
	box-shadow: 0 12px 25px rgba(255, 60, 0, 0.15);
}

.pagevico-settings-page .pagevico-section-content form {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.pagevico-settings-page .pagevico-settings-group {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.pagevico-settings-page .pagevico-settings-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
}

.pagevico-settings-page .pagevico-settings-grid > .mb-2,
.pagevico-settings-page .pagevico-settings-grid > .mb-3,
.pagevico-settings-page .pagevico-settings-grid > .mb-4 {
	margin: 0;
}

.pagevico-settings-page .pagevico-section-content form .mb-2,
.pagevico-settings-page .pagevico-section-content form .mb-3,
.pagevico-settings-page .pagevico-section-content form .mb-4 {
	background: transparent;
	padding: 0;
	border: none;
	box-shadow: none;
}

.pagevico-settings-field {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 1rem;
	padding: 1rem;
	box-shadow: 0 12px 25px rgba(15, 23, 42, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	min-width: 0;
}

.pagevico-settings-field--full {
	grid-column: 1 / -1;
}

.pagevico-settings-field--compact {
	max-width: 360px;
	width: 100%;
	justify-self: start;
}

.pagevico-settings-field--checkbox {
	flex-direction: row;
	align-items: center;
	gap: 0.65rem;
}

.pagevico-settings-field--checkbox label {
	margin: 0;
	font-weight: 600;
	color: var(--pvc-neutral-700);
}

.pagevico-settings-field--checkbox input[type='checkbox'] {
	margin: 0;
}

.pagevico-settings-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding-top: 0.75rem;
	margin-top: 0.25rem;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.pagevico-settings-page .btn {
	border-radius: 0.9rem;
	padding: 0.65rem 1.6rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
	border-width: 1px;
	line-height: 1;
	min-height: 44px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}

.pagevico-settings-page .btn .dashicons {
	font-size: 1rem;
	line-height: 1;
	width: 1rem;
	height: 1rem;
}

.pagevico-settings-page .btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.pagevico-settings-page .btn:focus {
	box-shadow: 0 0 0 3px rgba(255, 60, 0, 0.15);
}

.pagevico-settings-page .pagevico-section + .pagevico-section {
	margin-top: 1.5rem;
}

.pagevico-settings-page .pagevico-section-header {
	margin-bottom: 1rem;
}

.pagevico-settings-page .pagevico-section-content .row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
	margin: 0;
}

.pagevico-settings-page .pagevico-section-content .row > [class*='col-'] {
	padding: 0;
}

.pagevico-settings-page .pagevico-section-content .card.mb-3,
.pagevico-settings-page .pagevico-section-content .card.mb-4 {
	padding: 0;
}

.pagevico-settings-page .pagevico-section-content .card-body .btn {
	margin-top: 0.75rem;
}

.pagevico-settings-page .pagevico-section-content .card-body form .btn {
	margin-top: 0.5rem;
}

.pagevico-settings-page .pagevico-section-content .card {
	border-radius: 1rem;
}

.pagevico-settings-page .pagevico-section-content .card-header {
	padding: 0.75rem 1.25rem;
	font-size: 0.82rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pagevico-settings-page .pagevico-section-content .card-body {
	background: #fff;
	padding: 1.25rem 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.pagevico-settings-page .pagevico-section-content .card-body p {
	margin: 0;
}

.pagevico-settings-page .pagevico-section-content .card-body .card-title,
.pagevico-settings-page .pagevico-section-content .card-body h5 {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	color: var(--pvc-neutral-900);
}

.pagevico-settings-page .pagevico-section-content .card-body .btn {
	align-self: flex-start;
}

.pagevico-section-content .card {
	border-radius: 1.25rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.pagevico-section-content .card-header {
	background: linear-gradient(90deg, rgba(255, 60, 0, 0.15), rgba(255, 255, 255, 0));
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--pvc-neutral-700);
}

.pagevico-section-content .card-body {
	padding: 1.25rem;
	background: #fafbff;
}

.card1 {
	background: white;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--pvc-border);
	box-shadow: var(--pvc-shadow);
	margin-bottom: 1.5rem;
}

.form-control,
.form-select,
.form-control-sm {
	border: 1px solid var(--pvc-border);
	box-shadow: none;
	padding: 0.5rem 0.85rem;
	background: white;
}

.form-check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.pagevico-btn-outline-primary {
	border: 1px solid var(--pvc-border);
	background: white;
	color: var(--pvc-neutral-700);
	padding: 0.55rem 1.1rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	transition: border-color 0.2s ease, color 0.2s ease;
	height: auto;
	margin-top: 30px;
}

.pagevico-btn-outline-primary:hover {
	border-color: var(--pvc-primary);
	color: var(--pvc-primary);
}

.goal-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.65rem;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.goal-row-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	grid-column: 1 / -1;
}

.goal-row-actions button {
	min-height: 44px;
}

.goal-row-delete {
	align-self: flex-start;
}

.goal-row .form-labeled {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.goal-row input,
.goal-row select,
.goal-row textarea {
	width: 100%;
	background: white;
	border: 1px solid var(--pvc-border);
	padding: 0.55rem 0.85rem;
	box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.08);
}

.goal-row input[type='checkbox']{
	width: 15px;
}

.goal-settings-panel {
	background: #fff;
	padding: 1.25rem;
	border: 1px solid var(--pvc-border);
	box-shadow: var(--pvc-shadow);
	margin-bottom: 1.5rem;
}

.goal-actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-top: 0.5rem;
}

.goal-actions .pagevico-btn-outline-primary {
}

.pvc-progress {
	height: 0.4rem;
	background: #eef2f7;
	overflow: hidden;
	box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.08);
}

.pvc-progress-bar {
	height: 100%;
	transition: width 0.3s ease;
}

.email-template-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
}

.email-template-card {
	background: var(--pvc-neutral-100);
	padding: 1rem;
	border: 1px solid var(--pvc-border);
}

.email-template-card textarea {
	min-height: 160px;
}

.goal-summary {
	border: 1px solid var(--pvc-border);
	padding: 1rem 1.25rem;
	background: radial-gradient(circle at top right, rgba(255, 60, 0, 0.15), transparent), #fff;
	box-shadow: 0 10px 30px rgba(255, 60, 0, 0.18);
	margin-bottom: 1rem;
}

.goal-summary h4 {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--pvc-neutral-900);
}

.goal-summary p {
	margin: 0.25rem 0 0;
	color: var(--pvc-neutral-500);
	font-size: 0.9rem;
}

.goal-metrics {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 0.75rem;
}

.goal-metrics span {
	font-size: 0.95rem;
	font-weight: 600;
}
.setting-panel {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.setting-panel .panel-card {
	background: var(--pvc-neutral-100);
	padding: 1rem;
	border: 1px solid var(--pvc-border);
}

.pagevico-footer {
	margin: 0 auto;
	padding: 1.5rem 1.25rem;
	text-align: center;
	color: var(--pvc-neutral-500);
	font-size: 0.85rem;
}

@media (max-width: 640px) {
	.pagevico-header-content {
		flex-direction: column;
		gap: 0.75rem;
	}

	table th,
	table td {
		font-size: 0.8rem;
		padding: 0.65rem 0.5rem;
	}

	.filters-bar {
		flex-direction: column;
		align-items: stretch;
	}

	.pagevico-date-filter form {
		width: 100%;
		justify-content: space-between;
	}

	.pagevico-date-filter input,
	.pagevico-filter-select {
		min-width: 120px;
	}
}
