.ppam-account-shell {
	box-sizing: border-box;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 22px 12px;
	color: #07111f;
	font-family: inherit;
}

.ppam-account-shell *,
.ppam-account-shell *::before,
.ppam-account-shell *::after {
	box-sizing: border-box;
}

.ppam-auth-card,
.ppam-account-card {
	width: 100%;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 8px;
	background: linear-gradient(150deg, rgba(248, 250, 252, 0.97), rgba(255, 255, 255, 0.99));
	box-shadow: 0 20px 55px rgba(15, 23, 42, 0.1);
	padding: clamp(22px, 4vw, 36px);
}

.ppam-auth-card {
	max-width: 760px;
	margin: 0 auto;
}

.ppam-head,
.ppam-account-head {
	margin-bottom: 22px;
}

.ppam-kicker {
	margin: 0 0 4px;
	color: #2563eb;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.ppam-head h2,
.ppam-account-head h2 {
	margin: 0;
	color: #07111f;
	font-size: clamp(29px, 4.5vw, 40px);
	line-height: 1.05;
}

.ppam-tabs {
	display: grid;
	gap: 8px;
	margin: 0 0 22px;
	padding: 5px;
	border: 1px solid rgba(15, 23, 42, 0.11);
	border-radius: 8px;
	background: #eef3f8;
}

.ppam-auth-tabs {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ppam-account-tabs {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ppam-tabs label {
	display: grid;
	min-height: 42px;
	place-items: center;
	margin: 0;
	border-radius: 7px;
	color: #435267;
	font-weight: 800;
	text-align: center;
	cursor: pointer;
}

.ppam-tab-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

#ppam-register-tab:checked ~ .ppam-tabs label[for="ppam-register-tab"],
#ppam-login-tab:checked ~ .ppam-tabs label[for="ppam-login-tab"],
#ppam-reset-tab:checked ~ .ppam-tabs label[for="ppam-reset-tab"],
#ppam-tab-profile:checked ~ .ppam-tabs label[for="ppam-tab-profile"],
#ppam-tab-dashboard:checked ~ .ppam-tabs label[for="ppam-tab-dashboard"],
#ppam-tab-payments:checked ~ .ppam-tabs label[for="ppam-tab-payments"],
#ppam-tab-invoices:checked ~ .ppam-tabs label[for="ppam-tab-invoices"],
#ppam-tab-plans:checked ~ .ppam-tabs label[for="ppam-tab-plans"],
#ppam-tab-logout:checked ~ .ppam-tabs label[for="ppam-tab-logout"] {
	background: #07111f;
	color: #fff;
	box-shadow: 0 9px 18px rgba(15, 23, 42, 0.14);
}

.ppam-auth-card > .ppam-panel,
.ppam-account-panel {
	display: none;
}

#ppam-register-tab:checked ~ .ppam-register-panel,
#ppam-login-tab:checked ~ .ppam-login-panel,
#ppam-reset-tab:checked ~ .ppam-reset-panel,
#ppam-tab-profile:checked ~ .ppam-account-profile,
#ppam-tab-dashboard:checked ~ .ppam-account-dashboard,
#ppam-tab-payments:checked ~ .ppam-account-payments,
#ppam-tab-invoices:checked ~ .ppam-account-invoices,
#ppam-tab-plans:checked ~ .ppam-account-plans,
#ppam-tab-logout:checked ~ .ppam-account-logout {
	display: block;
}

.ppam-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 14px;
	width: 100%;
}

.ppam-form label {
	display: grid;
	gap: 9px;
	min-width: 0;
	margin: 0;
	color: #07111f;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.ppam-full {
	grid-column: 1 / -1;
}

.ppam-form input,
.ppam-form select {
	width: 100%;
	min-width: 0;
	height: 46px;
	border: 1px solid rgba(15, 23, 42, 0.13);
	border-radius: 8px;
	background: #fff;
	color: #111827;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	padding: 0 16px;
	outline: none;
	box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
}

.ppam-form input[readonly] {
	color: #64748b;
	background: #f2f5f8;
}

.ppam-phone-label > span {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
}

.ppam-phone-label b {
	display: grid;
	height: 46px;
	place-items: center;
	border: 1px solid rgba(15, 23, 42, 0.13);
	border-radius: 8px;
	background: #fff8f0;
	box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
	color: #111827;
	font-weight: 700;
}

.ppam-form button,
.ppam-logout-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border: 0;
	border-radius: 8px;
	background: #07111f;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 900;
	padding: 0 20px;
	cursor: pointer;
	box-shadow: 0 12px 24px rgba(7, 17, 31, 0.2);
}

.ppam-notice {
	margin: 0 0 16px;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 700;
}

.ppam-notice-success {
	border: 1px solid rgba(22, 163, 74, 0.2);
	background: #ecfdf3;
	color: #166534;
}

.ppam-notice-error {
	border: 1px solid rgba(220, 38, 38, 0.2);
	background: #fff1f2;
	color: #991b1b;
}

.ppam-locked::after {
	content: "Locked";
	justify-self: start;
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
}

.ppsdl-popup-backdrop {
	background: rgba(17, 24, 39, 0.72);
	inset: 0;
	position: fixed;
	z-index: 999998;
}

.ppsdl-popup-wrap {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	inset: 0;
	justify-content: center;
	overflow-y: auto;
	padding: 20px;
	position: fixed;
	z-index: 999999;
}

.ppsdl-popup {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
	box-sizing: border-box;
	color: #111827;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	max-width: 460px;
	padding: 28px;
	width: 100%;
}

.ppsdl-popup h2 {
	color: #111827;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 12px;
}

.ppsdl-popup p {
	color: #374151;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 22px;
}

.ppsdl-popup-actions {
	display: grid;
	gap: 10px;
}

.ppsdl-button {
	border-radius: 7px;
	box-sizing: border-box;
	display: inline-flex;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.3;
	min-height: 44px;
	padding: 12px 16px;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

.ppsdl-button-primary {
	background: #07111f;
	color: #fff;
}

.ppsdl-button-danger {
	background: #fee2e2;
	color: #991b1b;
}

@media (max-width: 760px) {
	.ppam-auth-tabs,
	.ppam-account-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ppam-form {
		grid-template-columns: 1fr;
	}

	.ppam-full {
		grid-column: auto;
	}
}

@media (max-width: 420px) {
	.ppam-account-shell {
		padding: 12px 8px;
	}

	.ppam-phone-label > span {
		grid-template-columns: 62px minmax(0, 1fr);
		gap: 8px;
	}
}

.ppam-plans {
	display: grid;
	gap: 32px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	margin: 24px 0;
}

.ppam-plan,
.ppam-panel {
	border: 1px solid #dcdcde;
	border-radius: 18px;
	padding: 30px;
	background: #fff;
}

.ppam-plan {
	position: relative;
	text-align: left;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.ppam-plan.is-popular {
	border: 2px solid #ff6b00;
	background: #fff7f0;
}

.ppam-plan-badge {
	background: #ff6b00;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	left: 50%;
	padding: 8px 20px;
	position: absolute;
	top: -16px;
	transform: translateX(-50%);
	text-transform: uppercase;
	white-space: nowrap;
}

.ppam-plan-head {
	align-items: center;
	display: flex;
	gap: 16px;
	margin-bottom: 18px;
	min-width: 0;
}

.ppam-plan-icon {
	align-items: center;
	background: #2949a6;
	border-radius: 12px;
	color: #fff;
	display: flex;
	flex: 0 0 60px;
	font-size: 28px;
	font-weight: 800;
	height: 60px;
	justify-content: center;
	line-height: 1;
	width: 60px;
}

.ppam-plan.is-popular .ppam-plan-icon {
	background: #f97316;
}

.ppam-plan h3 {
	color: #13213a;
	font-size: 1.5rem;
	line-height: 1.15;
	margin: 0 0 4px;
}

.ppam-validity {
	color: #5f6f8d;
	font-size: 1.05rem;
	margin: 0;
}

.ppam-price {
	color: #13213a;
	font-size: 1rem;
	font-weight: 700;
	margin: 8px 0 4px;
}

.ppam-price span {
	font-size: 3rem;
	line-height: 1;
}

.ppam-duration {
	color: #5f6f8d;
	font-weight: 600;
	margin: 0 0 28px;
}

.ppam-plan ul {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	text-align: left;
}

.ppam-plan li {
	align-items: center;
	display: flex;
	color: #5b6880;
	font-size: 1.03rem;
	gap: 12px;
	margin: 16px 0;
}

.ppam-plan li span {
	display: inline-block;
	font-weight: 700;
	width: 18px;
}

.ppam-plan li.is-included span {
	color: #10b981;
}

.ppam-plan li.is-excluded {
	color: #71809a;
	text-decoration: line-through;
}

.ppam-plan li.is-excluded span {
	color: #f87171;
	text-decoration: none;
}

.ppam-subscribe-button,
.ppam-danger {
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	padding: 10px 14px;
}

.ppam-subscribe-button {
	background: #2949a6;
	border-radius: 10px;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	min-height: 60px;
	width: 100%;
}

.ppam-plan:not(.is-popular) .ppam-subscribe-button {
	background: #2949a6;
	border: 1px solid #2949a6;
	color: #fff;
}

.ppam-plan.is-popular .ppam-subscribe-button {
	background: linear-gradient(135deg, #ff7a1a, #f04414);
}

.ppam-subscribe-button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.ppam-notice {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	color: #9a3412;
	margin: 20px 0;
	padding: 12px 14px;
}

.ppam-modal-overlay {
	align-items: center;
	background: rgba(15, 23, 42, 0.58);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 18px;
	position: fixed;
	z-index: 99999;
}

.ppam-modal {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
	max-width: 460px;
	padding: 26px;
	width: min(100%, 460px);
}

.ppam-modal h3 {
	color: #13213a;
	font-size: 1.45rem;
	margin: 0 0 12px;
}

.ppam-modal-message {
	color: #334155;
	line-height: 1.6;
}

.ppam-modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 22px;
}

.ppam-modal-button {
	background: #fff;
	border: 1px solid #d7dce5;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 700;
	padding: 10px 16px;
}

.ppam-modal-button.is-primary {
	background: #2d75e8;
	border-color: #2d75e8;
	color: #fff;
}

.ppam-modal-button.is-danger {
	background: #b91c1c;
	border-color: #b91c1c;
	color: #fff;
}

.ppam-danger {
	background: #b91c1c;
	color: #fff;
}

.ppam-dashboard {
	display: grid;
	gap: 18px;
	margin: 24px 0;
	max-width: 100%;
	overflow-x: hidden;
}

.ppam-dashboard .ppam-panel {
	min-width: 0;
	padding: 30px;
}

.ppam-dashboard .ppam-panel h3 {
	font-size: clamp(1.45rem, 6vw, 2.2rem);
	line-height: 1.15;
	margin: 0 0 24px;
	overflow-wrap: anywhere;
}

.ppam-dashboard code {
	display: inline-block;
	max-width: 100%;
	overflow-wrap: anywhere;
	white-space: normal;
}

.ppam-table {
	border-collapse: collapse;
	table-layout: auto;
	width: 100%;
}

.ppam-table th,
.ppam-table td {
	border-bottom: 1px solid #e5e7eb;
	padding: 10px;
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.ppam-restricted {
	box-sizing: border-box;
	display: grid;
	place-items: center;
	width: 100%;
	padding: 34px 14px;
}

.ppam-restricted-card {
	box-sizing: border-box;
	max-width: 620px;
	width: 100%;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 8px;
	background: #fff;
	padding: clamp(24px, 5vw, 40px);
	text-align: center;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.ppam-restricted-kicker {
	margin: 0 0 8px;
	color: #2563eb;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.ppam-restricted-card h2 {
	margin: 0 0 10px;
	color: #0f172a;
	font-size: clamp(26px, 5vw, 38px);
	line-height: 1.12;
}

.ppam-restricted-card p {
	margin: 0 0 22px;
	color: #475569;
	font-size: 16px;
	line-height: 1.6;
}

.ppam-restricted-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.ppam-restricted-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 900;
	padding: 0 18px;
	text-decoration: none;
}

.ppam-restricted-primary {
	background: #0f172a;
	color: #fff;
}

.ppam-restricted-secondary {
	border: 1px solid rgba(15, 23, 42, 0.15);
	background: #f8fafc;
	color: #0f172a;
}

@media (max-width: 640px) {
	.ppam-plans {
		gap: 22px;
		grid-template-columns: minmax(0, 1fr);
	}

	.ppam-plan,
	.ppam-panel {
		padding: 28px 18px 22px;
	}

	.ppam-dashboard {
		gap: 14px;
		margin: 16px 0;
		width: 100%;
	}

	.ppam-dashboard .ppam-panel {
		border-radius: 10px;
		padding: 24px 18px;
		width: 100%;
	}

	.ppam-dashboard .ppam-panel p {
		font-size: 1rem;
		line-height: 1.55;
		margin: 14px 0;
	}

	.ppam-danger {
		border-radius: 999px;
		font-size: 0.95rem;
		line-height: 1.2;
		max-width: 100%;
		white-space: normal;
	}

	.ppam-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
		width: 100%;
	}

	.ppam-table th,
	.ppam-table td {
		font-size: 0.9rem;
		padding: 9px 10px;
	}

	.ppam-table td {
		max-width: 190px;
		white-space: normal;
	}
}

@media (max-width: 420px) {
	.ppam-dashboard .ppam-panel {
		padding: 22px 14px;
	}

	.ppam-dashboard .ppam-panel h3 {
		font-size: 1.65rem;
	}
}
