/* Bitcoin Halving Countdown Widget - Mobile/Vertical Layout */

.nnbtc-bitcoin-halving-widget {
	box-sizing: border-box;
	width: 100%;
	max-width: 360px;
	margin: 2rem auto;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'DM Sans', sans-serif;
}

.nnbtc-bitcoin-halving-widget *,
.nnbtc-bitcoin-halving-widget *::before,
.nnbtc-bitcoin-halving-widget *::after {
	box-sizing: inherit;
}

/* Title */
.nnbtc-bh-title {
	margin: 0 0 24px 0;
	padding: 0;
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 36px;
	color: #031129;
	text-align: left;
	white-space: pre-wrap;
	min-width: 100%;
	width: min-content;
}

/* Sections Container - Vertical Stack */
.nnbtc-bh-sections {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 24px;
}

/* Individual Section */
.nnbtc-bh-section {
	width: 100%;
	background: #ffeef0;
	border: 1px solid #fbc6ce;
	border-radius: 16px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

/* Section Labels */
.nnbtc-bh-label {
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	color: #e50123;
	text-align: center;
	margin: 0;
	padding: 0;
}

/* Countdown Container */
.nnbtc-bh-countdown {
	display: flex;
	gap: 8px;
	width: 100%;
}

/* Countdown Item */
.nnbtc-bh-count-item {
	flex: 1 1 0;
	min-width: 0;
	background: #ffffff;
	border-radius: 8px;
	padding: 8px;
	height: 66px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Countdown Value */
.nnbtc-bh-count-value {
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 36px;
	color: #e50123;
	display: block;
	white-space: pre-wrap;
	min-width: 100%;
	width: min-content;
}

/* Countdown Label */
.nnbtc-bh-count-label {
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	color: #d00120;
	display: block;
}

/* Date Section Content */
.nnbtc-bh-date-content {
	background: #ffffff;
	border-radius: 8px;
	padding: 8px;
	width: 100%;
	height: 66px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Date Display */
.nnbtc-bh-date {
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 36px;
	color: #e50123;
	margin: 0;
	white-space: pre-wrap;
	min-width: 100%;
	width: min-content;
}

/* Time Display */
.nnbtc-bh-time {
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	color: #d00120;
	margin: 0;
}

/* CTA Wrapper */
.nnbtc-bh-cta-wrapper {
	display: flex;
	justify-content: center;
	margin: 0;
}

/* CTA Button */
.nnbtc-bh-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 16px;
	background: #e50123;
	color: #ffffff;
	border-radius: 8px;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 28px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	border: none;
}

.nnbtc-bh-cta-button:hover,
.nnbtc-bh-cta-button:focus {
	background: #c70120;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(229, 1, 35, 0.3);
}

.nnbtc-bh-cta-button:active {
	transform: translateY(0);
}

.nnbtc-bh-button-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

/* Responsive Design - Desktop/Wide */
@media (min-width: 769px) {
	.nnbtc-bitcoin-halving-widget {
		max-width: 820px;
	}

	.nnbtc-bh-sections {
		flex-direction: row;
		gap: 8px;
	}

	.nnbtc-bh-section {
		flex: 1 1 0;
		min-width: 0;
	}

	.nnbtc-bh-count-item {
		height: 80px;
	}

	.nnbtc-bh-count-value {
		font-size: 32px;
		line-height: 44px;
	}

	.nnbtc-bh-count-label {
		font-size: 14px;
		line-height: 20px;
	}

	.nnbtc-bh-date {
		font-size: 32px;
		line-height: 44px;
	}

	.nnbtc-bh-time {
		font-size: 14px;
		line-height: 20px;
	}

	.nnbtc-bh-date-content {
		height: 80px;
	}

	.nnbtc-bh-title {
		font-size: 32px;
		line-height: 44px;
	}

	.nnbtc-bh-label {
		line-height: 32px;
	}
}

@media (max-width: 480px) {
	.nnbtc-bh-title {
		font-size: 24px;
		line-height: 32px;
		margin-bottom: 16px;
	}

	.nnbtc-bh-countdown {
		gap: 4px;
	}

	.nnbtc-bh-count-item {
		padding: 6px 4px;
		height: 60px;
	}

	.nnbtc-bh-count-value {
		font-size: 24px;
		line-height: 32px;
	}

	.nnbtc-bh-count-label {
		font-size: 11px;
		line-height: 16px;
	}

	.nnbtc-bh-date {
		font-size: 24px;
		line-height: 32px;
	}

	.nnbtc-bh-time {
		font-size: 11px;
		line-height: 16px;
	}

	.nnbtc-bh-date-content {
		height: 60px;
	}

	.nnbtc-bh-cta-button {
		font-size: 14px;
		padding: 6px 12px;
	}

	.nnbtc-bh-label {
		font-size: 16px;
		line-height: 24px;
	}

	.nnbtc-bh-sections {
		gap: 6px;
		margin-bottom: 16px;
	}
}
