/* =====================================================
   NW ER Wait Time Feed — Front-end Styles
   New Wave Creative LLC | newwavecreative.io
   ===================================================== */

.nw-er-wait-time {
	display: inline-block;
	font-family: inherit;
	text-align: center;
	padding: 1.25rem 1.75rem;
	border-radius: 8px;
	background-color: #f5f7fa;
	border: 1px solid #e0e4ea;
	max-width: 360px;
	width: 100%;
	box-sizing: border-box;
}

/* Label — e.g. "Current ER Wait Time" */
.nw-erwt-label {
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #6b7280;
	margin: 0 0 0.5rem;
}

/* The wait time value itself */
.nw-erwt-title {
	font-size: 2rem;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 0.25rem;
	line-height: 1.2;
}

/* Supporting description text */
.nw-erwt-description {
	font-size: 0.95rem;
	color: #4b5563;
	margin: 0.25rem 0 0;
}

/* Multiple items (some feeds return more than one location) */
.nw-erwt-items {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.nw-erwt-item {
	padding: 0.5rem 0;
	border-bottom: 1px solid #e5e7eb;
}

.nw-erwt-item:last-child {
	border-bottom: none;
}

/* Last updated timestamp */
.nw-erwt-updated {
	font-size: 0.75rem;
	color: #9ca3af;
	margin: 0.75rem 0 0;
}

/* Fallback / unavailable message */
.nw-erwt-fallback {
	font-size: 0.9rem;
	color: #6b7280;
	margin: 0;
	font-style: italic;
}

/* Admin-only debug message */
.nw-erwt-debug {
	margin-top: 0.5rem;
	font-size: 0.8rem;
	color: #b91c1c;
	background: #fef2f2;
	padding: 0.4rem 0.6rem;
	border-radius: 4px;
	text-align: left;
}

/* Error state */
.nw-er-wait-time.nw-erwt-error {
	border-color: #fca5a5;
	background-color: #fff5f5;
}
