/**
 * EazyClean SEO - Global Widget Styles
 * Sticky contact widget + Header bar (loaded on ALL pages)
 */

/* ── Sticky Contact Widget ──────────────────────────────────────── */

.eazyclean-seo-sticky-widget {
	position: fixed;
	bottom: 24px;
	z-index: 99999;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.eazyclean-seo-sticky-widget-right {
	right: 24px;
}

.eazyclean-seo-sticky-widget-left {
	left: 24px;
}

.eazyclean-seo-sticky-toggle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, #00b8db, #155dfc);
	border: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(0, 211, 242, 0.4);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eazyclean-seo-sticky-toggle:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 30px rgba(0, 211, 242, 0.6);
}

.eazyclean-seo-sticky-panel {
	position: absolute;
	bottom: 72px;
	width: 340px;
	background: rgba(15, 23, 41, 0.95);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	animation: eazycleanSlideUp 0.3s ease;
}

.eazyclean-seo-sticky-widget-right .eazyclean-seo-sticky-panel {
	right: 0;
}

.eazyclean-seo-sticky-widget-left .eazyclean-seo-sticky-panel {
	left: 0;
}

@keyframes eazycleanSlideUp {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.eazyclean-seo-sticky-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	background: linear-gradient(135deg, rgba(0, 184, 219, 0.15), rgba(21, 93, 252, 0.15));
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eazyclean-seo-sticky-header h4 {
	margin: 0;
	font-family: 'Outfit', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.eazyclean-seo-sticky-close {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: 24px;
	cursor: pointer;
	padding: 0;
	line-height: 1;
}

.eazyclean-seo-sticky-close:hover {
	color: #fff;
}

.eazyclean-seo-sticky-body {
	padding: 20px;
}

.eazyclean-seo-sticky-subtitle {
	margin: 0 0 16px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
}

.eazyclean-seo-sticky-contact-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	margin-bottom: 8px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.eazyclean-seo-sticky-contact-link:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(0, 211, 242, 0.3);
	color: #00d3f2;
}

.eazyclean-seo-sticky-contact-link svg {
	flex-shrink: 0;
	color: #00d3f2;
}

.eazyclean-seo-sticky-form-wrap {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mini form in widget */
.eazyclean-seo-mini-form .eazyclean-seo-form-input {
	width: 100%;
	margin-bottom: 8px;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	color: #fff;
	font-size: 13px;
	font-family: 'Inter', sans-serif;
	outline: none;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.eazyclean-seo-mini-form .eazyclean-seo-form-input:focus {
	border-color: #00d3f2;
}

.eazyclean-seo-mini-form .eazyclean-seo-form-input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

/* Mobile visibility */
@media (max-width: 768px) {
	.eazyclean-seo-sticky-widget-no-mobile {
		display: none;
	}

	.eazyclean-seo-sticky-panel {
		width: calc(100vw - 48px);
		max-width: 340px;
	}
}

/* ── Header Bar ─────────────────────────────────────────────────── */

.eazyclean-seo-header-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99998;
	background: rgba(15, 23, 41, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.eazyclean-seo-header-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.eazyclean-seo-header-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.eazyclean-seo-header-logo img {
	height: 32px;
	width: auto;
}

.eazyclean-seo-header-brand {
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.eazyclean-seo-header-nav {
	display: flex;
	gap: 24px;
	align-items: center;
}

.eazyclean-seo-header-nav-link {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.eazyclean-seo-header-nav-link:hover {
	color: #00d3f2;
}

.eazyclean-seo-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.eazyclean-seo-header-phone {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.eazyclean-seo-header-phone:hover {
	color: #00d3f2;
}

.eazyclean-seo-btn-sm {
	padding: 8px 16px !important;
	font-size: 13px !important;
}

.eazyclean-seo-header-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

.eazyclean-seo-header-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 1px;
	transition: transform 0.3s ease;
}

/* Header bar body offset */
body.eazyclean-seo-has-header {
	padding-top: 60px;
}

/* WP Admin bar + Header bar */
body.admin-bar.eazyclean-seo-has-header .eazyclean-seo-header-bar {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.eazyclean-seo-has-header .eazyclean-seo-header-bar {
		top: 46px;
	}
}

@media (max-width: 768px) {
	.eazyclean-seo-header-nav,
	.eazyclean-seo-header-phone {
		display: none;
	}

	.eazyclean-seo-header-menu-toggle {
		display: flex;
	}

	.eazyclean-seo-header-inner {
		height: 50px;
	}

	body.eazyclean-seo-has-header {
		padding-top: 50px;
	}
}

/* ── Form Styles (shared for landing pages & widget) ────────────── */

.eazyclean-seo-contact-form {
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 32px;
}

.eazyclean-seo-form-title {
	font-family: 'Outfit', sans-serif;
	font-size: 22px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 24px;
	text-align: center;
}

.eazyclean-seo-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}

.eazyclean-seo-form-input {
	width: 100%;
	padding: 14px 18px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	font-family: 'Inter', sans-serif;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.eazyclean-seo-form-input:focus {
	border-color: #00d3f2;
	box-shadow: 0 0 0 3px rgba(0, 211, 242, 0.1);
}

.eazyclean-seo-form-input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.eazyclean-seo-form-textarea {
	resize: vertical;
	min-height: 100px;
}

.eazyclean-seo-form-group-full {
	margin-bottom: 12px;
}

.eazyclean-seo-form-turnstile {
	margin: 16px 0;
	display: flex;
	justify-content: center;
}

.eazyclean-seo-form-actions {
	margin-top: 16px;
	text-align: center;
}

.eazyclean-seo-form-submit {
	min-width: 200px;
}

.eazyclean-seo-form-privacy {
	margin-top: 12px;
	text-align: center;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}

.eazyclean-seo-form-success {
	padding: 16px;
	background: rgba(34, 197, 94, 0.15);
	border: 1px solid rgba(34, 197, 94, 0.3);
	border-radius: 10px;
	color: #22c55e;
	text-align: center;
	font-size: 14px;
	margin-top: 16px;
}

.eazyclean-seo-form-error {
	padding: 16px;
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.3);
	border-radius: 10px;
	color: #ef4444;
	text-align: center;
	font-size: 14px;
	margin-top: 16px;
}

@media (max-width: 768px) {
	.eazyclean-seo-form-grid {
		grid-template-columns: 1fr;
	}

	.eazyclean-seo-contact-form {
		padding: 20px;
	}
}
