/**
 * WP Dating membership gate — styles for the inline upgrade panel
 * ([atomchat] shortcode area) and the floating bubble (popup/docked
 * launcher replacement).
 */

.wpdam-upgrade-panel {
	--wpdam-accent: #ff5478;
	--wpdam-accent-dark: #e03e63;
	--wpdam-bg-start: #fff5f7;
	--wpdam-bg-end: #ffe9ee;
	--wpdam-border: #ffd7de;
	--wpdam-title-color: #33121a;
	--wpdam-body-color: #6b4650;

	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--wpdam-bg-start) 0%, var(--wpdam-bg-end) 100%);
	border: 1px solid var(--wpdam-border);
	border-radius: 10px;
	min-height: 220px;
	max-width: 100%;
	padding: 24px;
	text-align: center;
}

.wpdam-upgrade-panel__inner {
	max-width: 320px;
	margin: 0 auto;
}

.wpdam-upgrade-panel__icon {
	font-size: 32px;
	line-height: 1;
	display: inline-block;
	margin-bottom: 8px;
}

.wpdam-upgrade-panel__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: var(--wpdam-title-color);
}

.wpdam-upgrade-panel__body {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--wpdam-body-color);
}

.wpdam-upgrade-panel__button {
	display: inline-block;
	padding: 10px 22px;
	background: var(--wpdam-accent);
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	border-radius: 999px;
	transition: background 0.15s ease;
}

.wpdam-upgrade-panel__button:hover,
.wpdam-upgrade-panel__button:focus {
	background: var(--wpdam-accent-dark);
}

@media (max-width: 480px) {
	.wpdam-upgrade-panel {
		min-height: 180px;
		padding: 16px;
	}
	.wpdam-upgrade-panel__title {
		font-size: 16px;
	}
	.wpdam-upgrade-panel__body {
		font-size: 13px;
	}
}

/* Floating bubble — replaces the AtomChat popup/docked launcher for
   ineligible users, in the same fixed corner. */
.wpdam-floating-cta {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999999;
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #ffd7de;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	padding: 10px 18px 10px 14px;
	text-decoration: none !important;
	color: #33121a !important;
	font-size: 13px;
	font-weight: 600;
	max-width: calc(100vw - 40px);
}

.wpdam-floating-cta:hover,
.wpdam-floating-cta:focus {
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.wpdam-floating-cta__icon {
	font-size: 18px;
	line-height: 1;
}

@media (max-width: 480px) {
	.wpdam-floating-cta {
		right: 12px;
		bottom: 12px;
		padding: 8px 14px 8px 10px;
		font-size: 12px;
	}
}
