/**
 * RK Countdown Widget - frontend styles.
 */

.rkcw-container {
	width: 100%;
}

.rkcw-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 15px;
}

/* List layout: simple horizontal row (default flex behaviour above). */
.rkcw-wrapper.rkcw-layout-list {
	flex-wrap: wrap;
}

/* Grid layout: fixed columns, controlled by the Columns control. */
.rkcw-wrapper.rkcw-layout-grid {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
}

/* Circle layout: round boxes, content centered. */
.rkcw-wrapper.rkcw-layout-circle {
	flex-wrap: wrap;
}

.rkcw-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 60px;
	padding: 15px 10px;
	border-radius: 6px;
	background-color: #1e1e1e;
	text-align: center;
	box-sizing: border-box;
}

.rkcw-layout-list .rkcw-item {
	width: 80px;
}

.rkcw-layout-grid .rkcw-item {
	width: 100%;
}

.rkcw-layout-circle .rkcw-item {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	padding: 0;
}

.rkcw-number {
	display: block;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	margin-bottom: 4px;
}

.rkcw-label {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #cccccc;
}

.rkcw-expired {
	padding: 15px;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
}

@media ( max-width: 480px ) {
	.rkcw-number {
		font-size: 22px;
	}

	.rkcw-label {
		font-size: 11px;
	}
}
