/**
 * Porto Child — BBPress support tickets & my account (PThemes design).
 */

:root {
	--pt-blue: #1773ff;
	--pt-blue-hover: #4a90ff;
	--pt-blue-soft: #e7f0ff;
	--pt-dark: #0f1115;
	--pt-text: #3a4150;
	--pt-muted: #5a6473;
	--pt-light: #8b94a3;
	--pt-border: #eef0f4;
	--pt-bg: #fafbfc;
	--pt-green: #16a34a;
	--pt-amber: #f59e0b;
	--pt-danger: #b71d1d;
	--pt-radius: 14px;
	--pt-font: 'Poppins', sans-serif;
	--pt-mono: 'JetBrains Mono', Menlo, monospace;
}

table p {
	margin-bottom: .5rem;
}

.bbp-pagination {
	margin-bottom: .5rem;
}

.bbp-pagination + .bbp-topic-form {
	padding-top: 2rem;
}

span.bbp-admin-links {
	font-size: 12px;
}

#porto-purchase-extend {
	color: #fff !important;
	white-space: nowrap;
}

.porto-bbp-forums,
.porto-bbp-my-account {
	font-family: var(--pt-font);
	color: var(--pt-dark);
}

/* Default links — my account (exclude nav items, buttons, quick-action cards) */
.porto-bbp-my-account .porto-bbp-account a:not(.porto-bbp-btn):not(.porto-bbp-nav__link):not(.porto-bbp-quick),
.porto-bbp-my-account #bbpress-forums a:not(.porto-bbp-btn):not(.porto-bbp-nav__link) {
	color: var(--pt-blue);
	text-decoration: none;
	transition: color 0.15s ease;
}

.porto-bbp-my-account .porto-bbp-account a:not(.porto-bbp-btn):not(.porto-bbp-nav__link):not(.porto-bbp-quick):hover,
.porto-bbp-my-account .porto-bbp-account a:not(.porto-bbp-btn):not(.porto-bbp-nav__link):not(.porto-bbp-quick):focus,
.porto-bbp-my-account #bbpress-forums a:not(.porto-bbp-btn):not(.porto-bbp-nav__link):hover,
.porto-bbp-my-account #bbpress-forums a:not(.porto-bbp-btn):not(.porto-bbp-nav__link):focus {
	color: var(--pt-blue-hover);
}

/* BBPress pagination — white on hover/current (overrides default link colors above) */
.porto-bbp-my-account .bbp-pagination-links a,
.porto-bbp-my-account .bbp-pagination-links span.current,
.porto-bbp-my-account #bbpress-forums .bbp-pagination-links a {
	color: var(--pt-muted);
	text-decoration: none;
}

.porto-bbp-my-account .bbp-pagination-links a:hover,
.porto-bbp-my-account .bbp-pagination-links a:focus,
.porto-bbp-my-account .bbp-pagination-links span.current,
.porto-bbp-my-account #bbpress-forums .bbp-pagination-links a:hover,
.porto-bbp-my-account #bbpress-forums .bbp-pagination-links a:focus,
.porto-bbp-my-account #bbpress-forums .bbp-pagination-links span.current {
	color: #fff !important;
	background: var(--pt-blue);
	border-color: var(--pt-blue);
	opacity: 1;
}

/* —— Account layout —— */
.porto-bbp-account {
	/*background: var(--pt-bg);
	margin: 0 -15px;
	padding-bottom: 48px;*/
}

.porto-bbp-account__grid {
	max-width: 1400px;
	margin: 0 auto;
}

.porto-bbp-user-wrapper {
	display: flex;
	gap: clamp(20px, 3vw, 32px);
	padding: 0;
	align-items: flex-start;
	width: 100%;
	float: none !important;
}

/* Override BBPress default float layout (150px sidebar + margin-left body). */
.porto-bbp-forums-wrap #bbpress-forums #bbp-user-wrapper,
.porto-bbp-account #bbpress-forums #bbp-user-wrapper {
	float: none;
	overflow: visible;
}

.porto-bbp-forums-wrap #bbpress-forums #bbp-single-user-details.porto-bbp-sidebar,
.porto-bbp-account #bbpress-forums #bbp-single-user-details.porto-bbp-sidebar {
	float: none;
	width: 300px;
	min-width: 280px;
	max-width: 100%;
	overflow: visible;
	margin: 0;
}

.porto-bbp-forums-wrap #bbpress-forums #bbp-user-body,
.porto-bbp-account #bbpress-forums #bbp-user-body {
	float: none;
	margin-left: 0;
	clear: none;
}

.porto-bbp-user-body,
#bbp-user-body {
	flex: 1;
	min-width: 0;
	width: auto;
	margin-left: 0 !important;
}

/* —— Sidebar —— */
.porto-bbp-sidebar {
	width: 300px !important;
	flex-shrink: 0;
}

.porto-bbp-sidebar__user {
	background: #fff;
	border: 1px solid var(--pt-border);
	border-radius: var(--pt-radius);
	padding: 24px;
	text-align: center;
	margin-bottom: 16px;
}

.porto-bbp-avatar {
	position: relative;
	width: 84px;
	height: 84px;
	margin: 0 auto 14px;
}

.porto-bbp-avatar img {
	border-radius: 50%;
	width: 84px;
	height: 84px;
	object-fit: cover;
}

.porto-bbp-avatar__fallback {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pt-blue), #6cd24a);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 800;
	z-index: -1;
}

.porto-bbp-avatar--lg {
	width: 90px;
	height: 90px;
}

.porto-bbp-avatar--lg img,
.porto-bbp-avatar--lg .porto-bbp-avatar__fallback {
	width: 90px;
	height: 90px;
	border-radius: 18px;
}

.porto-bbp-sidebar__name {
	font-weight: 700;
	font-size: 17px;
}

.porto-bbp-sidebar__email {
	font-size: 13px;
	color: var(--pt-light);
	margin-top: 2px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.porto-bbp-sidebar__badge {
	display: inline-flex;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
	max-width: 100%;
	background: #f5f6f8;
	border-radius: 12px;
	padding: 10px 14px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.45;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: left;
}

.porto-bbp-sidebar__badge .porto-bbp-dot {
	margin-top: 4px;
	flex-shrink: 0;
}

.porto-bbp-sidebar__badge-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.porto-bbp-sidebar__badge-since {
	display: block;
	color: var(--pt-muted);
	font-size: 9px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.porto-bbp-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pt-blue);
	display: inline-block;
}

.porto-bbp-dot--blue { background: var(--pt-blue); }
.porto-bbp-dot--green { background: var(--pt-green); }
.porto-bbp-dot--amber { background: var(--pt-amber); }

.porto-bbp-sidebar__nav {
	background: #fff;
	border: 1px solid var(--pt-border);
	border-radius: var(--pt-radius);
	padding: 10px;
	margin-bottom: 16px;
}

.porto-bbp-nav__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	color: var(--pt-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 2px;
	transition: background 0.15s, color 0.15s;
}

.porto-bbp-nav__label {
	flex: 1;
	min-width: 0;
	line-height: 1.35;
}

.porto-bbp-nav__link:hover {
	background: #f5f6f8;
	color: var(--pt-dark);
}

.porto-bbp-nav__link.is-active {
	background: var(--pt-dark);
	color: #fff;
}

.porto-bbp-nav__link.is-active .porto-bbp-nav__icon {
	opacity: 1;
	background-color: #fff;
}

.porto-bbp-nav__link--logout {
	color: var(--pt-danger);
}

.porto-bbp-nav__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	opacity: 0.65;
	background-color: currentColor;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.porto-bbp-nav__icon--dashboard { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Crect x='1' y='1' width='7' height='7' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3Crect x='10' y='1' width='7' height='7' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3Crect x='1' y='10' width='7' height='7' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3Crect x='10' y='10' width='7' height='7' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Crect x='1' y='1' width='7' height='7' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3Crect x='10' y='1' width='7' height='7' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3Crect x='1' y='10' width='7' height='7' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3Crect x='10' y='10' width='7' height='7' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--themes { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Crect x='1' y='3' width='13' height='9' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3Crect x='4' y='6' width='13' height='9' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Crect x='1' y='3' width='13' height='9' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3Crect x='4' y='6' width='13' height='9' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--subscriptions { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M2 9a7 7 0 0112-5l1.5-1.5M16 9a7 7 0 01-12 5L2.5 15.5' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M15.5 2.5v3h-3M2.5 15.5v-3h3' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M2 9a7 7 0 0112-5l1.5-1.5M16 9a7 7 0 01-12 5L2.5 15.5' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M15.5 2.5v3h-3M2.5 15.5v-3h3' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--payments { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Crect x='1' y='3' width='16' height='12' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M1 7h16' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M4 11h3' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Crect x='1' y='3' width='16' height='12' rx='1.5' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M1 7h16' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M4 11h3' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--topics { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M3 4h12v8H7l-4 3V4z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M3 4h12v8H7l-4 3V4z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--replies { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M14 4H4a1 1 0 00-1 1v6a1 1 0 001 1h3l3 3v-3h4a1 1 0 001-1V5a1 1 0 00-1-1z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M14 4H4a1 1 0 00-1 1v6a1 1 0 001 1h3l3 3v-3h4a1 1 0 001-1V5a1 1 0 00-1-1z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--engagements { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M9 15s-5-3.2-5-7a3 3 0 016 0 3 3 0 016 0c0 3.8-5 7-5 7z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M9 15s-5-3.2-5-7a3 3 0 016 0 3 3 0 016 0c0 3.8-5 7-5 7z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--favorites { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M9 3l2 4.5H16l-3.6 2.6 1.4 4.9L9 12.8 4.2 15l1.4-4.9L2 7.5h5L9 3z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M9 3l2 4.5H16l-3.6 2.6 1.4 4.9L9 12.8 4.2 15l1.4-4.9L2 7.5h5L9 3z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--profile { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='6' r='3.5' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M2.5 16c.5-3.5 3-5 6.5-5s6 1.5 6.5 5' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='6' r='3.5' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M2.5 16c.5-3.5 3-5 6.5-5s6 1.5 6.5 5' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--edit { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M12.5 2.5l3 3L6 15H3v-3l9.5-9.5z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M12.5 2.5l3 3L6 15H3v-3l9.5-9.5z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--support { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='7' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M6.5 7c0-1.5 1.2-2.5 2.5-2.5s2.5 1 2.5 2.5c0 1.2-1 1.8-2 2.3-.6.3-1 .7-1 1.2v.5' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='13.5' r='0.8' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='7' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M6.5 7c0-1.5 1.2-2.5 2.5-2.5s2.5 1 2.5 2.5c0 1.2-1 1.8-2 2.3-.6.3-1 .7-1 1.2v.5' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='13.5' r='0.8' fill='black'/%3E%3C/svg%3E"); }
.porto-bbp-nav__icon--logout { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M11 3H4a1 1 0 00-1 1v10a1 1 0 001 1h7M8 9h9m0 0l-3-3m3 3l-3 3' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M11 3H4a1 1 0 00-1 1v10a1 1 0 001 1h7M8 9h9m0 0l-3-3m3 3l-3 3' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); }

.porto-bbp-nav__divider {
	height: 1px;
	background: var(--pt-border);
	margin: 10px 16px;
}

.porto-bbp-nav__section {
	padding: 8px 16px 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--pt-light);
}

.porto-bbp-sidebar__cta {
	background: var(--pt-bg);
	border: 1px solid var(--pt-border);
	border-radius: var(--pt-radius);
	padding: 22px;
	position: relative;
	overflow: hidden;
}

.porto-bbp-sidebar__cta-eyebrow {
	font-size: 11px;
	font-weight: 700;
	color: var(--pt-blue);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 8px;
}

.porto-bbp-sidebar__cta-title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 14px;
}

/* —— Cards & typography —— */
.porto-bbp-card {
	background: #fff;
	border: 1px solid var(--pt-border) !important;
	border-radius: var(--pt-radius);
	padding: 28px;
	margin-bottom: 22px !important;
	overflow: hidden;
}

.porto-bbp-card--muted {
	background: var(--pt-bg);
}

.porto-bbp-card--hero-split {
	padding: 0;
	overflow: hidden;
}

.porto-bbp-card--table {
	padding: 0;
}

.porto-bbp-eyebrow {
	font-size: 11px;
	font-weight: 700;
	color: var(--pt-blue);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.porto-bbp-h2 {
	margin: 0;
	font-size: 1.5rem !important;
	font-weight: 800;
	letter-spacing: -0.02em;
	padding-bottom: 0 !important;
}

.porto-bbp-h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.porto-bbp-muted,
.porto-bbp-hint {
	color: var(--pt-muted);
	font-size: 13px;
}

.porto-bbp-hint {
	margin-top: 6px;
}

.porto-bbp-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.porto-bbp-section-head--spaced {
	margin-top: 32px;
}

.porto-bbp-link {
	color: var(--pt-blue);
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
}

.porto-bbp-link:hover,
.porto-bbp-link:focus {
	color: var(--pt-blue-hover);
	text-decoration: underline;
}

/* —— Buttons (PThemes — my account + BBPress .button) —— */
.porto-bbp-my-account .porto-bbp-btn,
.porto-bbp-my-account .button,
.porto-bbp-my-account button.button,
.porto-bbp-my-account input.button[type="submit"],
.porto-bbp-my-account input.button[type="button"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--pt-font);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	padding: 12px 22px;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	box-shadow: none;
	transition: opacity 0.15s, background-color 0.15s, border-color 0.15s;
}

.porto-bbp-my-account .porto-bbp-btn--sm,
.porto-bbp-my-account .button.button-small {
	padding: 8px 14px;
	font-size: 13px;
	border-radius: 6px;
}

/* Filled — dark (explicit primary + default porto-bbp-btn without color modifier) */
.porto-bbp-my-account .porto-bbp-btn--primary,
.porto-bbp-my-account .porto-bbp-btn:not(.porto-bbp-btn--outline):not(.porto-bbp-btn--ghost):not(.porto-bbp-btn--blue) {
	background: var(--pt-dark);
	color: #fff !important;
	border-color: var(--pt-dark);
}

/* Filled — blue (porto-bbp-btn--blue + default .button) */
.porto-bbp-my-account .porto-bbp-btn--blue,
.porto-bbp-my-account .button.submit,
.porto-bbp-my-account .button.user-submit,
.porto-bbp-my-account #bbp_user_edit_submit,
.porto-bbp-my-account .button:not(.wp-generate-pw):not(.wp-hide-pw):not(.wp-cancel-pw):not(.button-small) {
	background: var(--pt-blue);
	color: #fff !important;
	border-color: var(--pt-blue);
}

/* Outline */
.porto-bbp-my-account .porto-bbp-btn--outline,
.porto-bbp-my-account .button.wp-generate-pw,
.porto-bbp-my-account .button.wp-hide-pw,
.porto-bbp-my-account .button.wp-cancel-pw {
	background: #fff;
	color: var(--pt-dark) !important;
	border: 1px solid #d8dde5 !important;
}

.porto-bbp-my-account .porto-bbp-btn--ghost {
	background: transparent;
	color: var(--pt-muted) !important;
	border-color: transparent;
}

.porto-bbp-my-account .porto-bbp-copy-key {
	font-family: var(--pt-font);
	font-weight: 600;
	font-size: 12px;
	padding: 6px 12px;
	border-radius: 6px;
	border: 1px solid #d8dde5;
	background: #fff;
	color: var(--pt-dark);
	cursor: pointer;
}

/* Hover — filled buttons keep white text (override theme link hover) */
.porto-bbp-my-account .porto-bbp-btn--primary:hover,
.porto-bbp-my-account .porto-bbp-btn--primary:focus,
.porto-bbp-my-account .porto-bbp-btn:not(.porto-bbp-btn--outline):not(.porto-bbp-btn--ghost):not(.porto-bbp-btn--blue):hover,
.porto-bbp-my-account .porto-bbp-btn:not(.porto-bbp-btn--outline):not(.porto-bbp-btn--ghost):not(.porto-bbp-btn--blue):focus {
	opacity: 0.9;
	color: #fff !important;
	text-decoration: none;
}

.porto-bbp-my-account .porto-bbp-btn--blue:hover,
.porto-bbp-my-account .porto-bbp-btn--blue:focus,
.porto-bbp-my-account .button.submit:hover,
.porto-bbp-my-account .button.submit:focus,
.porto-bbp-my-account .button.user-submit:hover,
.porto-bbp-my-account .button.user-submit:focus,
.porto-bbp-my-account #bbp_user_edit_submit:hover,
.porto-bbp-my-account #bbp_user_edit_submit:focus,
.porto-bbp-my-account .button:not(.wp-generate-pw):not(.wp-hide-pw):not(.wp-cancel-pw):hover,
.porto-bbp-my-account .button:not(.wp-generate-pw):not(.wp-hide-pw):not(.wp-cancel-pw):focus {
	opacity: 0.9;
	color: #fff !important;
	text-decoration: none;
}

.porto-bbp-my-account .porto-bbp-btn--outline:hover,
.porto-bbp-my-account .porto-bbp-btn--outline:focus,
.porto-bbp-my-account .porto-bbp-copy-key:hover,
.porto-bbp-my-account .button.wp-generate-pw:hover,
.porto-bbp-my-account .button.wp-generate-pw:focus,
.porto-bbp-my-account .button.wp-hide-pw:hover,
.porto-bbp-my-account .button.wp-hide-pw:focus,
.porto-bbp-my-account .button.wp-cancel-pw:hover,
.porto-bbp-my-account .button.wp-cancel-pw:focus {
	opacity: 1;
	color: var(--pt-dark) !important;
	background: #f5f6f8;
	border-color: #cdd2da !important;
	text-decoration: none;
}

.porto-bbp-my-account .porto-bbp-btn--ghost:hover,
.porto-bbp-my-account .porto-bbp-btn--ghost:focus {
	color: var(--pt-dark) !important;
	background: #f5f6f8;
}

.porto-bbp-my-account #bbpress-forums .bbp-submit-wrapper,
.porto-bbp-my-account #bbpress-forums div.bbp-submit-wrapper {
	margin-top: 8px;
}

.porto-bbp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

/* —— Dashboard —— */
.porto-bbp-hero-split {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
}

.porto-bbp-hero-split__main {
	padding: 32px 36px;
	background: var(--pt-bg);
	position: relative;
}

.porto-bbp-hero-split__alert {
	padding: 32px 36px;
	border-left: 1px solid var(--pt-border);
}

.porto-bbp-alert-label {
	font-size: 12px;
	font-weight: 700;
	color: #94590a;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.porto-bbp-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-bottom: 28px;
}

.porto-bbp-stat__label {
	font-size: 12px;
	font-weight: 600;
	color: var(--pt-light);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.porto-bbp-stat__value {
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin-top: 10px;
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.porto-bbp-stat__value--sm {
	font-size: 18px;
}

.porto-bbp-stat__sub {
	font-size: 12px;
	color: var(--pt-muted);
	margin-top: 8px;
}

.porto-bbp-grid-2 {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 22px;
}

.porto-bbp-grid-2--wide {
	grid-template-columns: 1.6fr 1fr;
}

.porto-bbp-stack {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.porto-bbp-quick-actions {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.porto-bbp-quick {
	text-decoration: none;
	color: inherit;
	display: block;
	margin-bottom: 0;
}

.porto-bbp-quick strong {
	display: block;
	font-size: 15px;
	margin-bottom: 4px;
}

.porto-bbp-quick span {
	font-size: 12px;
	color: var(--pt-light);
}

.porto-bbp-theme-row,
.porto-bbp-invoice-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--pt-border);
	border-radius: 10px;
	margin-bottom: 12px;
}

.porto-bbp-invoice-row strong {
	display: block;
}
.porto-bbp-invoice-row strong:before {
	content: '#';
}
.porto-bbp-invoice-row__amt {
	font-weight: 700;
}

.porto-bbp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.porto-bbp-badge--info {
	background: var(--pt-blue-soft);
	color: #0d52c4;
}

.porto-bbp-badge--success {
	background: #e8f6ec;
	color: #0e7d3a;
}

.porto-bbp-badge--neutral {
	background: var(--pt-dark);
	color: #fff;
}

/* —— Forms —— */
.porto-bbp-field {
	margin-bottom: 18px;
}

.porto-bbp-field label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--pt-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 8px;
}

.porto-bbp-field input,
.porto-bbp-field textarea,
.porto-bbp-field select,
.porto-bbp-visibility-field select {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	border: 1px solid #e8eaee;
	border-radius: 8px;
	font-size: 14px;
	font-family: var(--pt-font);
	color: var(--pt-dark);
	outline: none;
}

.porto-bbp-field input:focus,
.porto-bbp-field textarea:focus {
	border-color: var(--pt-blue);
}

.porto-bbp-field-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.porto-bbp-profile-identity {
	display: flex;
	gap: 22px;
	align-items: center;
	margin-bottom: 22px;
	padding: 18px;
	background: var(--pt-bg);
	border-radius: 12px;
}

.porto-bbp-form-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--pt-border);
}

.porto-bbp-mono {
	display: block;
	font-family: var(--pt-mono);
	font-size: 11px;
	color: rgb(139, 148, 163);
}

.porto-bbp-license-key {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--pt-dark);
	color: #6cd24a;
	padding: 12px 16px;
	border-radius: 8px;
	margin: 16px 0;
}

.porto-bbp-meta-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.porto-bbp-meta-list li {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--pt-border);
	font-size: 14px;
}

.porto-bbp-ajax-msg {
	font-size: 13px;
	font-weight: 600;
}

.porto-bbp-ajax-msg.is-success { color: var(--pt-green); }
.porto-bbp-ajax-msg.is-error { color: var(--pt-danger); }

/* —— Native BBPress lists inside panels —— */
.porto-bbp-panel--topics #bbp-user-topics-started,
.porto-bbp-panel--replies #bbp-user-replies-created,
.porto-bbp-panel--favorites #bbp-user-favorites,
.porto-bbp-panel--engagements #bbp-user-engagements {
	background: #fff;
	border: 1px solid var(--pt-border);
	border-radius: var(--pt-radius);
	padding: 24px;
}

.porto-bbp-panel #bbpress-forums .bbp-topics,
.porto-bbp-panel #bbpress-forums .bbp-replies {
	border: none;
}

.porto-bbp-panel .bbp-user-section h2,
.porto-bbp-panel .bbp-user-section h3 {
	font-family: var(--pt-font);
	font-weight: 800;
}

.porto-bbp-panel--edit #bbp-your-profile .bbp-form {
	background: #fff;
	border: 1px solid var(--pt-border);
	border-radius: var(--pt-radius);
	padding: 28px;
}

.porto-bbp-panel--edit #bbp-your-profile .bbp-form legend {
	font-family: var(--pt-font);
	font-weight: 700;
}

.porto-bbp-panel--edit #bbp-your-profile input[type="text"],
.porto-bbp-panel--edit #bbp-your-profile textarea {
	border-radius: 10px;
	border-color: #e8eaee;
	padding: 12px 14px;
}

/* Hide legacy horizontal user nav */
#bbp-user-navigation,
.porto-bbp-user-wrapper > #bbp-single-user-details + #bbp-user-body ~ #bbp-user-navigation {
	display: none !important;
}

#bbp-single-user-details:not(.porto-bbp-sidebar) {
	display: none;
}

/* —— Ticket visibility —— */
.porto-bbp-ticket-badge {
	display: inline-block;
	margin-left: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	vertical-align: middle;
}

.porto-bbp-ticket-badge--private {
	background: #fef3da;
	color: #94590a;
}

.porto-bbp-ticket-badge--public {
	background: var(--pt-blue-soft);
	color: #0d52c4;
}

.porto-bbp-visibility-manager {
	margin: 20px 0;
	padding: 18px;
	background: var(--pt-bg);
	border: 1px solid var(--pt-border);
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.porto-bbp-radio {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 14px;
	margin-right: 8px;
}

.porto-bbp-visibility-field {
	margin: 16px 0;
}

.porto-bbp-visibility-field .description {
	font-size: 12px;
	color: var(--pt-muted);
	margin-top: 6px;
}

.porto-private-content {
	margin-top: 16px;
	padding: 14px;
	background: #fff8e6;
	border-left: 3px solid var(--pt-amber);
	border-radius: 6px;
}

/* —— Empty states —— */
.porto-bbp-empty-state {
	padding: 36px 28px;
	text-align: center;
}

.porto-bbp-empty-state--compact {
	padding: 8px 0 4px;
	text-align: left;
}

.porto-bbp-empty-state--table {
	padding: 44px 28px 48px;
	border-top: 1px solid var(--pt-border);
	background: var(--pt-bg);
}

.porto-bbp-card--muted .porto-bbp-empty-state {
	padding: 32px 24px;
}

.porto-bbp-empty-state__title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--pt-dark);
	line-height: 1.4;
}

.porto-bbp-empty-state__hint {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--pt-muted);
	max-width: 420px;
}

.porto-bbp-empty-state--table .porto-bbp-empty-state__hint,
.porto-bbp-card--muted .porto-bbp-empty-state__hint {
	margin-left: auto;
	margin-right: auto;
}

/* —— Payment table —— */
.porto-bbp-table__head,
.porto-bbp-table__row {
	display: grid;
	grid-template-columns: 110px 1.4fr 1fr 100px 100px 84px;
	gap: 12px;
	padding: 16px 24px;
	align-items: center;
}

.porto-bbp-invoice-pdf {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	color: var(--pt-blue);
	font-family: var(--pt-font);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 6px;
	transition: background 0.15s ease, color 0.15s ease;
}

.porto-bbp-invoice-pdf:hover {
	background: var(--pt-blue-soft);
	color: var(--pt-blue-hover);
}

.porto-bbp-invoice-pdf[disabled] {
	opacity: 0.6;
	cursor: default;
}

.porto-bbp-table__head {
	background: var(--pt-bg);
	font-size: 11px;
	font-weight: 700;
	color: var(--pt-light);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.porto-bbp-table__row {
	border-top: 1px solid var(--pt-border);
	font-size: 13px;
}

.porto-bbp-table__row .text-right,
.porto-bbp-table__head .text-right {
	text-align: right;
}

.porto-bbp-payment-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.porto-bbp-payment-card__visual {
	border-radius: 12px;
	padding: 22px;
	color: #fff;
	min-height: 140px;
}

.porto-bbp-payment-card__visual--visa {
	background: linear-gradient(135deg, #1a1f71, #4a55b8);
}

/* —— Subscriptions: rich cards —— */
.porto-bbp-sub-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.porto-bbp-subcard {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	padding: 26px;
}

.porto-bbp-subcard__thumb {
	flex: 0 0 120px;
	width: 120px;
	height: 80px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--pt-blue), #6cd24a);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 800;
	font-size: 30px;
	overflow: hidden;
}

.porto-bbp-subcard__body {
	flex: 1 1 auto;
	min-width: 0;
}

.porto-bbp-subcard__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}

.porto-bbp-subcard__title-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

.porto-bbp-subcard__title-row .porto-bbp-h3 {
	margin: 0;
}

.porto-bbp-subcard__sub {
	font-size: 13px;
	color: var(--pt-muted);
}

.porto-bbp-subcard__price {
	text-align: right;
	white-space: nowrap;
}

.porto-bbp-subcard__amount {
	font-size: 28px;
	font-weight: 800;
	color: var(--pt-dark);
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.porto-bbp-subcard__amount span {
	font-size: 14px;
	font-weight: 600;
	color: #8b94a3;
}

.porto-bbp-subcard__next {
	font-size: 12px;
	color: var(--pt-muted);
	margin-top: 2px;
}

.porto-bbp-subcard__progress {
	margin: 18px 0;
}

.porto-bbp-subcard__progress-labels {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--pt-muted);
	margin-bottom: 6px;
}

.porto-bbp-subcard__progress-labels strong {
	color: var(--pt-dark);
}

.porto-bbp-subcard__progress .porto-bbp-progress {
	margin-top: 0;
	height: 8px;
	border-radius: 4px;
}

.porto-bbp-subcard__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--pt-border);
}

.porto-bbp-subcard__value {
	font-size: 13px;
	font-weight: 600;
	color: var(--pt-dark);
	margin-top: 8px;
}

.porto-bbp-subcard__actions {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 18px;
	flex-wrap: wrap;
}

.porto-bbp-subcard__spacer {
	flex: 1 1 auto;
}

.porto-bbp-subcard__cancel {
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	color: #b71d1d;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
}

.porto-bbp-subcard__cancel:hover {
	text-decoration: underline;
}

.porto-bbp-subcard__cancel:disabled {
	opacity: 0.6;
	cursor: default;
	text-decoration: none;
}

@media (max-width: 767px) {
	.porto-bbp-subcard {
		flex-direction: column;
	}
	.porto-bbp-subcard__head {
		flex-direction: column;
	}
	.porto-bbp-subcard__price {
		text-align: left;
	}
	.porto-bbp-subcard__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.porto-bbp-subcard__spacer {
		display: none;
	}
}

/* —— Forum general —— */
.porto-bbp-forums-wrap #bbpress-forums {
	font-family: var(--pt-font);
	font-size: 14px;
	line-height: 1.5;
	overflow: visible;
}

.porto-bbp-forums-wrap #bbpress-forums .bbp-user-section {
	overflow: visible;
	clear: none;
}

.porto-bbp-stat.porto-bbp-card {
	margin-bottom: 0;
}

.porto-bbp-stat__value .porto-bbp-dot {
	flex-shrink: 0;
	align-self: center;
}

#bbpress-forums .bbp-form .porto-bbp-field {
	clear: both;
}

@media (max-width: 1199px) {
	.porto-bbp-stats,
	.porto-bbp-quick-actions {
		grid-template-columns: repeat(2, 1fr);
	}
	.porto-bbp-hero-split {
		grid-template-columns: 1fr;
	}
	.porto-bbp-grid-2,
	.porto-bbp-grid-2--wide {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 991px) {
	.porto-bbp-account__grid {
		padding-left: 20px;
		padding-right: 20px;
	}

	.porto-bbp-user-wrapper {
		flex-direction: column;
		padding-top: 24px;
	}

	.porto-bbp-forums-wrap #bbpress-forums #bbp-single-user-details.porto-bbp-sidebar,
	.porto-bbp-sidebar {
		width: 100%;
		min-width: 0;
	}
	.porto-bbp-stats,
	.porto-bbp-quick-actions {
		grid-template-columns: 1fr;
	}
}

/* ============================================================ */
/* My Themes / Licenses                                          */
/* ============================================================ */
.porto-bbp-badge--lifetime {
	background: #fff;
	color: var(--pt-dark);
	border: 1px solid var(--pt-dark);
}

.porto-bbp-badge--muted {
	background: #eef0f4;
	color: #3a4150;
}

/* Toolbar: search + filter chips */
.porto-bbp-themes-toolbar {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding: 16px;
	margin-bottom: 22px;
}

.porto-bbp-search {
	flex: 1;
	min-width: 240px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: #f5f6f8;
	border-radius: 8px;
	padding: 10px 14px;
	color: var(--pt-light);
}

.porto-bbp-search input {
	flex: 1;
	border: none;
	background: transparent;
	font-size: 14px;
	font-family: var(--pt-font);
	color: var(--pt-dark);
	outline: none;
}

.porto-bbp-chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.porto-bbp-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: var(--pt-text);
	border: 1px solid #e8eaee;
	padding: 10px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	font-family: var(--pt-font);
	cursor: pointer;
	transition: all 0.15s ease;
}

.porto-bbp-chip span {
	background: #eef0f4;
	color: var(--pt-muted);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	width: 20px;
	line-height: 20px;
}

.porto-bbp-chip.is-active {
	background: var(--pt-dark);
	color: #fff;
	border-color: var(--pt-dark);
}

.porto-bbp-chip.is-active span {
	background: var(--pt-blue);
	color: #fff;
}

/* License cards */
.porto-bbp-license-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.porto-bbp-license.is-hidden {
	display: none;
}

.porto-bbp-license__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	flex-wrap: wrap;
}

.porto-bbp-license__title {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.porto-bbp-license__title .porto-bbp-h3 {
	margin: 0;
}

.porto-bbp-license__actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.porto-bbp-license__sub {
	font-size: 13px;
	color: var(--pt-muted);
	margin-top: 6px;
}

.porto-bbp-license__divider {
	height: 1px;
	background: var(--pt-border);
	margin: 18px 0;
}

.porto-bbp-license__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 24px;
}

.porto-bbp-field-label {
	font-size: 11px;
	font-weight: 700;
	color: var(--pt-light);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
}

.porto-bbp-license__value {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--pt-dark);
}

.porto-bbp-license__value--ok .porto-bbp-ico-check {
	color: var(--pt-green);
}

.porto-bbp-license__value--bad {
	color: var(--pt-danger);
}

/* Dark license key chip */
.porto-bbp-key-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--pt-dark);
	border-radius: 6px;
	padding: 8px 12px;
	max-width: 100%;
}

.porto-bbp-key-chip .porto-bbp-mono {
	color: #6cd24a;
	letter-spacing: 0.04em;
	font-weight: 500;
	word-break: break-all;
}

.porto-bbp-key-chip .porto-bbp-copy-key {
	background: transparent;
	border: none;
	color: var(--pt-light);
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	flex-shrink: 0;
}

.porto-bbp-my-account .porto-bbp-key-chip .porto-bbp-copy-key:hover,
.porto-bbp-my-account .porto-bbp-key-chip .porto-bbp-copy-key:focus {
	color: #fff !important;
	background: transparent !important;
	border-color: transparent !important;
	opacity: 0.85;
}

/* Activation slots / progress */
.porto-bbp-slots {
	display: flex;
	gap: 3px;
	margin-top: 8px;
}

.porto-bbp-slot {
	flex: 1;
	height: 6px;
	border-radius: 3px;
	background: var(--pt-border);
}

.porto-bbp-slot.is-filled {
	background: var(--pt-blue);
}

.porto-bbp-progress {
	margin-top: 8px;
	height: 6px;
	border-radius: 3px;
	background: var(--pt-border);
	overflow: hidden;
}

.porto-bbp-progress span {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--pt-blue), #6cd24a);
}

/* Sites using this license */
.porto-bbp-license__sites {
	margin-top: 18px;
	background: var(--pt-bg);
	border-radius: 10px;
	padding: 14px;
}

.porto-bbp-license__sites-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.porto-bbp-license__sites-head .porto-bbp-field-label {
	margin-bottom: 0;
}

.porto-bbp-site-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.porto-bbp-site-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid var(--pt-border);
}

.porto-bbp-site-row.is-removing {
	opacity: 0.5;
}

.porto-bbp-site-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #cbd1da;
	flex-shrink: 0;
}

.porto-bbp-site-dot.is-live {
	background: var(--pt-green);
}

.porto-bbp-site-url {
	flex: 1;
	font-size: 13px;
	color: var(--pt-dark);
	font-weight: 600;
	min-width: 0;
	word-break: break-all;
}

.porto-bbp-site-url a {
	color: var(--pt-dark) !important;
}

.porto-bbp-site-date {
	font-size: 12px;
	color: var(--pt-light);
	flex-shrink: 0;
}

.porto-bbp-site-deactivate {
	background: transparent;
	border: none;
	color: var(--pt-muted);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	font-family: var(--pt-font);
	flex-shrink: 0;
	padding: 4px 6px;
	border-radius: 6px;
	transition: color 0.15s ease, background 0.15s ease;
}

.porto-bbp-site-deactivate:hover {
	color: var(--pt-danger);
	background: #feebeb;
}

.porto-bbp-site-deactivate[disabled] {
	opacity: 0.6;
	cursor: default;
}

.porto-bbp-sites-empty {
	margin: 0;
	font-size: 13px;
}

/* Inline icons */
.porto-bbp-ico-download,
.porto-bbp-ico-copy,
.porto-bbp-ico-check {
	display: inline-block;
	width: 15px;
	height: 15px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	vertical-align: -2px;
}

.porto-bbp-ico-download {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 2v9m0 0l3-3m-3 3L5 8' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 13h12' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.porto-bbp-ico-copy {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Crect x='4' y='4' width='9' height='9' rx='1' stroke='%238b94a3' stroke-width='1.5'/%3E%3Cpath d='M10 4V2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h2' stroke='%238b94a3' stroke-width='1.5'/%3E%3C/svg%3E");
}

.porto-bbp-ico-check {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 7l3.5 3.5L12 4' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.porto-bbp-ico-download--dark {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 2v9m0 0l3-3m-3 3L5 8' stroke='%231773ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 13h12' stroke='%231773ff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Download help modal */
.porto-bbp-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.porto-bbp-modal[hidden] {
	display: none;
}

.porto-bbp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 17, 21, 0.55);
}

.porto-bbp-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: var(--pt-radius);
	padding: 30px;
	max-width: 460px;
	width: 100%;
	box-shadow: 0 20px 60px rgba(15, 17, 21, 0.25);
}

.porto-bbp-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: transparent;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: var(--pt-light);
	cursor: pointer;
}

.porto-bbp-modal__steps {
	margin: 16px 0;
	padding-left: 20px;
	color: var(--pt-text);
	font-size: 14px;
	line-height: 1.7;
}

.porto-bbp-modal__theme {
	font-weight: 600;
	margin: 4px 0 0;
}

.porto-bbp-modal__error {
	margin: 10px 0 10px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #feebeb;
	color: var(--pt-danger);
	font-size: 13px;
	font-weight: 600;
}

@media (max-width: 782px) {
	.porto-bbp-license__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.porto-bbp-license__actions {
		width: 100%;
	}

	.porto-bbp-site-row {
		flex-wrap: wrap;
	}

	.porto-bbp-site-date {
		order: 3;
		width: 100%;
		padding-left: 19px;
	}
}
