:root {
    --stcbl-orange: #E66A00;
    --stcbl-orange-hover: #CC5E00;
    --stcbl-yellow: #D99B00;
    --stcbl-light-orange: #FFF0E0;
    --stcbl-canvas-bg: #F4F6F9;
    --stcbl-text-dark: #2B303A;
    --stcbl-green: #1E9E5A;
    --stcbl-red: #D64545;
    --stcbl-gold: #C79A2A;
}

body {
    font-family: 'Public Sans', sans-serif;
    background-color: var(--stcbl-canvas-bg);
    color: var(--stcbl-text-dark);
}

.navbar-lottery {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
}

.navbar-lottery .brand-logo-img {
    max-height: 44px;
}

.btn-stcbl-orange {
    background-color: var(--stcbl-orange);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
}
.btn-stcbl-orange:hover {
    background-color: var(--stcbl-orange-hover);
    color: #fff;
}

.btn-outline-stcbl {
    border: 1px solid var(--stcbl-orange);
    color: var(--stcbl-orange);
    background: #fff;
    font-weight: 600;
    border-radius: 6px;
}
.btn-outline-stcbl:hover {
    background: var(--stcbl-light-orange);
    color: var(--stcbl-orange-hover);
}

.stat-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.25rem;
}

.stat-card .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0A2540;
}

.stat-card .stat-label {
    color: #64748B;
    font-size: 0.85rem;
}

/* --- Number grid --- */
.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
}
@media (max-width: 576px) {
    .number-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.num-cell {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid transparent;
    user-select: none;
    transition: transform 0.1s ease;
}
.num-cell:hover {
    transform: scale(1.05);
}

.num-available {
    background-color: #E6F7EC;
    color: var(--stcbl-green);
    border-color: #BEE9CE;
}
.num-taken {
    background-color: #FBEAEA;
    color: var(--stcbl-red);
    border-color: #F3CACA;
    cursor: not-allowed;
}
.num-winner {
    background-color: #FCF3D9;
    color: var(--stcbl-gold);
    border-color: #F0DFA0;
    cursor: not-allowed;
}
.num-cell.selected {
    outline: 3px solid var(--stcbl-orange);
}
.num-cell.num-paused {
    cursor: not-allowed;
    opacity: 0.6;
}
.num-cell.num-paused:hover {
    transform: none;
}

.legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 6px;
}

/* --- Draw wheel --- */
#wheelCanvas {
    display: block;
    margin: 0 auto;
}

.status-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}
.status-pending { background: #FCF3D9; color: #8A6D1D; }
.status-verified { background: #E6F7EC; color: #1E7A44; }
.status-rejected { background: #FBEAEA; color: #B23A3A; }
.status-winner { background: var(--stcbl-orange); color: #fff; }