/**
 * ShieldTrust Smart CTA and Floating Widget Styling
 * Theme-agnostic, zero-conflict styling.
 * Inherits background, typography and colors directly from the active theme.
 */

/* Container Box - Inherits theme background and colors */
.gsst-cta-box {
	margin: 28px 0;
	padding: 20px;
	background: inherit !important;
	background-color: transparent !important;
	border: 1px solid rgba(150, 150, 150, 0.25);
	border-radius: 10px;
	box-shadow: none;
	font-family: inherit;
	color: inherit;
	box-sizing: border-box;
	max-width: 100%;
	clear: both;
}

.gsst-cta-inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 100%;
	box-sizing: border-box;
	background: transparent !important;
}

/* Header & Trust Badge */
.gsst-cta-header {
	text-align: left;
}

.gsst-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent !important;
	color: inherit !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 3px 9px;
	border-radius: 16px;
	margin-bottom: 8px;
	border: 1px solid rgba(150, 150, 150, 0.3);
}

.gsst-cta-heading {
	margin: 0 0 6px 0 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: inherit !important;
	line-height: 1.3 !important;
	font-family: inherit !important;
}

.gsst-cta-intro {
	margin: 0 !important;
	font-size: 14px !important;
	color: inherit !important;
	opacity: 0.9;
	line-height: 1.5 !important;
	font-family: inherit !important;
}

/* Buttons Grid */
.gsst-buttons-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	margin-top: 6px;
	max-width: 100%;
	box-sizing: border-box;
}

.gsst-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 8px;
	text-decoration: none !important;
	color: #ffffff !important;
	font-weight: 600;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
	cursor: pointer;
	box-sizing: border-box;
	line-height: 1.2;
}

.gsst-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	opacity: 0.95;
	color: #ffffff !important;
}

.gsst-btn:focus-visible {
	outline: 2px solid #0284c7;
	outline-offset: 2px;
}

.gsst-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.gsst-btn-text {
	display: flex;
	flex-direction: column;
	text-align: left;
	line-height: 1.2;
}

.gsst-btn-action {
	font-size: 13px;
	font-weight: 700;
}

.gsst-btn-sub {
	font-size: 11px;
	opacity: 0.9;
	margin-top: 2px;
	font-weight: 400;
}

/* Platform Specific Button Colors */
.gsst-btn-whatsapp {
	background: #25d366 !important;
}

.gsst-btn-telegram {
	background: #0088cc !important;
}

.gsst-btn-sms {
	background: #475569 !important;
}

.gsst-btn-phone {
	background: #0284c7 !important;
}

/* Trust Badges Footer */
.gsst-trust-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(150, 150, 150, 0.2);
	font-size: 12px;
	color: inherit;
	opacity: 0.85;
}

.gsst-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 500;
}

.gsst-trust-item svg {
	color: #10b981;
}

/* ===================================================
   Floating Telegram Button (Offset from theme footers)
   =================================================== */
.gsst-floating-wrap {
	position: fixed;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: opacity 0.3s ease, transform 0.3s ease;
	font-family: inherit;
}

.gsst-pos-bottom-right {
	bottom: 85px;
	right: 20px;
}

.gsst-pos-bottom-left {
	bottom: 85px;
	left: 20px;
}

.gsst-floating-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #0088cc !important;
	color: #ffffff !important;
	padding: 9px 16px;
	border-radius: 25px;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(0, 136, 204, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gsst-floating-btn:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 18px rgba(0, 136, 204, 0.45);
	color: #ffffff !important;
}

.gsst-floating-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.gsst-floating-close {
	background: rgba(15, 23, 42, 0.6);
	color: #ffffff;
	border: none;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s;
}

.gsst-floating-close:hover {
	background: rgba(15, 23, 42, 0.9);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
	.gsst-cta-box {
		padding: 16px 14px;
		margin: 20px 0;
	}

	.gsst-buttons-grid {
		grid-template-columns: 1fr;
	}

	.gsst-pos-bottom-right,
	.gsst-pos-bottom-left {
		bottom: 75px;
		right: 14px;
	}

	.gsst-floating-label {
		display: inline;
		font-size: 12px;
	}
}
