/* API WB Notices Popup — styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

.anp-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(8, 23, 51, 0.62);
	backdrop-filter: blur(3px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	opacity: 0;
	transition: opacity 0.3s ease;
	padding: 20px;
	box-sizing: border-box;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.anp-popup-overlay * {
	box-sizing: border-box;
}

.anp-popup-overlay.anp-visible {
	display: flex;
	opacity: 1;
}

.anp-popup-box {
	position: relative;
	background: #fff;
	width: 100%;
	max-width: 600px;
	max-height: 88vh;
	border-radius: 22px;
	box-shadow: 0 40px 90px rgba(8, 23, 51, 0.45);
	transform: translateY(18px) scale(0.97);
	transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
	opacity: 0;
	overflow: hidden;
}

.anp-popup-overlay.anp-visible .anp-popup-box {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.anp-popup-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, #081733, #DDA23A 45%, #F3D9A6 60%, #081733);
	z-index: 3;
}

.anp-popup-scroll {
	max-height: 88vh;
	overflow-y: auto;
	padding: 40px 34px 30px;
	text-align: center;
}

@media (max-width: 480px) {
	.anp-popup-scroll {
		padding: 34px 22px 24px;
	}
}

.anp-popup-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 34px;
	height: 34px;
	background: rgba(16, 37, 76, 0.06);
	border: none;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: #10254C;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
	z-index: 4;
}

.anp-popup-close:hover {
	background: rgba(193, 68, 14, 0.12);
	color: #C1440E;
	transform: rotate(90deg);
}

.anp-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #10254C;
	color: #F3D9A6;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 8px 18px;
	border-radius: 100px;
	margin-bottom: 18px;
	animation: anp-badge-blink 1.4s ease-in-out infinite;
}

@keyframes anp-badge-blink {
	0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(221, 162, 58, 0.5); }
	50% { opacity: 0.75; box-shadow: 0 0 0 8px rgba(221, 162, 58, 0); }
}

.anp-badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #F3D9A6;
}

@media (prefers-reduced-motion: reduce) {
	.anp-badge { animation: none; }
}

.anp-popup-logo {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
	margin: 0 auto 14px;
	box-shadow: 0 10px 26px rgba(16, 37, 76, 0.2), 0 0 0 4px #fff, 0 0 0 5px #F3D9A6;
}

.anp-popup-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	color: #10254C;
	line-height: 1.35;
	margin: 0 0 4px;
}

.anp-popup-subtitle {
	font-size: 12px;
	color: #5C6478;
	margin: 0 0 16px;
}

.anp-popup-divider {
	width: 46px;
	height: 3px;
	background: #DDA23A;
	border-radius: 2px;
	margin: 0 auto 26px;
}

/* ---- notice blocks ---- */
.anp-notice-block {
	text-align: left;
}

.anp-notice-tag {
	display: inline-block;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 100px;
	margin-bottom: 10px;
}

.anp-tag-ec {
	background: #EEF4FC;
	color: #10254C;
}

.anp-tag-vendor {
	background: #FCEFE7;
	color: #C1440E;
}

.anp-notice-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 17.5px;
	font-weight: 700;
	color: #10254C;
	line-height: 1.35;
	margin: 0 0 4px;
}

.anp-notice-ref {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10.5px;
	color: #5C6478;
	margin: 0 0 14px;
}

.anp-notice-text {
	font-size: 13.3px;
	color: #1B2233;
	line-height: 1.75;
	margin: 0 0 16px;
}

.anp-meta-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 16px;
}

.anp-meta-card {
	background: #EEF4FC;
	border-radius: 10px;
	padding: 10px 13px;
}

.anp-meta-card.anp-meta-wide {
	grid-column: 1 / -1;
}

.anp-meta-card.anp-meta-urgent {
	background: #FCEFE7;
	border: 1px solid rgba(193, 68, 14, 0.25);
}

.anp-meta-card.anp-meta-urgent .anp-mv {
	color: #C1440E;
}

.anp-ml {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 9px;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: #5C6478;
	margin-bottom: 3px;
}

.anp-mv {
	font-size: 12.5px;
	font-weight: 700;
	color: #10254C;
	line-height: 1.4;
}

.anp-section-title {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	color: #5F6B7C;
	margin: 0 0 10px;
}

.anp-agenda-list {
	margin: 0 0 16px;
	padding-left: 20px;
}

.anp-agenda-list li {
	font-size: 12.5px;
	color: #1B2233;
	line-height: 1.7;
	margin-bottom: 6px;
}

.anp-email-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 16px;
	padding: 11px 20px;
	background: linear-gradient(135deg, #DDA23A, #C1440E);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	border-radius: 30px;
	box-shadow: 0 10px 22px rgba(193, 68, 14, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.anp-email-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(193, 68, 14, 0.4);
	color: #fff;
}

.anp-signoff {
	font-size: 12.5px;
	color: #1B2233;
	line-height: 1.6;
	margin: 4px 0 0;
}

.anp-signoff strong {
	color: #10254C;
}

.anp-divider-line {
	height: 1px;
	background: #E7EAF0;
	margin: 26px 0;
}
