/* ===========================================================
   Umrah Gate - WhatsApp Popup
   Charte : Taviraj (titres) / Open Sans (texte)
   Couleurs : fond #FFFEFB / texte #383838 / accent #AD935C
   =========================================================== */

#ug-wa-launcher {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 60px;
	height: 60px;
	background-color: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 999998;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#ug-wa-launcher:hover {
	transform: scale(1.08);
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

#ug-wa-launcher svg {
	pointer-events: none;
}

#ug-wa-overlay {
	position: fixed;
	inset: 0;
	background: rgba(56, 56, 56, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 999999;
}

#ug-wa-overlay.ug-wa-visible {
	opacity: 1;
	visibility: visible;
}

#ug-wa-modal {
	position: fixed;
	bottom: 100px;
	right: 24px;
	width: 320px;
	max-width: calc(100vw - 32px);
	background: #FFFEFB;
	border-radius: 18px;
	padding: 28px 24px 24px;
	box-shadow: 0 12px 40px rgba(56, 56, 56, 0.25);
	z-index: 1000000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px) scale(0.97);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
	font-family: 'Open Sans', sans-serif;
	color: #383838;
}

#ug-wa-modal.ug-wa-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

#ug-wa-modal h3 {
	font-family: 'Taviraj', serif;
	font-weight: 600;
	font-size: 20px;
	color: #383838;
	margin: 0 0 8px;
}

#ug-wa-modal p {
	font-size: 14px;
	line-height: 1.5;
	color: #5c5c5c;
	margin: 0 0 16px;
}

#ug-wa-message {
	width: 100%;
	min-height: 90px;
	resize: none;
	border: 1px solid #e3ddd0;
	border-radius: 10px;
	padding: 12px 14px;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	color: #383838;
	background: #fffefc;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

#ug-wa-message:focus {
	outline: none;
	border-color: #AD935C;
}

#ug-wa-send {
	margin-top: 14px;
	width: 100%;
	background-color: #AD935C;
	color: #FFFEFB;
	border: none;
	border-radius: 10px;
	padding: 12px 16px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

#ug-wa-send:hover {
	background-color: #96804d;
	transform: translateY(-1px);
}

#ug-wa-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: #9a9a9a;
	cursor: pointer;
	padding: 4px;
}

#ug-wa-close:hover {
	color: #383838;
}

@media (max-width: 480px) {
	#ug-wa-modal {
		right: 16px;
		bottom: 92px;
		width: calc(100vw - 32px);
	}

	#ug-wa-launcher {
		bottom: 18px;
		right: 18px;
	}
}
