/* ============================================================
   Sidebox Current Lottery — CSS
   Thunder-WoW theme palette:
     Gold accent:  #d79602 / #a36009 / #805025
     Body text:    #c1b575
     Border:       #30220a
     Green status: #6abf40
     Red status:   #c0392b
   ============================================================ */

/* -------------------------------------------------------
   Wrapper
------------------------------------------------------- */
.lottery-sidebox {
	color: #c1b575;
}

/* -------------------------------------------------------
   Edition header
------------------------------------------------------- */
.lottery-edition-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	font-family: 'Cinzel', 'Calibri', serif;
	font-size: 9.5pt;
	color: #a36009;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 1px solid #30220a;
	padding-bottom: 5px;
	margin-bottom: 3px;
}
.lottery-edition-header a             { color: #d79602; }
.lottery-edition-header a:hover       { color: #FFBD26; }
.lottery-edition-header .edition-num  { color: #d79602; }
.lottery-edition-header .edition-closed {
	font-size: 0.78em;
	color: #805025;
	text-transform: none;
	letter-spacing: 0;
}

/* -------------------------------------------------------
   Stat rows (flexbox key → value)
------------------------------------------------------- */
.lottery-stat-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 21px;
	padding: 2px 2px;
	border-bottom: 1px solid rgba(48, 34, 10, 0.45);
	transition: background-color 0.2s ease;
}
.lottery-stat-row:last-of-type { border-bottom: none; }
.lottery-stat-row:hover        { background-color: rgba(215, 150, 2, 0.04); }

.lottery-stat-label {
	font-variant: small-caps;
	color: #805025;
	font-size: 0.88em;
	flex-shrink: 0;
	margin-right: 6px;
}
.lottery-stat-value {
	text-align: right;
	color: #c1b575;
	word-break: break-word;
}

/* -------------------------------------------------------
   Countdown timer
------------------------------------------------------- */
.lottery-timer      { color: #d79602; }
.lottery-timer span { font-family: 'Cinzel', 'Calibri', serif; }

/* -------------------------------------------------------
   Subscription status badges
------------------------------------------------------- */
.status-subscribed     { color: #6abf40; font-variant: small-caps; }
.status-not-subscribed { color: #c0392b; font-variant: small-caps; }

/* -------------------------------------------------------
   Bottom action area
------------------------------------------------------- */
.lottery-actions {
	text-align: center;
	padding-top: 5px;
	margin-top: 3px;
	border-top: 1px solid #30220a;
}
.lottery-actions .nice_button { margin: 8px 3px 0; }

/* -------------------------------------------------------
   Winners list (finalized state)
------------------------------------------------------- */
.lottery-winners-list { margin-bottom: 4px; }

.lottery-winner-row {
	display: flex;
	align-items: center;
	min-height: 22px;
	border-bottom: 1px solid rgba(48, 34, 10, 0.4);
	padding: 2px 2px;
}
.lottery-winner-row:last-child { border-bottom: none; }

.lottery-winner-row .winner-rank {
	font-variant: small-caps;
	color: #d79602;
	margin-right: 8px;
	flex-shrink: 0;
	min-width: 20px;
}
