:root {
    --deep-blue: #1E3A8A;
    --card-glass: rgba(255, 255, 255, 0.08);
    --card-stroke: rgba(255, 255, 255, 0.18);
    --soft: 16px;
}

html,
body {
    height: 100%;
    box-sizing: border-box;
}

body {
    background: radial-gradient(1200px 800px at 20% -10%, #2647a7 0%, var(--deep-blue) 45%, #152e6b 100%) fixed;
    color: #e9eeff;
    letter-spacing: .1px;
}

.glass {
    backdrop-filter: blur(8px);
    background: var(--card-glass);
    border: 1px solid var(--card-stroke);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.brand-badge {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    color: #0b1433;
    font-weight: 700;
    border-radius: 999px;
    padding: .35rem .75rem;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    color: #0b1433;
    font-weight: 700;
}

.stat-chip {
    border-radius: 10px;
    padding: .35rem .55rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.result-grid .card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(13, 18, 44, .4);
    color: #fff;
}

.result-grid .draw-no {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    font-weight: 700;
}

.table thead th {
    color: #001334;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.table tbody td {
    color: #001334;
    border-color: rgba(255, 255, 255, .12);
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: rgba(255, 255, 255, .03);
    color: #001334;
}

.link-soft {
    color: #c7d7ff;
    text-decoration: none;
}

.custom-navbar .nav-link {
    padding: .5rem 1rem;
    border-radius: var(--soft);
    transition: all .3s ease;
    border: none;
    font-size: 18px;
}

.offcanvas-body .nav-link {
    padding: .5rem 1rem;
    border-radius: var(--soft);
    transition: all .3s ease;
    border: none;
    font-size: 18px;
}

.custom-navbar .nav-link.active {
    color: #fff;
}

.nav-link {
    color: #c7d7ff;
    border: 1px solid #c7d7ff;
}

.link-soft:hover {
    color: #fff;
    text-decoration: underline;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: #cbd5ff;
}

.badge-time {
    background: #0ea5e9;
}

.badge-live {
    background: #ef4444;
}

.kfx {
    font-variant-numeric: tabular-nums;
    letter-spacing: .5px;
}

/* Small utilities */
.minh-hero {
    min-height: 64vh;
}

.shadow-soft {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}


.poster {
    max-width: 900px;
    margin: auto;
    background: #0b8f3e;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.header {
    background: linear-gradient(90deg, #01732d, #14b866);
    padding: 15px;
    text-align: center;
}

.badge-box span {
    background: #ffcc00;
    color: #000;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 20px;
    margin: 3px;
    display: inline-block;
}

.crore-box {
    background: #ffd400;
    color: #000;
    text-align: center;
    padding: 20px;
}

.crore-box h1 {
   font-size: 66px;
   font-weight: 900;
   margin: 0;
   color: #c90000;
}

.strip {
    background: #fff;
    color: #000;
    font-weight: 700;
    margin-bottom: 3px;
}

.strip span {
    background: #ff5722;
    color: #fff;
    padding: 12px 15px;
    margin-right: 10px;
}

.number-grid span {
    display: inline-block;
    background: #f1f1f1;
    color: #000;
    padding: 5px 8px;
    margin: 2px;
    border-radius: 4px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}
.table-row:hover {
 background: #efefef;
 transition: 0.2s;
 color: #14b866;
}
.table-row{
   font-size: 22px;

}

/* Narayan Baba by-date page: white table text */
.table-narayan-baba-by-date .table thead th {
    color: #ffffff;
}
.table-narayan-baba-by-date .table tbody td {
    color: #ffffff;
}

/* Admin tables: white headers, dark body text (override .table-dark) */
.table-admin .table thead th,
.table-admin .table.table-dark thead th {
    color: #ffffff !important;
}
.table-admin .table tbody td,
.table-admin .table.table-dark tbody td {
    color: #ffffff !important;
}
.table-admin .table.table-dark thead tr {
    background: #212529 !important;
}

/* Admin Narayan Baba draws table: only the text (value) inside td is white, not cell background */
#admin-narayan-baba-draws tbody td {
    color: #ffffff !important;
    background-color: transparent !important;
}
#admin-narayan-baba-draws tbody tr {
    background-color: transparent !important;
}

/* Admin Prizes table (add/edit draw): rank column visible, prize name & numbers inputs editable and visible */
.table-admin-prizes .narayan-baba-rank-cell {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem;
}
.table-admin-prizes .admin-prize-name-input,
.table-admin-prizes .admin-prize-numbers-input {
    color: #ffffff !important;
    background-color: #212529 !important;
    border-color: #495057 !important;
}
.table-admin-prizes .admin-prize-name-input::placeholder,
.table-admin-prizes .admin-prize-numbers-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* View Result button: prevent wrap */
.btn-view-result {
    white-space: nowrap;
    min-width: 8rem;
}

/* DataTables on narayan-baba by-date: pagination & controls */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #fff !important;
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 6px !important;
    margin: 0 2px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(13, 110, 253, 0.8) !important;
    border-color: #0d6efd !important;
    color: #fff !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    color: rgba(255,255,255,0.5) !important;
}
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label {
    color: #c7d7ff !important;
}
.dataTables_wrapper .dataTables_filter input {
    background: #212529 !important;
    color: #fff !important;
    border: 1px solid #495057 !important;
    border-radius: 6px !important;
}
.dataTables_wrapper .dataTables_length select {
    background: #212529 !important;
    color: #fff !important;
    border: 1px solid #495057 !important;
    border-radius: 6px !important;
}
