/* ===============================
   VAULTIQ STAFF UI - CLEAN FIX
   =============================== */

.vaultiq-portal {
	--vaultiq-primary: #0f172a;
	--vaultiq-accent: #005587;
	--vaultiq-border: #e5e7eb;
	--vaultiq-bg: #f6f8fb;
	--vaultiq-card: #ffffff;
	--vaultiq-text: #111827;
	--vaultiq-muted: #6b7280;

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
	background: var(--vaultiq-bg);
	padding: 24px;
	border-radius: 12px;
}

/* PAGE WRAP FIX */
.vaultiq-portal__header {
	margin-bottom: 24px;
}

.vaultiq-portal__title {
	font-size: 26px;
	font-weight: 700;
	color: var(--vaultiq-primary);
	margin: 0;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--vaultiq-primary);
}

/* ===== CARDS FIX (MAIN PROBLEM) ===== */
.vaultiq-portal__card {
	background: var(--vaultiq-card);
	border: 1px solid var(--vaultiq-border);
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 20px;

	/* THIS FIXES “FLOATING / MISALIGNED” LOOK */
	width: 100%;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;

	box-shadow: 0 6px 18px rgba(0,0,0,0.04);
	transition: all 0.2s ease;
}

.vaultiq-portal__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* HEADINGS */
.vaultiq-portal h3 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--vaultiq-text);
}

/* MUTED TEXT */
.vaultiq-portal__muted {
	color: var(--vaultiq-muted);
	font-size: 14px;
}

/* ===== TABLE FIX ===== */
.vaultiq-portal__table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	overflow: hidden;
	border-radius: 10px;
}

.vaultiq-portal__table th {
	text-align: left;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--vaultiq-muted);
	padding: 14px;
	background: #f3f6fa;
	border-bottom: 1px solid var(--vaultiq-border);
}

.vaultiq-portal__table td {
	padding: 14px;
	border-bottom: 1px solid var(--vaultiq-border);
	vertical-align: top;
}

.vaultiq-portal__table tr:hover td {
	background: #f9fbff;
}

/* ===== TWO COLUMN GRID FIX ===== */
.vaultiq-portfolio-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-top: 16px;
	width: 100%;
}

@media (min-width: 768px) {
	.vaultiq-portfolio-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.vaultiq-portfolio-col {
	background: #f9fafb;
	border: 1px solid var(--vaultiq-border);
	border-radius: 10px;
	padding: 16px;
	min-width: 0;
}

.vaultiq-portfolio-col h5 {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--vaultiq-muted);
	margin: 0 0 12px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--vaultiq-border);
}

/* Client portfolio individual client section */
.vaultiq-portfolio-client {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 2px solid var(--vaultiq-border);
}

.vaultiq-portfolio-client:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.vaultiq-portfolio-client h4 {
	font-size: 18px;
	font-weight: 700;
	color: var(--vaultiq-text);
	margin: 0 0 8px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--vaultiq-border);
}

.vaultiq-portfolio-client .client-email {
	font-size: 13px;
	color: var(--vaultiq-muted);
	font-weight: normal;
}

/* ===== LIST ITEMS FIX ===== */
.vaultiq-portal__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.vaultiq-portal__item {
	background: #fff;
	border: 1px solid var(--vaultiq-border);
	border-radius: 10px;
	padding: 14px;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

/* ACTION BUTTONS */
.vaultiq-portal__button {
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
}

.vaultiq-portal__button--primary {
	background: var(--vaultiq-accent);
	color: #fff;
}

.vaultiq-portal__button--danger {
	border: 1px solid #dc2626;
	color: #dc2626;
	background: transparent;
}

.vaultiq-portal__button--danger:hover {
	background: #dc2626;
	color: #fff;
}

/* ===== BADGES FIX ===== */
.vaultiq-badge {
	font-size: 11px;
	padding: 4px 8px;
	border-radius: 6px;
	font-weight: 700;
}

.vaultiq-badge--unassigned {
	background: #fee2e2;
	color: #991b1b;
}

.vaultiq-badge--assigned {
	background: #dcfce7;
	color: #166534;
}

/* ===== FORM FIX ===== */
.vaultiq-frontend-form input,
.vaultiq-frontend-form select,
.vaultiq-frontend-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--vaultiq-border);
	border-radius: 8px;
	font-size: 14px;
}

.vaultiq-frontend-form input:focus,
.vaultiq-frontend-form select:focus,
.vaultiq-frontend-form textarea:focus {
	border-color: var(--vaultiq-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0,85,135,0.1);
}

/* ===== FIX DASHBOARD CENTERING ===== */
.vaultiq-portal {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.vaultiq-portal__card {
	text-align: left;
}




/* ===============================
   WOOCOMMERCE LAYOUT FIX
   =============================== */

body.woocommerce-account .woocommerce {
	display: flex !important;
	flex-direction: row;
	gap: 30px;
	max-width: 100% !important;
	width: 100%;
	margin: 0 auto;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
	flex: 0 0 280px !important;
	width: 280px !important;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	float: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin-bottom: 8px !important;
	border: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: flex !important;
	align-items: center;
	padding: 12px 16px !important;
	color: #374151 !important;
	text-decoration: none !important;
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background-color: #f3f4f6 !important;
	color: #111827 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background-color: #2563eb !important;
	color: #ffffff !important;
}

/* CONTENT */
body.woocommerce-account .woocommerce-MyAccount-content {
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0;
	float: none !important;
}

/* MOBILE */
@media (max-width: 768px) {
	body.woocommerce-account .woocommerce {
		flex-direction: column !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation {
		width: 100% !important;
	}
}

/* ===== SAAS STYLE DROPDOWNS ONLY ===== */

.vaultiq-frontend-form select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;

	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236b7280' d='M5.5 7l4.5 5 4.5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;

	padding-right: 38px;

	transition: all 0.2s ease;
	cursor: pointer;
}

/* hover state */
.vaultiq-frontend-form select:hover {
	border-color: #cbd5e1;
}

/* focus state (already exists, just enhancing feel) */
.vaultiq-frontend-form select:focus {
	border-color: var(--vaultiq-accent);
	box-shadow: 0 0 0 3px rgba(0, 85, 135, 0.12);
}

/* optional: nicer disabled state */
.vaultiq-frontend-form select:disabled {
	background-color: #f3f4f6;
	color: #9ca3af;
	cursor: not-allowed;
}

/* ===== MODERN STAFF DASHBOARD ===== */
.vaultiq-frontend-staff {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	background: #f9fafb;
	padding: 40px 20px;
}

.vaultiq-frontend-staff__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 40px;
	margin-bottom: 32px;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vaultiq-frontend-staff__title {
	font-size: 32px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 8px 0;
	padding: 0;
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.vaultiq-frontend-staff__subtitle {
	font-size: 14px;
	color: #6b7280;
	margin: 0;
	line-height: 1.6;
}

.vaultiq-frontend-staff__user-info {
	text-align: right;
}

.vaultiq-frontend-staff__user-role {
	display: inline-block;
	padding: 8px 16px;
	background: #f0f7ff;
	color: #005587;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.vaultiq-frontend-alert {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 20px;
	border-radius: 8px;
	margin-bottom: 24px;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	border-left: 4px solid;
	font-size: 14px;
	line-height: 1.5;
}

.vaultiq-frontend-alert p {
	margin: 0;
}

.vaultiq-frontend-alert--success {
	background: #f0fdf4;
	color: #166534;
	border-left-color: #10b981;
}

.vaultiq-frontend-alert--error {
	background: #fef2f2;
	color: #991b1b;
	border-left-color: #ef4444;
}

.vaultiq-frontend-alert--warning {
	background: #fffbeb;
	color: #92400e;
	border-left-color: #f59e0b;
}

.vaultiq-frontend-staff__section {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 32px;
	margin-bottom: 24px;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}

.vaultiq-frontend-staff__section:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vaultiq-frontend-staff__section h2 {
	font-size: 20px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 12px 0;
	padding: 0;
	letter-spacing: -0.3px;
}

.vaultiq-frontend-staff__section h3 {
	font-size: 16px;
	font-weight: 600;
	color: #111827;
	margin: 24px 0 12px 0;
}

.vaultiq-frontend-staff__description {
	font-size: 14px;
	color: #6b7280;
	margin: 0 0 16px 0;
	line-height: 1.6;
}

.vaultiq-frontend-staff__table-wrap {
	overflow-x: auto;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin: 20px 0;
	-webkit-overflow-scrolling: touch;
}

.vaultiq-frontend-staff__table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
}

.vaultiq-frontend-staff__table thead th {
	background: #f9fafb;
	padding: 16px 20px;
	font-weight: 700;
	border-bottom: 2px solid #e5e7eb;
	text-align: left;
	font-size: 11px;
	color: #111827;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.vaultiq-frontend-staff__table tbody tr {
	border-bottom: 1px solid #e5e7eb;
	transition: background 0.15s ease;
}

.vaultiq-frontend-staff__table tbody tr:hover {
	background: #f0f7ff;
}

.vaultiq-frontend-staff__table tbody tr:last-child {
	border-bottom: none;
}

.vaultiq-frontend-staff__table tbody td {
	padding: 16px 20px;
	font-size: 14px;
	color: #111827;
	vertical-align: middle;
	line-height: 1.5;
}

.vaultiq-frontend-staff__table tbody td strong {
	font-weight: 700;
	display: block;
	margin-bottom: 4px;
	color: #111827;
}

.vaultiq-frontend-staff__table tbody td small {
	color: #6b7280;
	font-size: 13px;
}

.vaultiq-frontend-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.vaultiq-frontend-badge--assigned {
	background: #f0f7ff;
	color: #005587;
}

.vaultiq-frontend-badge--unassigned {
	background: #f3f4f6;
	color: #6b7280;
}

.vaultiq-frontend-badge--manager {
	background: #dbeafe;
	color: #1e40af;
}

.vaultiq-frontend-badge--executive {
	background: #fce7f3;
	color: #831843;
}

.vaultiq-frontend-badge--info {
	background: #e0f2fe;
	color: #0369a1;
}

.vaultiq-frontend-staff__empty {
	text-align: center;
	padding: 40px 20px;
	background: #f9fafb;
	border-radius: 8px;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.6;
}

.vaultiq-frontend-staff__empty p {
	margin: 0 0 8px 0;
}

/* ===== STAT CARDS ===== */
.vaultiq-frontend-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin: 20px 0 30px 0;
}

.vaultiq-frontend-stat-card {
	background: linear-gradient(135deg, #005587 0%, #003d63 100%);
	color: #ffffff;
	padding: 24px;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 85, 135, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vaultiq-frontend-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 85, 135, 0.25);
}

.vaultiq-frontend-stat-number {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 8px;
}

.vaultiq-frontend-stat-label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	opacity: 0.9;
}

/* ===== BUTTONS ===== */
.vaultiq-btn {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.vaultiq-btn--primary {
	background: #005587;
	color: #ffffff;
	border-color: #005587;
}

.vaultiq-btn--primary:hover {
	background: #003d63;
	border-color: #003d63;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 85, 135, 0.2);
}

.vaultiq-btn--secondary {
	background: #e5e7eb;
	color: #111827;
	border-color: #e5e7eb;
}

.vaultiq-btn--secondary:hover {
	background: #d1d5db;
	border-color: #d1d5db;
}

.vaultiq-btn--danger {
	background: transparent;
	color: #dc2626;
	border-color: #dc2626;
}

.vaultiq-btn--danger:hover {
	background: #dc2626;
	color: #ffffff;
}

.vaultiq-btn--small {
	padding: 6px 12px;
	font-size: 11px;
}

/* ===== FORM STYLING ===== */
.form-row {
	margin-bottom: 20px;
}

.form-row-wide {
	width: 100%;
}

.form-row label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #111827;
	font-size: 14px;
}

.form-row input,
.form-row select,
.form-row textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
	transition: all 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
	border-color: #005587;
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 85, 135, 0.1);
}

@media (max-width: 768px) {
	.vaultiq-frontend-staff {
		padding: 20px 12px;
	}

	.vaultiq-frontend-staff__header {
		flex-direction: column;
		gap: 16px;
		padding: 24px;
	}

	.vaultiq-frontend-staff__user-info {
		text-align: left;
	}

	.vaultiq-frontend-staff__title {
		font-size: 24px;
	}

	.vaultiq-frontend-staff__section {
		padding: 20px;
	}

	.vaultiq-frontend-staff__table thead th {
		font-size: 10px;
		padding: 12px;
	}

	.vaultiq-frontend-staff__table tbody td {
		padding: 12px;
		font-size: 13px;
	}
}

/* ===== VIEW DOCUMENTS SUB-TABS (My Uploads / Firm Uploads) ===== */
.vaultiq-tabs {
	display: flex;
	gap: 4px;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 6px;
	margin-bottom: 28px;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

.vaultiq-tab {
	flex: 1;
	display: inline-block;
	padding: 10px 20px;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	text-align: center;
	color: #6b7280;
	transition: all 0.2s ease;
	cursor: pointer;
	letter-spacing: 0.2px;
}

.vaultiq-tab:hover {
	background: #ffffff;
	color: #111827;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.vaultiq-tab--active {
	background: #005587;
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 85, 135, 0.25);
}

.vaultiq-tab--active:hover {
	background: #003d63;
	color: #ffffff !important;
}

@media (max-width: 600px) {
	.vaultiq-tabs {
		flex-direction: column;
	}
}

/* ═══════════════════════════════════════════════════════════════════
   STAFF DASHBOARD: FULL-WIDTH LAYOUT + SIDEBAR HIDDEN
   Applied via body.vaultiq-staff-dashboard class injected by PHP
   ═══════════════════════════════════════════════════════════════════ */

/* Hide the WooCommerce sidebar navigation entirely */
body.vaultiq-staff-dashboard .woocommerce-MyAccount-navigation {
	display: none !important;
}

/* Make the content area take up all available space */
body.vaultiq-staff-dashboard .woocommerce-MyAccount-content {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
}

/* Reset the WooCommerce flex row so content fills the row */
body.vaultiq-staff-dashboard .woocommerce {
	display: block !important;
	padding: 0 !important;
	max-width: 100% !important;
}

/* Remove any container padding WooCommerce adds */
body.vaultiq-staff-dashboard .woocommerce-account .entry-content,
body.vaultiq-staff-dashboard .woocommerce-account .page-content,
body.vaultiq-staff-dashboard .woocommerce-account .content-area {
	padding: 0 !important;
}

/* Full-bleed the staff dashboard wrapper itself */
body.vaultiq-staff-dashboard .vaultiq-frontend-staff {
	padding: 0;
	background: #f0f2f5;
	min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════════
   PROFILE DROPDOWN IN DASHBOARD HEADER
   ═══════════════════════════════════════════════════════════════════ */

.viq-profile-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.viq-avatar-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px 8px 8px;
	border-radius: 40px;
	background: #f3f4f6;
	border: 1.5px solid #e5e7eb;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	text-decoration: none;
	transition: all 0.2s ease;
	white-space: nowrap;
	user-select: none;
}

.viq-avatar-btn:hover,
.viq-avatar-btn:focus {
	background: #e5e7eb;
	border-color: #d1d5db;
	color: #111827;
	outline: none;
}

.viq-avatar-circle {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, #7c3aed, #4f46e5);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	flex-shrink: 0;
	text-transform: uppercase;
}

.viq-avatar-chevron {
	width: 16px;
	height: 16px;
	fill: #9ca3af;
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.viq-profile-wrap.open .viq-avatar-chevron {
	transform: rotate(180deg);
}

/* Dropdown panel */
.viq-profile-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
	z-index: 9999;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-8px) scale(0.97);
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease;
}

.viq-profile-wrap.open .viq-profile-dropdown {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

/* Dropdown header */
.viq-pd-header {
	padding: 14px 16px 10px;
	border-bottom: 1px solid #f3f4f6;
}

.viq-pd-name {
	font-weight: 700;
	font-size: 14px;
	color: #111827;
	margin: 0 0 2px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.viq-pd-email {
	font-size: 12px;
	color: #9ca3af;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Dropdown links */
.viq-pd-links {
	padding: 6px;
}

.viq-pd-links a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	color: #374151 !important;
	text-decoration: none !important;
	transition: background 0.15s ease;
	white-space: nowrap;
}

.viq-pd-links a:hover {
	background: #f9fafb;
	color: #111827 !important;
}

.viq-pd-links a .viq-pd-icon {
	width: 16px;
	text-align: center;
	opacity: 0.7;
	flex-shrink: 0;
}

/* Divider */
.viq-pd-divider {
	height: 1px;
	background: #f3f4f6;
	margin: 4px 6px;
}

/* Logout link - red tint */
.viq-pd-links a.viq-pd-logout {
	color: #dc2626 !important;
}

.viq-pd-links a.viq-pd-logout:hover {
	background: #fef2f2;
	color: #b91c1c !important;
}

/* Role badge in dropdown */
.viq-pd-role-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	background: #ede9fe;
	color: #5b21b6;
	margin-top: 4px;
}

/* Overlay to close on outside click */
.viq-profile-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9998;
}

.viq-profile-wrap.open ~ .viq-profile-overlay,
.viq-profile-overlay.active {
	display: block;
}

/* Make header a proper flex row with gap */
.vaultiq-frontend-staff__header {
	position: relative;
}

@media (max-width: 768px) {
	.viq-profile-dropdown {
		right: auto;
		left: 0;
		min-width: 200px;
	}
}