/**
 * FANBox Selector Styles
 * Additional styles specific to FANBox selection
 *
 * @package HgE_Pro_FAN_Courier
 * @since 2.0.0
 */

/* FANBox selector row */
.hgezlpfcr-pro-fanbox-row {
	background: #f8f9fa;
	border-top: 1px solid #dee2e6;
}

.hgezlpfcr-pro-fanbox-row th,
.hgezlpfcr-pro-fanbox-row td {
	padding: 15px !important;
	vertical-align: middle;
}

/* FANBox map button */
#hgezlpfcr-pro-fanbox-map-btn {
	background: #007cba !important;
	color: white !important;
	border: 1px solid #007cba !important;
	border-radius: 4px;
	padding: 12px 20px !important;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	width: auto;
	min-width: 200px;
}

#hgezlpfcr-pro-fanbox-map-btn:hover {
	background: #005a87 !important;
	border-color: #005a87 !important;
	color: white !important;
}

/* Selected FANBox display */
#hgezlpfcr-pro-fanbox-details {
	color: #155724;
	font-weight: 600;
	font-size: 14px;
}

/* FANBox popup link in shipping destination */
#hgezlpfcr-pro-fanbox-popup-link,
.fanbox-popup-trigger {
	color: #007cba;
	text-decoration: underline;
	cursor: pointer;
	font-weight: 500;
	transition: color 0.3s ease;
}

#hgezlpfcr-pro-fanbox-popup-link:hover,
.fanbox-popup-trigger:hover {
	color: #005a87;
	text-decoration: none;
}

/* FANBox map container (provided by external library) */
/* Note: The external library handles showing/hiding the modal */
#FANmapDiv {
	/* Container styles are managed by the external library */
}

/* Admin order FANBox info */
.fc-pro-fanbox-info {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	padding: 10px;
	margin: 10px 0;
	border-radius: 4px;
}

.fc-pro-fanbox-info p {
	margin: 0;
}

.fc-pro-fanbox-info strong {
	color: #155724;
	display: block;
	margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
	#hgezlpfcr-pro-fanbox-map-btn {
		width: 100%;
		text-align: center;
	}

	.hgezlpfcr-pro-fanbox-row th,
	.hgezlpfcr-pro-fanbox-row td {
		display: block;
		width: 100%;
		padding: 10px !important;
	}

	.hgezlpfcr-pro-fanbox-row th {
		border-bottom: none;
	}
}

/* Loading state for FANBox map button */
#hgezlpfcr-pro-fanbox-map-btn.loading {
	opacity: 0.6;
	pointer-events: none;
}

#hgezlpfcr-pro-fanbox-map-btn.loading::after {
	content: "...";
	animation: hgezlpfcr-pro-dots 1.5s infinite;
}

@keyframes hgezlpfcr-pro-dots {
	0%, 20% { content: "."; }
	40% { content: ".."; }
	60%, 100% { content: "..."; }
}

/* Admin settings info notice */
.fc-pro-info-notice {
	background: #e7f3ff;
	border-left: 4px solid #007cba;
	padding: 12px;
	margin: 10px 0;
}

.fc-pro-info-notice p {
	margin: 0;
	line-height: 1.6;
}

.fc-pro-info-notice a {
	color: #007cba;
	text-decoration: underline;
}

.fc-pro-info-notice a:hover {
	color: #005a87;
}
