/* Modal Card Styles */
.modal-card .modal-content {
	background-color: #201c27 !important;
	border: 1px solid rgba(255, 0, 115, 0.3) !important;
	box-shadow: 0 12px 40px rgba(255, 0, 115, 0.15) !important;
	border-radius: 10px !important;
}

.modal-card .card-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 12px 0;
	color: #fff;
	line-height: 1.3;
}

.modal-card .card-text {
	margin: 0 0 24px 0;
	line-height: 1.7;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
}

.modal-likes-section {
	margin: 0 0 24px 0;
	padding: 0 10px;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.modal-like-button {
	background: linear-gradient(135deg, rgba(52, 45, 62, 0.9) 0%, rgba(74, 55, 99, 0.7) 100%);
	border: 2px solid rgba(255, 0, 116, 0.5);
	border-radius: 25px;
	padding: 10px 24px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 0, 116, 0.2);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}

.modal-likes-section .like-button:hover {
	background: linear-gradient(135deg, rgba(52, 45, 62, 1) 0%, rgba(74, 55, 99, 0.9) 100%) !important;
	border-color: rgba(255, 0, 116, 0.8) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 0, 116, 0.4) !important;
}

.modal-likes-section .like-button:hover .like-icon {
	transform: scale(1.2);
	color: #ff0074 !important;
}

.modal-likes-section .like-button.liked {
	background: linear-gradient(135deg, rgba(255, 0, 116, 0.2) 0%, rgba(255, 158, 253, 0.1) 100%) !important;
	border-color: rgba(255, 0, 116, 0.8) !important;
}

.modal-likes-section .like-button.liked .like-icon svg {
	fill: #ff0074;
	stroke: #ff0074;
}

.modal-likes-section .like-button.liked .like-text {
	color: #ff9efd;
}

.modal-like-button .like-icon {
	font-size: 18px;
	color: #ff9efd;
	transition: transform 0.3s ease;
}

.modal-like-button .like-text {
	color: #fff;
}

.modal-likes-count {
	color: #ff9efd;
	font-weight: 700;
}

.modal-metric-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	color: #fff;
	font-weight: 500;
}

.modal-metric-item svg {
	color: #ff9efd;
}

.modal-metric-item:hover {
	color: #fff !important;
	transition: color 0.3s ease;
}

.modal-metric-item:hover svg {
	color: #ff0074 !important;
	transition: color 0.3s ease;
}

.modal-metric-item:hover .modal-views-count,
.modal-metric-item:hover .modal-comments-count {
	color: #fff !important;
}

.modal-card .card-footer {
	margin-bottom: 24px;
	position: relative;
}

.modal-card .card-footer > div {
	position: relative;
	display: inline-block;
}

.modal-comments-section {
	margin-top: 30px;
	display: none;
}

/* WhatsApp Tooltip and Messages Menu */
.whatsapp-tooltip {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-top: 10px;
	padding: 12px 20px;
	background: #0d3a7a; /* Darker blue for better contrast (WCAG AA compliant) */
	border: 1px solid #0d3a7a;
	color: #ffffff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	z-index: 999; /* Below header (z-index: 1000) */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: all 0.3s ease;
	display: none;
}

.whatsapp-tooltip::after {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 8px solid transparent;
	border-bottom-color: #0d3a7a;
}

.whatsapp-tooltip:hover {
	background: #0a2d5f;
	border-color: #0a2d5f;
	transform: translateX(-50%) translateY(2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip:hover::after {
	border-bottom-color: #0a2d5f;
}

.whatsapp-messages-list {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	right: auto;
	min-width: 280px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	z-index: 9999 !important;
	margin-top: 10px;
	max-height: 300px;
	overflow-y: auto;
	pointer-events: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
	display: none;
}

.whatsapp-messages-list[style*="display: block"] {
	display: block !important;
}

.whatsapp-message-item {
	margin: 0;
	padding: 0;
}

.whatsapp-message-button {
	width: 100%;
	padding: 12px 20px;
	background: transparent;
	border: none;
	text-align: right;
	cursor: pointer;
	font-size: 15px;
	color: #333;
	transition: background-color 0.2s ease;
	display: block;
}

.whatsapp-message-button:hover {
	background-color: #f5f5f5;
}

.whatsapp-message-item:first-child .whatsapp-message-button {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}

.whatsapp-message-item:last-child .whatsapp-message-button {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
	border-top: 1px solid #e0e0e0;
	font-weight: 600;
	color: #3578e5;
}

/* Custom Message Modal */
.whatsapp-custom-message-modal,
.whatsapp-custom-message-modal-page {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999 !important;
	display: none;
	align-items: center;
	justify-content: center;
}

.whatsapp-custom-message-modal.active,
.whatsapp-custom-message-modal-page.active {
	display: flex;
}

.whatsapp-custom-message-overlay,
.whatsapp-custom-message-overlay-page {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
}

.whatsapp-custom-message-content {
	position: relative;
	background: #ffffff;
	border-radius: 16px;
	width: 90%;
	max-width: 400px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
	z-index: 10001;
	overflow: hidden;
}

.whatsapp-custom-message-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.whatsapp-custom-message-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

.whatsapp-custom-message-close {
	background: none;
	border: none;
	font-size: 28px;
	color: #999;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: color 0.2s;
}

.whatsapp-custom-message-close:hover {
	color: #333;
}

.whatsapp-custom-message-body {
	padding: 20px;
}

.whatsapp-custom-message-body textarea {
	width: 100%;
	padding: 12px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 16px;
	font-family: inherit;
	resize: vertical;
	min-height: 100px;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.whatsapp-custom-message-body textarea:focus {
	outline: none;
	border-color: #3578e5;
}

.whatsapp-custom-message-footer {
	display: flex;
	gap: 10px;
	padding: 20px;
	border-top: 1px solid #e0e0e0;
	justify-content: flex-end;
}

.whatsapp-custom-message-cancel,
.whatsapp-custom-message-send {
	padding: 10px 24px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.whatsapp-custom-message-cancel {
	background: #f5f5f5;
	color: #333;
}

.whatsapp-custom-message-cancel:hover {
	background: #e0e0e0;
}

.whatsapp-custom-message-send {
	background: #25D366;
	color: #ffffff;
}

.whatsapp-custom-message-send:hover {
	background: #20ba5a;
}

@media (max-width: 767px) {
	.whatsapp-tooltip {
		font-size: 13px;
		padding: 10px 16px;
		z-index: 999; /* Ensure it stays below header (z-index: 1000) on mobile */
	}
	
	.whatsapp-messages-list {
		max-height: 250px;
	}
	
	.whatsapp-message-button {
		font-size: 14px;
		padding: 10px 16px;
	}
	
	.whatsapp-custom-message-content {
		width: 95%;
	}
	
	.whatsapp-custom-message-header h3 {
		font-size: 16px;
	}
}

/* Hide WhatsApp system on desktop (1024px and above) */
@media (min-width: 1024px) {
	.whatsapp-tooltip,
	.whatsapp-messages-list,
	.whatsapp-custom-message-modal,
	.whatsapp-custom-message-modal-page {
		display: none !important;
	}
	
	/* Hide WhatsApp button in modal on desktop */
	.modal-card .card-footer [data-girl-ws-btn] {
		display: none !important;
	}
	
	/* Hide WhatsApp button on single post page on desktop */
	.personal-actions [data-girl-ws-btn] {
		display: none !important;
	}
}

/* Video Gallery Styles */
.gallery video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background: #000;
}

.gallery .video-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.gallery .video-poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.gallery .video-placeholder {
	width: 100%;
	height: 100%;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery .video-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: rgba(255, 0, 116, 0.9);
	border: 3px solid white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	padding: 0;
	margin: 0;
}

.gallery .video-play-button:hover {
	background: rgba(255, 0, 116, 1);
	transform: translate(-50%, -50%) scale(1.1);
	box-shadow: 0 6px 20px rgba(255, 0, 116, 0.5);
}

.gallery .video-play-button svg {
	margin-left: 4px;
	pointer-events: none;
}

.gallery .video-play-button path {
	pointer-events: none;
}

.gallery .video-thumbnail {
	width: 100%;
	height: 100%;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* SVG Sprites Container */
.svg-sprites-container {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

