/**
 * Hours Card — [weprocta_hours_card]
 * Compact elegant business hours widget.
 * Mobile-first.
 *
 * @package WeProCTA
 * @since   5.1.0
 */

/* Container */
.weprocta-hc {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	color: #2D3B3E;
}

/* ==========================================================================
   Status Line
   ========================================================================== */
.weprocta-hc__status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 13px;
	letter-spacing: 0.01em;
}

.weprocta-hc__status--open {
	background: rgba(5, 150, 105, 0.08);
}

.weprocta-hc__status--closed {
	background: rgba(220, 38, 38, 0.06);
}

.weprocta-hc__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

.weprocta-hc__dot--open {
	background: #059669;
	box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.weprocta-hc__dot--closed {
	background: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.weprocta-hc__label {
	font-size: 13px;
	font-weight: 600;
}

.weprocta-hc__label--open {
	color: #059669;
}

.weprocta-hc__label--closed {
	color: #b91c1c;
}

.weprocta-hc__context {
	font-size: 13px;
	font-weight: 400;
	color: #64748b;
}

/* ==========================================================================
   Week Bar — visual at-a-glance
   ========================================================================== */
.weprocta-hc__week {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 56px;
	margin-bottom: 20px;
	padding-bottom: 0;
}

.weprocta-hc__day {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.weprocta-hc__bar {
	width: 100%;
	min-height: 2px;
	border-radius: 3px 3px 0 0;
	background: #d1d5db;
	transition: height 0.3s ease;
}

.weprocta-hc__bar--today {
	background: #A48D60;
}

.weprocta-hc__bar--closed {
	background: #e5e7eb;
	border-radius: 0;
}

.weprocta-hc__day-label {
	font-size: 11px;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.weprocta-hc__day--today .weprocta-hc__day-label {
	color: #A48D60;
	font-weight: 700;
}

/* ==========================================================================
   Detail Rows
   ========================================================================== */
.weprocta-hc__details {
	display: flex;
	flex-direction: column;
}

.weprocta-hc__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 14px;
}

.weprocta-hc__row:last-child {
	border-bottom: none;
}

.weprocta-hc__row-day {
	font-weight: 400;
	color: #64748b;
}

.weprocta-hc__row-time {
	font-weight: 500;
	color: #2D3B3E;
	font-variant-numeric: tabular-nums;
}

/* Today row */
.weprocta-hc__row--today {
	background: rgba(164, 141, 96, 0.06);
	border-radius: 6px;
	padding: 8px 12px;
	margin: 0 -12px;
}

.weprocta-hc__row--today .weprocta-hc__row-day {
	color: #A48D60;
	font-weight: 700;
}

.weprocta-hc__row--today .weprocta-hc__row-time {
	color: #A48D60;
	font-weight: 700;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 480px) {
	.weprocta-hc__week {
		gap: 8px;
		height: 64px;
	}

	.weprocta-hc__day-label {
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.weprocta-hc__bar {
		transition: none;
	}
}
