.ptmc-widget {
	position: fixed;
	bottom: 20px;
	z-index: 99999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 14px;
}

.ptmc-widget.ptmc-bottom-right { right: 20px; }
.ptmc-widget.ptmc-bottom-left  { left: 20px; }

.ptmc-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #f99839;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 6px 10px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.2);
	cursor: pointer;
	font-weight: 600;
	transition: transform .15s ease, background .15s ease;
}

.ptmc-toggle:hover { background: #f99839; transform: translateY(-1px); }

.ptmc-toggle .ptmc-flag { font-size: 16px; line-height: 1; }
.ptmc-toggle .ptmc-caret {
	font-size: 10px;
	transition: transform .2s ease;
}

.ptmc-widget.is-open .ptmc-toggle .ptmc-caret { transform: rotate(180deg); }

.ptmc-menu {
	list-style: none;
	margin: 0;
	padding: 6px;
	position: absolute;
	bottom: calc(100% + 10px);
	right: 0;
	min-width: 190px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(0,0,0,0.18);
	display: none;
	overflow: hidden;
}

.ptmc-widget.ptmc-bottom-left .ptmc-menu { right: auto; left: 0; }

.ptmc-widget.is-open .ptmc-menu { display: block; }

.ptmc-option {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	padding: 9px 10px;
	border-radius: 8px;
	cursor: pointer;
	color: #222;
}

.ptmc-option:hover { background: #f2f7f4; }

.ptmc-option.is-active {
	background: #e6f6ec;
	font-weight: 700;
	color: #f99839;
}

.ptmc-option .ptmc-flag { font-size: 16px; }
.ptmc-option .ptmc-code { min-width: 36px; font-weight: 700; }
.ptmc-option .ptmc-label { color: #666; font-weight: 400; font-size: 12px; }

.ptmc-widget.ptmc-loading .ptmc-toggle { opacity: .6; pointer-events: none; }

@media (max-width: 480px) {
	.ptmc-widget { bottom: 14px; }
	.ptmc-widget.ptmc-bottom-right { right: 14px; }
	.ptmc-widget.ptmc-bottom-left { left: 14px; }
	.ptmc-toggle { padding: 0px 8px; }
}
