/* ============================================
   ListingPro Power Tools — Frontend Styles
   ============================================ */

/* ----- Language Switcher ----- */
.lppt-lang-switcher {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 99999;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.lppt-lang-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: rgba(255,255,255,0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 50px;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	transition: all .3s ease;
	user-select: none;
}

.lppt-lang-btn:hover {
	box-shadow: 0 6px 25px rgba(0,0,0,0.15);
	transform: translateY(-2px);
}

.lppt-lang-btn .lppt-flag {
	font-size: 20px;
	line-height: 1;
}

.lppt-lang-btn .lppt-arrow {
	font-size: 10px;
	transition: transform .3s;
}

.lppt-lang-switcher.open .lppt-arrow {
	transform: rotate(180deg);
}

.lppt-lang-dropdown {
	display: none;
	position: absolute;
	bottom: 50px;
	left: 0;
	min-width: 200px;
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 14px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.15);
	overflow: hidden;
	padding: 6px;
	animation: lppt-slideUp .25s ease;
}

.lppt-lang-switcher.open .lppt-lang-dropdown {
	display: block;
}

@keyframes lppt-slideUp {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.lppt-lang-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
	color: #334155;
	transition: background .2s;
}

.lppt-lang-option:hover {
	background: rgba(102,126,234,0.1);
}

.lppt-lang-option.active {
	background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.1));
	font-weight: 600;
}

.lppt-lang-option .lppt-flag {
	font-size: 18px;
}

.lppt-lang-option .lppt-check {
	margin-left: auto;
	color: #667eea;
	font-size: 14px;
}

/* ----- Hide Google Translate Native Elements ----- */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-gadget-icon,
.goog-te-gadget-simple,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.skiptranslate > iframe.skiptranslate,
body > .skiptranslate {
	display: none !important;
	height: 0 !important;
}

html, html.skiptranslate {
	top: 0 !important;
	position: static !important;
}

body, body.skiptranslate, body[style*="top:"] {
	top: 0 !important;
	position: static !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.goog-tooltip {
    display: none !important;
}
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important; 
    box-shadow: none !important;
}

/* ----- Expired Dashboard Notice ----- */
.lppt-expired-notice {
	background: linear-gradient(135deg, #ff6b6b, #ee5a24);
	color: #fff;
	border-radius: 12px;
	padding: 24px 30px;
	margin: 15px 0;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: 0 4px 20px rgba(238,90,36,0.3);
	animation: lppt-pulse 2s infinite;
}

@keyframes lppt-pulse {
	0%, 100% { box-shadow: 0 4px 20px rgba(238,90,36,0.3); }
	50%      { box-shadow: 0 4px 30px rgba(238,90,36,0.5); }
}

.lppt-expired-notice .lppt-expired-icon {
	font-size: 40px;
	flex-shrink: 0;
}

.lppt-expired-notice .lppt-expired-content h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 6px 0;
	color: #fff;
}

.lppt-expired-notice .lppt-expired-content p {
	margin: 0 0 12px 0;
	font-size: 14px;
	opacity: 0.9;
	color: #fff;
}

.lppt-expired-notice .lppt-renew-btn {
	display: inline-block;
	padding: 10px 24px;
	background: #fff;
	color: #ee5a24;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: all .2s;
}

.lppt-expired-notice .lppt-renew-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Expired: Listing Clicks Only Card */
.lppt-clicks-only-card {
	background: #fff;
	border: 2px solid #e2e8f0;
	border-radius: 14px;
	padding: 30px;
	text-align: center;
	margin: 15px 0;
}

.lppt-clicks-only-card .lppt-clicks-icon {
	font-size: 48px;
	margin-bottom: 10px;
}

.lppt-clicks-only-card .lppt-clicks-label {
	font-size: 14px;
	color: #64748b;
	font-weight: 600;
	margin: 0 0 8px 0;
}

.lppt-clicks-only-card .lppt-clicks-count {
	font-size: 48px;
	font-weight: 800;
	background: linear-gradient(135deg, #667eea, #764ba2);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 0;
	line-height: 1.2;
}

.lppt-clicks-only-card .lppt-clicks-sub {
	font-size: 13px;
	color: #94a3b8;
	margin: 8px 0 0 0;
}
