/**
 * Public styles for Geobuddy Contact Guard.
 *
 * @package    Geobuddy_Contact_Guard
 * @subpackage Geobuddy_Contact_Guard/assets/css
 * @author     BuddyDevelopers <support@buddydevelopers.com>
 */

.geobuddy-contact-guard {
	display: flex;
	align-items: center;
	gap: 5px;
	border-radius: 4px;
			-webkit-transition: .8s;
			-moz-transition: .8s;
			-o-transition: .8s;
			transition: .8s;
	cursor: pointer;
}
/* .geobuddy-contact-guard:hover {
	background-color: #ebebeb;
			-webkit-transition: .8s;
			-moz-transition: .8s;
			-o-transition: .8s;
			transition: .8s;
} */

/* Popup overlay */
.custom-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

/* Container */
.custom-popup-container {
	background: #fff;
	border-radius: 8px;
	max-width: 400px;
	width: 90%;
	padding: 20px 30px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	position: relative;
	text-align: center;
}

/* Left section (main content) */
.popup-left-section {
	position: relative;
	padding: 10px 0;
}

/* Close button */
.popup-close {
	position: absolute;
	top: -21px;
		right: -21px;
	font-size: 1.5em;
	cursor: pointer;
	font-weight: bold;
}

/* Title */
.popup-left-section h2 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 1.5em;
	color: #333;
}

/* Phone paragraph */
.popup-left-section p {
	font-size: 1.2em;
	color: #555;
	margin-top: 10px;
}

/* Field icon inside popup */
.popup-field-icon {
	font-size: 1.2em;
	margin-right: 6px;
	vertical-align: middle;
}

/* Loader popup overlay */
.geobuddy-loader-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
}

/* Loader container */
.geobuddy-loader-container {
	background: #fff;
	border-radius: 8px;
	padding: 30px 40px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	text-align: center;
	min-width: 200px;
}

/* Loader spinner */
.geobuddy-loader-spinner {
	display: inline-block;
	width: 50px;
	height: 50px;
	border: 4px solid rgba(0, 115, 170, 0.2);
	border-radius: 50%;
	border-top-color: #0073aa;
	animation: geobuddy-spin 0.8s linear infinite;
	margin: 0 auto 15px;
}

@keyframes geobuddy-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Loader text */
.geobuddy-loader-text {
	margin: 0;
	font-size: 16px;
	color: #333;
	font-weight: 500;
}

/* Button loading state */
.geobuddy-show-number.loading {
	opacity: 0.7;
	cursor: not-allowed;
	pointer-events: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
	.custom-popup-container {
		flex-direction: column;
	}

	.popup-left-section,
	.popup-right-section {
		padding: 20px;
	}
}