/* Join-PTG prompt modal — plain standalone CSS, framework-agnostic (not
   Tailwind), so it works outside `.ptg-v2-tw` wrappers in future consumers. */

.ptg-join-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.45);
	display: flex !important;
	align-items: flex-start;
	justify-content: center;
	padding: 8vh 16px 16px;
	margin: unset !important;
	font-size: 16px !important;
}

.ptg-join-modal-backdrop[hidden] {
	display: none !important;
}

.ptg-join-modal {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	max-width: 460px;
	width: 100%;
	color: #222;
	margin: unset !important;
}

.ptg-join-modal__head {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 0;
	margin: unset !important;
}

.ptg-join-modal__title {
	margin: 0;
	font-size: 1.25em;
	line-height: 1.3;
	color: #222;
}

.ptg-join-modal__close {
	border: 0;
	background: none !important;
	font-size: 1.4em;
	line-height: 1;
	cursor: pointer;
	color: #888 !important;
	padding: 0 2px;
}

.ptg-join-modal__close:hover {
	color: #222 !important;
}

.ptg-join-modal__body {
	padding: 8px 20px 20px;
	font-size: 0.95em;
	margin: unset !important;
}

.ptg-join-modal__sub {
	margin: 4px 0 0;
	color: #555;
	margin-bottom: unset !important;
}

.ptg-join-modal__benefits {
	list-style: none !important;
	margin: 12px 0 !important;
	padding: 0;
}

.ptg-join-modal__benefits li {
	padding: 4px 0 4px 26px;
	position: relative;
}

.ptg-join-modal__benefits li::before {
	content: "\2713";
	position: absolute;
	left: 2px;
	color: #7f181b;
	font-weight: 700;
}

.ptg-join-modal__actions {
	margin-top: 16px !important;
	margin: unset !important;
	display: flex !important;
	flex-direction: column;
	gap: 8px;
}

.ptg-join-modal__btn {
	display: inline-block !important;
	border: 0;
	border-radius: 6px;
	padding: 10px 16px;
	font-size: 0.95em;
	font-weight: 600;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
}

.ptg-join-modal__btn--primary {
	background: #7f181b;
	color: #fff !important;
}

.ptg-join-modal__btn--primary:hover {
	background: #9a1e22;
}

.ptg-join-modal__btn--ghost {
	background: none;
	color: #7f181b !important;
	font-weight: 600;
	text-decoration: underline !important;
}

body.ptg-join-modal-open {
	overflow: hidden;
}

/* Locked option inside a guarded select (muted + lock hint). */
option.ptg-locked {
	color: #888;
}
