:root {
	--vp-bg: #06122e;
	--vp-bg-2: #091736;
	--vp-panel: linear-gradient(180deg, rgba(14, 27, 60, 0.95) 0%, rgba(7, 19, 46, 0.98) 100%);
	--vp-panel-2: rgba(11, 27, 65, 0.88);
	--vp-border: rgba(110, 145, 210, 0.22);
	--vp-text: #ffffff;
	--vp-text-soft: #9fb0d8;
	--vp-accent: #c88a2b;
	--vp-accent-2: #f2b24e;
	--vp-danger: #dc2626;
	--vp-success: #16a34a;
	--vp-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
	--vp-radius: 18px;
}

body {
	background: linear-gradient(180deg, #04102a 0%, #061534 100%);
	color: var(--vp-text);
}

.vueportal-shell {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	min-height: 100vh;
	background: transparent;
}

.vueportal-sidebar {
	background: linear-gradient(180deg, #08142e 0%, #06112a 100%);
	border-right: 1px solid rgba(255,255,255,0.06);
	padding: 18px 14px;
	position: sticky;
	top: 0;
	height: 100vh;
}

.vueportal-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
	padding: 0 4px;
}

.vueportal-brand-mark {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #5b5cf0, #7c4dff);
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.vueportal-brand-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.vueportal-brand-subtitle {
	font-size: 11px;
	color: var(--vp-text-soft);
}

.vueportal-nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vueportal-nav-link {
	display: block;
	padding: 10px 8px;
	border-radius: 10px;
	color: rgba(255,255,255,0.88);
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	transition: all 0.2s ease;
}

.vueportal-nav-link:hover,
.vueportal-nav-link.is-active {
	background: linear-gradient(90deg, rgba(200,138,43,0.34) 0%, rgba(200,138,43,0.12) 100%);
	color: #fff;
}

.vueportal-main {
	padding: 28px 34px;
}

.vueportal-topbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.vueportal-page-title {
	margin: 0;
	font-size: 56px;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #fff;
	font-weight: 800;
}

.vueportal-page-subtitle {
	margin: 16px 0 0;
	color: var(--vp-text-soft);
	font-size: 16px;
	font-weight: 600;
}

.vueportal-topbar-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.vueportal-stats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 18px;
}

.vueportal-stat-card,
.vueportal-card {
	background: var(--vp-panel);
	border: 1px solid var(--vp-border);
	border-radius: var(--vp-radius);
	box-shadow: var(--vp-shadow);
	backdrop-filter: blur(8px);
}

.vueportal-stat-card {
	padding: 18px 20px;
}

.vueportal-stat-label {
	font-size: 12px;
	color: var(--vp-text-soft);
	margin-bottom: 8px;
	font-weight: 700;
}

.vueportal-stat-value {
	font-size: 24px;
	font-weight: 800;
	color: #fff;
}

.vueportal-card {
	padding: 20px;
	margin-bottom: 18px;
}

.vueportal-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.vueportal-card-header h2,
.vueportal-section-title {
	margin: 0;
	font-size: 17px;
	color: #fff;
	font-weight: 800;
}

.vueportal-content-grid {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.vueportal-filter-bar,
.vueportal-form {
	margin: 0;
}

.vueportal-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.vueportal-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vueportal-field-full {
	grid-column: 1 / -1;
}

.vueportal-field label {
	font-size: 12px;
	font-weight: 700;
	color: #fff;
}

.vueportal-field input,
.vueportal-field select,
.vueportal-field textarea {
	width: 100%;
	border: 1px solid rgba(159,176,216,0.45);
	background: rgba(5, 16, 40, 0.78);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	color: #fff;
	box-sizing: border-box;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vueportal-field input:focus,
.vueportal-field select:focus,
.vueportal-field textarea:focus {
	border-color: var(--vp-accent-2);
	box-shadow: 0 0 0 4px rgba(200, 138, 43, 0.16);
	background: rgba(8, 22, 54, 0.96);
}

.vueportal-field input::placeholder,
.vueportal-field textarea::placeholder {
	color: rgba(159,176,216,0.62);
}

.vueportal-form-section {
	padding-top: 10px;
	margin-top: 22px;
	border-top: 1px solid rgba(255,255,255,0.08);
}

.vueportal-form-section:first-child {
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}

.vueportal-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.vueportal-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all 0.2s ease;
}

.vueportal-btn-primary {
	background: linear-gradient(135deg, #d39a41 0%, #b8751c 100%);
	color: #fff;
}

.vueportal-btn-primary:hover {
	opacity: 0.94;
	color: #fff;
}

.vueportal-btn-secondary {
	background: rgba(255,255,255,0.05);
	border-color: rgba(255,255,255,0.1);
	color: #fff;
}

.vueportal-btn-secondary:hover {
	background: rgba(255,255,255,0.1);
	color: #fff;
}

.vueportal-btn-danger {
	background: var(--vp-danger);
	color: #fff;
}

.vueportal-btn-danger-outline {
	background: transparent;
	color: #ffb4b4;
	border-color: rgba(220, 38, 38, 0.35);
}

.vueportal-form-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 26px;
}

.vueportal-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.vueportal-list-item {
	display: block;
	padding: 14px;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 14px;
	text-decoration: none;
	background: rgba(255,255,255,0.03);
	transition: all 0.2s ease;
}

.vueportal-list-item:hover,
.vueportal-list-item.is-active {
	border-color: rgba(200,138,43,0.55);
	box-shadow: 0 8px 30px rgba(200,138,43,0.12);
	transform: translateY(-1px);
}

.vueportal-list-title {
	font-weight: 800;
	color: #fff;
	margin-bottom: 6px;
}

.vueportal-list-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12px;
	color: var(--vp-text-soft);
}

.vueportal-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(200,138,43,0.15);
	color: #f8c56f;
	font-size: 12px;
	font-weight: 800;
}

.vueportal-repeater {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.vueportal-repeater-item {
	padding: 16px;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 14px;
	background: rgba(255,255,255,0.02);
}

.vueportal-repeater-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 14px;
}

.vueportal-media-picker {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.vueportal-media-preview {
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.12);
	background: rgba(255,255,255,0.03);
}

.vueportal-empty-state {
	padding: 28px 18px;
	text-align: center;
	border: 1px dashed rgba(255,255,255,0.12);
	border-radius: 16px;
	background: rgba(255,255,255,0.02);
}

.vueportal-empty-state h3 {
	margin: 0 0 8px;
	color: #fff;
}

.vueportal-empty-state p {
	margin: 0;
	color: var(--vp-text-soft);
}

.vueportal-alert {
	padding: 14px 16px;
	border-radius: 14px;
	margin-bottom: 20px;
	font-weight: 700;
}

.vueportal-alert.is-success {
	background: rgba(22, 163, 74, 0.12);
	color: #9ef0b4;
	border: 1px solid rgba(22, 163, 74, 0.24);
}

.vueportal-alert.is-error {
	background: rgba(220, 38, 38, 0.12);
	color: #ffb4b4;
	border: 1px solid rgba(220, 38, 38, 0.24);
}

@media (max-width: 1200px) {
	.vueportal-content-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 992px) {
	.vueportal-shell {
		grid-template-columns: 1fr;
	}

	.vueportal-sidebar {
		position: relative;
		height: auto;
	}

	.vueportal-stats-grid {
		grid-template-columns: 1fr;
	}

	.vueportal-topbar {
		flex-direction: column;
	}

	.vueportal-form-grid {
		grid-template-columns: 1fr;
	}

	.vueportal-page-title {
		font-size: 42px;
	}
}

@media (max-width: 640px) {
	.vueportal-main {
		padding: 18px;
	}

	.vueportal-card,
	.vueportal-stat-card {
		padding: 16px;
	}
}
body.page-template-page-dashboard .site-header,
body.page-template-page-dashboard .site-header,
body.page-template-page-properties .site-header,
body.page-template-page-units .site-header,
body.page-template-page-content .site-header,
body.page-template-page-users .site-header,
body.page-template-page-branding .site-header,
body.page-template-page-settings .site-header,
body.page-template-page-dashboard header#masthead,
body.page-template-page-companies header#masthead,
body.page-template-page-properties header#masthead,
body.page-template-page-units header#masthead,
body.page-template-page-content header#masthead,
body.page-template-page-users header#masthead,
body.page-template-page-branding header#masthead,
body.page-template-page-settings header#masthead,
body.page-template-page-dashboard .navbar,
body.page-template-page-companies .navbar,
body.page-template-page-properties .navbar,
body.page-template-page-units .navbar,
body.page-template-page-content .navbar,
body.page-template-page-users .navbar,
body.page-template-page-branding .navbar,
body.page-template-page-settings .navbar,
body.page-template-page-dashboard .main-navigation,
body.page-template-page-properties .main-navigation,
body.page-template-page-units .main-navigation,
body.page-template-page-content .main-navigation,
body.page-template-page-users .main-navigation,
body.page-template-page-branding .main-navigation,
body.page-template-page-settings .main-navigation {
	display: none !important;
}

body.page-template-page-dashboard .site-content,
body.page-template-page-companies .site-content,
body.page-template-page-properties .site-content,
body.page-template-page-units .site-content,
body.page-template-page-content .site-content,
body.page-template-page-users .site-content,
body.page-template-page-branding .site-content,
body.page-template-page-settings .site-content,
body.page-template-page-dashboard #content,
body.page-template-page-companies #content,
body.page-template-page-properties #content,
body.page-template-page-units #content,
body.page-template-page-content #content,
body.page-template-page-users #content,
body.page-template-page-branding #content,
body.page-template-page-settings #content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
/* Hide theme marketing header/footer on portal pages */
body.page-template-page-dashboard #masthead,
body.page-template-page-companies #masthead,
body.page-template-page-properties #masthead,
body.page-template-page-units #masthead,
body.page-template-page-content #masthead,
body.page-template-page-users #masthead,
body.page-template-page-branding #masthead,
body.page-template-page-settings #masthead,
body.page-template-page-contact #masthead,
body.page-template-page-experiences-categories #masthead,
body.page-template-page-experiences-activities #masthead,
body.page-template-page-dashboard #colophon,
body.page-template-page-companies #colophon,
body.page-template-page-properties #colophon,
body.page-template-page-units #colophon,
body.page-template-page-content #colophon,
body.page-template-page-users #colophon,
body.page-template-page-branding #colophon,
body.page-template-page-settings #colophon,
body.page-template-page-contact #colophon,
body.page-template-page-experiences-categories #colophon,
body.page-template-page-experiences-activities #colophon {
	display: none !important;
}

body.page-template-page-dashboard .site-content,
body.page-template-page-companies .site-content,
body.page-template-page-properties .site-content,
body.page-template-page-units .site-content,
body.page-template-page-content .site-content,
body.page-template-page-users .site-content,
body.page-template-page-branding .site-content,
body.page-template-page-settings .site-content,
body.page-template-page-contact .site-content,
body.page-template-page-experiences-categories .site-content,
body.page-template-page-experiences-activities .site-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.page-template-page-dashboard .vueportal-shell,
body.page-template-page-companies .vueportal-shell,
body.page-template-page-properties .vueportal-shell,
body.page-template-page-units .vueportal-shell,
body.page-template-page-content .vueportal-shell,
body.page-template-page-users .vueportal-shell,
body.page-template-page-branding .vueportal-shell,
body.page-template-page-settings .vueportal-shell,
body.page-template-page-contact .vueportal-shell,
body.page-template-page-experiences-categories .vueportal-shell,
body.page-template-page-experiences-activities .vueportal-shell {
	margin-top: 0 !important;
	min-height: 100vh;
}