.jmld .bg-primary {
    background-color: #10131e !important;
}

.jmld .card {
    border: none;
}

.jmld .card-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.jmld .jmld-live-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.jmld .jmld-live-header__title-group {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.jmld .jmld-live-header__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.jmld .jmld-live-header__updated {
    margin-left: auto;
}

.jmld .jmld-status-chip {
    align-items: center;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(6, 30, 26, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: inline-flex;
    gap: 0.45rem;
    min-height: 2.6rem;
    padding: 0.55rem 1.15rem;
    position: relative;
}

.jmld .jmld-status-chip__label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.jmld .jmld-status-chip__value {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.jmld .jmld-status-chip--up-next {
    background: linear-gradient(135deg, #0d453f, #146556);
    border: 1px solid rgba(123, 233, 196, 0.25);
    box-shadow: 0 12px 30px rgba(7, 42, 34, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.jmld .jmld-status-chip--up-next .jmld-status-chip__label {
    color: rgba(171, 243, 220, 0.8);
}

.jmld .jmld-status-chip--up-next .jmld-status-chip__value {
    color: #f2fffb;
}

.jmld .jmld-status-chip--scheduled {
    background: linear-gradient(135deg, #3a2a1f, #231710);
    border: 1px solid rgba(255, 193, 120, 0.2);
    box-shadow: 0 12px 30px rgba(30, 14, 4, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.jmld .jmld-status-chip--scheduled .jmld-status-chip__label {
    color: rgba(255, 189, 128, 0.85);
}

.jmld .jmld-status-chip--scheduled .jmld-status-chip__value {
    color: #fff5e6;
}

.jmld .table td,
.jmld .table th {
    vertical-align: middle;
}

.jmld [data-jmld-live="notifications"] {
    max-height: 400px;
    overflow-y: auto;
}

.jmld .draw-wheel-wrapper {
    background: linear-gradient(180deg, #131651, #131651);
    border: 1px solid rgba(110, 231, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 18px 48px rgba(9, 13, 28, 0.35);
    color: #e6eefc;
    padding: 1.5rem;
    position: relative;
}

.jmld .draw-wheel-canvas {
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    max-width: 360px;
    position: relative;
    width: 100%;
}

.jmld .draw-wheel-canvas canvas {
    display: block;
    height: 100%;
    width: 100%;
}

.jmld .draw-wheel-pointer {
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
    left: 50%;
    max-width: 16vw;
    position: absolute;
    top: -6%;
    transform: translateX(-50%);
    width: 44px;
}

.jmld .draw-wheel-winner {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    pointer-events: none;
    position: absolute;
    padding: 1rem;
    text-align: center;
}

.jmld .draw-wheel-winner-content {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 85%;
    padding: 1rem 1.5rem;
}

.jmld .draw-wheel-winner-heading {
    color: rgba(230, 238, 252, 0.85);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.35rem;
    text-transform: uppercase;
}

.jmld .draw-wheel-winner-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
}

.jmld .draw-wheel-pill {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    display: inline-flex;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 0.45rem 0.85rem;
    white-space: nowrap;
}

.jmld .draw-wheel-info {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    text-align: center;
}

.jmld .draw-wheel-brand {
    color: rgba(230, 238, 252, 0.75);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.28rem;
    text-transform: uppercase;
}

.jmld .draw-wheel-status {
    align-items: center;
    background: linear-gradient(180deg, rgba(22, 30, 74, 0.82), rgba(11, 16, 46, 0.9));
    border: 1px solid rgba(110, 231, 255, 0.12);
    border-radius: 1.35rem;
    box-shadow: 0 18px 44px rgba(7, 12, 38, 0.45);
    color: #f3f6ff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 420px;
    padding: 1.35rem 1.75rem;
    text-align: center;
    line-height: 1.45;
    width: 100%;
}

.jmld .draw-wheel-status.jmld-status-countdown {
    align-items: center;
    font-variant-numeric: tabular-nums;
    gap: 0.65rem;
}

.jmld .draw-wheel-status .jmld-next-draw-prefix {
    color: rgba(166, 188, 242, 0.75);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.35rem;
    text-transform: uppercase;
}

.jmld .draw-wheel-status .jmld-next-draw-time {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 2.9rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-shadow: 0 10px 30px rgba(6, 11, 32, 0.55);
}

.jmld .draw-wheel-status .jmld-next-draw-details {
    color: rgba(211, 224, 255, 0.82);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    opacity: 1;
    text-transform: none;
}

.jmld .draw-wheel-status .jmld-next-draw-details::before {
    content: none;
}

@media (min-width: 992px) {
    .jmld .draw-wheel-wrapper {
        padding: 1.75rem;
    }
}

.jmld .notification-started {
    border-left: 4px solid #0d6efd;
}

.jmld .notification-tick {
    border-left: 4px solid #17a2b8;
}

.jmld .notification-completed {
    border-left: 4px solid #198754;
}

.jmld .notification-failed {
    border-left: 4px solid #dc3545;
}

.jmld .notification-timestamp {
    font-size: 0.75rem;
    color: #6c757d;
}

.jmld .jmld-status-indicator {
    align-items: center;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.45rem;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
}

.jmld .jmld-status-indicator::before {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.25);
    content: '';
    display: inline-block;
    height: 0.55rem;
    width: 0.55rem;
}

.jmld .card, .jmld .card-header{
    background-color: #131850;
}

.jmld .card-header h4,
.jmld .card-header h5{
   color:white !important;
}

.jmld .text-muted{
color: #908DB1 !important;
}

.table-dark {
    --bs-table-color: #fff;
    --bs-table-bg: #131850;
    --bs-table-border-color: #4d5154;
    --bs-table-striped-bg: #131850;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #131850;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #131850;
    --bs-table-hover-color: #fff;
}
.jmld .draw-wheel-info .draw-wheel-title,
.jmld .draw-wheel-info .draw-wheel-current,
.jmld .draw-wheel-info .draw-wheel-status{
	color: white !important;
}

.jmld .list-group-item, .jmld .list-group-item .notification-timestamp{
    background-color: #1B1457;
    color: white !important;
}

/* Loading state indicators */
.jmld .jmld-loading-indicator {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.75rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.jmld .jmld-loading-indicator[hidden] {
    opacity: 0;
    pointer-events: none;
}

/* Spinner animation */
.jmld .spinner-border-sm {
    animation: jmld-spinner 0.75s linear infinite;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    height: 1rem;
    width: 1rem;
}

@keyframes jmld-spinner {
    to { transform: rotate(360deg); }
}

/* Status element loading states */
.jmld .jmld-status-loading {
    position: relative;
}

.jmld .jmld-status-loading::after {
    animation: jmld-spinner 1s linear infinite;
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    content: '';
    display: inline-block;
    height: 0.75rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    width: 0.75rem;
}

.jmld .jmld-status-refreshing {
    opacity: 0.8;
    position: relative;
}

.jmld .jmld-status-refreshing::after {
    animation: jmld-pulse 2s ease-in-out infinite;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    content: '';
    display: inline-block;
    height: 0.5rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    width: 0.5rem;
}

@keyframes jmld-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Enhanced feedback for data states */
.jmld .jmld-feedback-message {
    transition: all 0.3s ease;
}

.jmld .jmld-feedback-message.text-success {
    color: #198754 !important;
}

.jmld .jmld-feedback-message.text-danger {
    color: #dc3545 !important;
}