:root {
    --color-lottery: #52dedb;
}
.box-select-lottery {
    margin-top: 1rem;
    margin-bottom: 1rem;
    max-width: 740px;
    margin: 30px auto;
}
.box-select-lottery > form {
    display: block;
    border-radius: 0.5rem;
    border: 1px solid var(--color-lottery);
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f0f0f8;
}
.choose-district,
.choose-mien {
    display: none;
}
.choose-mien.show,
.choose-district.show {
    display: block;
}
.box-select-lottery form label {
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}
.choose-lottery-select label {
    font-weight: 700;
}
.choose-lottery-option-rad {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.choose-lottery-select {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
}
.box-select-lottery select {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #dfdfdf;
    border-radius: 3px;
    padding: 8px 9px;
    font-size: 15px;
}
.box-select-lottery select:focus {
    outline: 0;
}
.box-select-lottery button {
    background-color: var(--color-lottery);
    font-size: 15px;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.3s;
}
.box-select-lottery button:hover {
    background-color: #0069d9;
}
.district-lottery-select {
    flex-basis: 40%;
}
.kq-table {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.kq-table td,
.kq-table th {
    padding: 5px;
    border: 1px solid #ddd;
    font-weight: 400;
    color: #555;
    font-size: 15px;
    text-align: center;
}
.kq-table th {
    font-weight: 600 !important;
}
.kq-table tr:nth-child(even) {
    background: #efefef;
}
.kq-table .number {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    display: block;
    padding: 0;
    color: #000;
    letter-spacing: 1px;
    transition: all 0.3s ease, background-position 1ms;
    min-height: 30px;
}
.cred {
    color: red !important;
}
.table-loto {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    text-align: center;
}
.table-loto thead th {
    background-color: var(--color-lottery);
    border-color: var(--color-lottery);
    color: #fff;
    font-weight: 600;
}
.table-loto thead th:first-child,
.table-loto tbody tr th:first-child {
    text-align: center;
}
.table-loto th {
    padding: 5px !important;
    border: 1px solid #ddd;
    font-weight: 400;
    font-size: 15px;
}
.table-loto td {
    padding: 5px;
    border: 1px solid #ddd;
    font-size: 15px;
}
.control-panel {
    background: #eee;
    padding: 15px;
    border-top: 0;
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
}
.control-panel .config-view {
    margin-bottom: 5px;
}
.config-view form {
    margin-bottom: 0;
}
.control-panel .config-view label {
    margin: 0 5px;
    display: inline-block;
    font-weight: 400;
    text-transform: none;
    font-size: 15px;
}
.control-panel .config-highlight .hl-number.active,
.control-panel .config-highlight .hl-number:hover {
    background: var(--color-lottery);
}
.control-panel .config-highlight .hl-number {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #757171;
    background: radial-gradient(circle at 5px 5px, #f7f5f5, #31313a);
    text-shadow: none;
    color: #fff;
    line-height: 25px;
    text-align: center;
    font-size: 17px;
    margin: 0 4px 10px;
    display: inline-block;
    cursor: pointer;
}
.number mark {
    width: 28px;
    height: 28px;
    background: radial-gradient(circle at 5px 5px, #f90, var(--color-lottery));
    color: #fff;
    border-radius: 50%;
    box-shadow: 3px 3px 10px -2px rgba(0, 0, 0, 0.4);
    display: inline-block;
}
#table-xsmb .giai-2 .number {
    width: 45%;
}
#table-xsmb .giai-3 .number,
#table-xsmb .giai-5 .number,
#table-xsmb .giai-6 .number {
    width: 30%;
}
#table-xsmb .number {
    display: inline-block;
    vertical-align: middle;
}
#table-xsmb .giai-4 .number,
#table-xsmb .giai-7 .number {
    width: 20%;
}
.btn-cs {
    display: inline-block;
    position: relative;
    cursor: pointer;
    outline: 0;
    white-space: nowrap;
    margin: 5px;
    font-size: 0.875rem;
    line-height: 24px;
    font-weight: 600;
    padding: 5px 22px;
    border: 2px solid var(--color-lottery);
    border-radius: 20px;
    text-decoration: none !important;
    overflow: hidden;
    cursor: pointer;
    color: #333;
}
.btn-cs.active::before {
    height: 100%;
    background-color: rgb(255 153 0 / 0.4) !important;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-backface-visibility: hidden;
}
.kq-single tr th {
    width: 4%;
}
.single-giai-4 span {
    display: inline-block !important;
}
.col-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
