.tabs-list {
    background-color: rgba(254, 242, 242, 1);
    height: 2.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: .25rem;
}

.my-custom-tab {
    transition-property: all;
    transition-duration: .15s;
    font-weight: 600;
    font-size: .875rem;
    line-height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 5px;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    margin-right: 0;
    width: 100%;
    text-transform: capitalize;
    color: #1c2b3fad;
}
.my-custom-tab.is-active {
    background-color: rgba(220,38, 38, 1);
    color: rgba(255, 255, 255, 1);
}

.lucide-calendar {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}


/* Wrapper tổng */
.lottery-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    width: 100%;
    margin-bottom: 0;
}

.filter-group {
    display: flex;
    gap: 12px;
}

.lottery-filter-bar > *:not(.live-btn) {
    width: 140px !important;
}


#datepicker-wrapper svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
}

#datepicker-wrapper {
    position: relative;
    display: inline-block;
    width: max-content;
}

.flatpickr-input {
    padding-left: 36px !important;
    height: 40px ;
    font-size: 14px ;
    border-color: rgba(252, 165, 165, 1) !important;
    border-radius: 5px  !important;
    padding-right: 10px ;
    width: 100% ;
    margin-bottom: 0;
    min-width: 140px;
}
.highlight-input{
    border-color: rgba(252, 165, 165, 1) !important;
    border-radius: 5px  !important;
    min-width: 140px;
}

/* Dropdowns */
#day-dropdown,
#province-dropdown {
    position: relative;
    z-index: 10;
    background: #fff;
    border-color: rgba(252, 165, 165, 1);
    border-radius: 4px;
    padding: 4px 8px;
}

#day-dropdown ul,
#province-dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#day-dropdown li,
#province-dropdown li {
    padding: 4px 8px;
    cursor: pointer;
    white-space: nowrap;
}

#day-dropdown li:hover,
#province-dropdown li:hover {
    background-color: #f0f0f0;
}


/* Live button */
.live-btn {
    height: 36px;
    padding: 0 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    margin-right: 0;
}

.live-btn:hover {
    background-color: #0056b3;
}


/* Style cho nút dropdown */
.dropbtn {
    background-color: #3498db;
    color: white;
    padding: 10px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* Container cho dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Nội dung dropdown (ẩn mặc định) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Các mục trong dropdown */
.dropdown-content li {
    padding: 12px 16px;
    cursor: pointer;
}

/* Hiển thị dropdown khi hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.radio-group {
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

.radio-option {
    display: flex;
    align-items: center;
    font-size: .875rem;
    cursor: pointer;
    position: relative;
    color: #333 !important;
    font-weight: 500;

}
.radio-group input[type="radio"] {
    accent-color:  rgba(220,38, 38, 1);
    transform: scale(1.4);
    cursor: pointer;
    margin-top: -2px;
}

.radio-option:hover {
    color: rgba(220,38, 38, 1);
}

.table-lottery-header {
    font-size: 1.125rem;                  /* .text-lg */
    line-height: 1.75rem;                 /* .text-lg */
    text-align: left;                     /* .text-left */
    padding: 0.75rem !important;                     /* .p-3 */
    background-color: rgba(243, 244, 246, 1); /* .bg-gray-100 */
    --tw-bg-opacity: 1;
    border-bottom-width: 1px;             /* .border-b */
    margin-bottom: 0.5rem;                /* .mb-2 */
    color: #333;
    font-weight: 700;
    text-transform: capitalize;
}

.table-title th, .prize-name{
    font-size: 1.125rem;
    line-height: 1.75rem;
    text-align: left;
    padding: 0.5rem !important;
    --tw-bg-opacity: 1;
    border-bottom-width: 1px;
    color: #333;
    font-weight: 700;
    text-transform: capitalize;
}

.prize-name {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
}
.table-title th.title-province {
    text-align: center;
}

.col-giai {
    width: 175px;
    white-space: nowrap;
}

.col-province {
    width: auto;
}

.table-data-region tbody tr:nth-child(even) {
    background-color: rgba(254,242,242,1);
}
.bg-special {
    background-color: #FFFFFF;
}

.prize-value {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.75rem;
    text-align: center;
    color: #333;
}


.north-prize[data-quantity="4"], .prize-row.top-data {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}
.north-prize[data-quantity="3"], .north-prize[data-quantity="6"], .prize-row.bottom-data {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}
.north-prize[data-quantity="2"] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.north-prize[data-quantity="5"] {
    grid-template-columns: repeat(5, 1fr);
}
.north-prize[data-quantity="7"] {
    grid-template-columns: repeat(7, 1fr);
}



.north-prize {
    display: grid;
    gap: 0;
    border-bottom: 1px solid #ececec !important;
}

.prize-row {
    display: grid;
    gap: 0;
}

.number,
.north-prize,
.north-prize * {
    border: none;
    outline: none;
}

.prize-special {
    color : rgba(220,38,38,1);
    font-size: 1.5rem;
    line-height: 2rem;
}

.prize-col .number {
    display: block;
}

.number .highlighted {
    background-color: yellow;
    border-radius: 4px;
}

.select-wrapper {
    position: relative;
    display: inline-block;
    min-width: 140px;
}

.select-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 12px;
    height: 12px;
    pointer-events: none;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1000;
}