/**
 * ShieldTrust Smart CTA and Floating Widget Styling
 * Refined, executive, theme-agnostic rectangular button design with rounded edges.
 */

/* Container Box - Strictly inherits website and page background, typography and text colors */
.gsst-cta-box {
	margin: 28px 0;
	padding: 20px 22px;
	background: inherit !important;
	border: 1px solid rgba(150, 150, 150, 0.22);
	border-radius: 12px;
	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: 12px;
	max-width: 100%;
	box-sizing: border-box;
	background: inherit !important;
	color: inherit;
}

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

.gsst-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 107, 53, 0.08) !important;
	color: #ff6b35 !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 10px;
	border-radius: 6px;
	margin-bottom: 8px;
	border: 1px solid rgba(255, 107, 53, 0.25);
}
.gsst-badge svg {
	fill: #ff6b35 !important;
	flex-shrink: 0;
}

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

.gsst-cta-intro {
	margin: 0 !important;
	font-size: 13.5px !important;
	color: inherit !important;
	opacity: 0.88;
	line-height: 1.55 !important;
	font-family: inherit !important;
}

/* Rectangular Buttons Wrap - Fits Names, Rounded Edges */
.gsst-buttons-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 4px;
	max-width: 100%;
	box-sizing: border-box;
}

.gsst-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 7px;
	text-decoration: none !important;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.15px;
	line-height: 1.2;
	cursor: pointer;
	box-sizing: border-box;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.gsst-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
	color: #ffffff !important;
	text-decoration: none !important;
}

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

.gsst-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.gsst-btn-icon svg {
	fill: #ffffff !important;
	color: #ffffff !important;
}

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

/* Distinct High-Trust Corporate Accents */
.gsst-btn-whatsapp {
	background: #15803d !important;
	border-color: #16a34a !important;
}
.gsst-btn-whatsapp:hover {
	background: #16a34a !important;
}

.gsst-btn-telegram {
	background: #0284c7 !important;
	border-color: #0369a1 !important;
}
.gsst-btn-telegram:hover {
	background: #0369a1 !important;
}

.gsst-btn-sms {
	background: #334155 !important;
	border-color: #475569 !important;
}
.gsst-btn-sms:hover {
	background: #475569 !important;
}

.gsst-btn-phone {
	background: #ff6b35 !important;
	border-color: #e0531f !important;
}
.gsst-btn-phone:hover {
	background: #e0531f !important;
}

/* Verified Channel Line */
.gsst-channel-info {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12px;
	color: #94a3b8;
	margin-top: 4px;
	padding-top: 8px;
}
.gsst-channel-info strong {
	color: #cbd5e1;
	font-weight: 600;
}
.gsst-info-sep {
	opacity: 0.35;
	font-size: 10px;
}

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

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

.gsst-trust-item svg {
	color: #10b981;
	fill: #10b981;
	flex-shrink: 0;
}

/* ===================================================
   Sticky Floating Telegram Button (Offset from theme footers)
   =================================================== */
.gsst-floating-wrap {
	position: fixed;
	z-index: 99999;
	display: flex;
	align-items: center;
	font-family: inherit;
	box-sizing: border-box;
	pointer-events: auto;
}

.gsst-floating-wrap.gsst-popping {
	animation: gsst-floating-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes gsst-floating-pop {
	0% {
		opacity: 0;
		transform: translateY(28px) scale(0.85);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes gsst-pulse-glow {
	0% {
		box-shadow: 0 4px 18px rgba(0, 136, 204, 0.45), 0 0 0 0 rgba(0, 136, 204, 0.4);
	}
	70% {
		box-shadow: 0 4px 18px rgba(0, 136, 204, 0.45), 0 0 0 8px rgba(0, 136, 204, 0);
	}
	100% {
		box-shadow: 0 4px 18px rgba(0, 136, 204, 0.45), 0 0 0 0 rgba(0, 136, 204, 0);
	}
}

.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: 9px;
	background: #25D366 !important;
	color: #ffffff !important;
	padding: 11px 20px;
	border-radius: 30px;
	text-decoration: none !important;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.2px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	box-shadow: 0 4px 18px rgba(37, 211, 102, 0.55), 0 1px 4px rgba(0, 0, 0, 0.15);
	animation: gsst-pulse-glow 3s infinite;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.gsst-floating-btn:hover {
	background: #20ba59 !important;
	transform: translateY(-2px) scale(1.03);
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.75), 0 2px 8px rgba(0, 0, 0, 0.25);
	color: #ffffff !important;
	animation: none;
}

.gsst-floating-btn:active {
	transform: translateY(0) scale(0.98);
}

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

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

	.gsst-buttons-wrap {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.gsst-btn {
		padding: 8px 14px;
		font-size: 12px;
		flex: 1 1 calc(50% - 8px);
		min-width: 130px;
		justify-content: center;
	}

	.gsst-channel-info {
		font-size: 11.5px;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.gsst-info-sep {
		display: none;
	}

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

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

	.gsst-floating-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: #25D366 !important;
	color: #ffffff !important;
	padding: 11px 20px;
	border-radius: 30px;
	text-decoration: none !important;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.2px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	box-shadow: 0 4px 18px rgba(37, 211, 102, 0.55), 0 1px 4px rgba(0, 0, 0, 0.15);
	animation: gsst-pulse-glow 3s infinite;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

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

@media (max-width: 360px) {
	.gsst-btn {
		flex: 1 1 100%;
	}
}
