/**
 * Dynamic Project Builder - Elementor Widgets Frontend Styles
 */
.dpb-widget-field-wrap {
	margin: 0;
	padding: 0;
}

.dpb-widget-field-wrap a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease-in-out;
}

.dpb-widget-field-wrap a:hover {
	opacity: 0.85;
}

.dpb-prefix,
.dpb-suffix {
	display: inline-block;
}

.dpb-value p:last-child {
	margin-bottom: 0;
}

.dpb-widget-empty-notice {
	padding: 16px;
	background: #f9f9f9;
	text-align: center;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	color: #646970;
	font-size: 13px;
}

/* Video Player Widget Styles */
.dpb-video-outer-container {
	width: 100%;
	margin: 0 auto;
}

.dpb-video-inner-frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dpb-video-inner-frame iframe,
.dpb-video-inner-frame video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	object-fit: cover;
}

.dpb-video-caption {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

/* ==========================================================================
   Google Map & Custom Ping / Marker Styles
   ========================================================================== */

.dpb-map-widget-wrap {
	width: 100%;
	margin: 0 auto;
	position: relative;
}

.dpb-map-frame-box {
	position: relative;
	width: 100%;
	height: 460px;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
	background: #e2e8f0;
}

.dpb-google-map-iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Floating Custom Pin / Ping Card Overlay */
.dpb-map-pin-overlay {
	position: absolute;
	z-index: 10;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 16px 20px;
	border-radius: 14px;
	box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.2), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.7);
	max-width: 380px;
	pointer-events: auto;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dpb-map-pin-overlay:hover {
	transform: translateY(-2px);
	box-shadow: 0 25px 35px -10px rgba(15, 23, 42, 0.25);
}

/* Positions */
.dpb-pin-pos-top-left {
	top: 20px;
	left: 20px;
}
.dpb-pin-pos-top-right {
	top: 20px;
	right: 20px;
}
.dpb-pin-pos-bottom-left {
	bottom: 20px;
	left: 20px;
}
.dpb-pin-pos-bottom-right {
	bottom: 20px;
	right: 20px;
}

/* Pin / Ping Indicator */
.dpb-map-pin-indicator {
	position: relative;
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dpb-pin-core {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--dpb-pin-color, #0284c7);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4);
	position: relative;
	z-index: 2;
}

/* Pulsing Ping Radar Wave */
.dpb-pin-ping-ring {
	position: absolute;
	top: 0;
	left: 0;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--dpb-pin-color, #0284c7);
	opacity: 0.7;
	z-index: 1;
}

.dpb-pin-anim-pulse .dpb-pin-ping-ring {
	animation: dpb-ping-radar 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dpb-pin-anim-bounce .dpb-pin-core {
	animation: dpb-pin-bounce 1.5s ease infinite;
}

@keyframes dpb-ping-radar {
	0% {
		transform: scale(0.9);
		opacity: 0.8;
	}
	70%, 100% {
		transform: scale(2.2);
		opacity: 0;
	}
}

@keyframes dpb-pin-bounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

/* Pin Info Typography */
.dpb-map-pin-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-family: inherit;
}

.dpb-map-pin-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.dpb-map-pin-sub {
	font-size: 13px;
	color: #64748b;
	line-height: 1.4;
}

.dpb-map-pin-address {
	font-size: 12px;
	color: #475569;
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 2px;
}

.dpb-map-card-link {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #0284c7;
	text-decoration: none;
	transition: color 0.15s ease;
}

.dpb-map-card-link:hover {
	color: #0369a1;
	text-decoration: underline;
}

/* Below Map Action Bar */
.dpb-map-bottom-bar {
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.dpb-map-address-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 10px 16px;
	border-radius: 10px;
	font-size: 14px;
	color: #334155;
	flex: 1 1 auto;
}

.dpb-map-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #0284c7;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	padding: 11px 22px;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.15s ease, transform 0.15s ease;
	box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.2);
}

.dpb-map-btn:hover {
	background-color: #0369a1;
	color: #ffffff;
	transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.dpb-map-frame-box {
		height: 360px;
	}

	.dpb-map-pin-overlay {
		max-width: calc(100% - 32px);
		top: 16px !important;
		left: 16px !important;
		right: 16px !important;
		padding: 12px 14px;
		gap: 10px;
	}

	.dpb-map-bottom-bar {
		flex-direction: column;
		align-items: stretch;
	}

	.dpb-map-btn {
		justify-content: center;
	}
}


