*, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}

table.lotto-history tr {
	border-bottom: 10px solid #fff;
}
table.lotto-history tr .prizes-row span.row-0,
table.lotto-history tr .prizes-row span.row-2,
table.lotto-history tr .prizes-row span.row-4,
table.lotto-history tr .prizes-row span.row-6,
table.lotto-history tr .prizes-row span.row-8,
table.lotto-history tr .prizes-row span.row-10,
table.lotto-history tr .prizes-row span.row-12,
table.lotto-history tr .prizes-row span.row-14,
table.lotto-history tr .prizes-row span.row-16 {
	background: #e4e4e4;
}
.clearFix:before, .clearFix:after {
    content: '';
    display: table;
    clear: both;
}
.active-draw ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
strong, b, .boldText {
    font-weight: 600;
}
img {
    display: inline;
    max-width: 100%;
}
.gcl-group {
	display: flex;
    align-items: center;
    justify-content: space-around;
}
.gcl-group h4 {
    margin: 0 0 10px 0;
    font-weight: 400;
    color: #3e3e3e;	
}
.active-draw .next-draw span span {
	display: inline-block;
    background: #fff;
    color: #000 !important;
    margin: 2px;
    padding: 2px 3px;
    border-radius: 5px;
	position: relative;
	margin-right: 8px;
}
.active-draw .next-draw span span:nth-child(1):after,
.active-draw .next-draw span span:nth-child(2):after {
    content: ':';
    position: absolute;
    right: -8px;
    font-size: 25px;
    top: -6px;
} 
.lotto-history {
	display: table;
	width: 100%;
}
.lotto-history tr.hidden {
	display: none;
}

.numbers span.extra_num,
span.extra_num {
	border-color: #ff5722;
}
.lotto-pagination {
	text-align: center;
	margin-top: 20px;
}
.lotto-pagination a, .lotto-pagination span {
	cursor: pointer;
	display: inline-block;
	padding: 8px 12px;
	margin: 0 5px;
	border: 1px solid #007bff;
	text-decoration: none;
	color: #007bff;
	border-radius: 3px;
}
.lotto-pagination a:hover {
	background: #007bff;
	color: white;
}
.lotto-pagination .current {
	background: #007bff;
	color: white;
}


.active-draw {
    display: grid;
    grid-template-columns: .5fr 1fr;
	align-items: center;
    box-shadow: 0 0 4px 0 #bcbcbc;
    margin-bottom: 20px;
	overflow: hidden;
    border-radius: 30px;
}
.active-draw.group-2 {
	 grid-template-columns: .5fr 1fr .6fr;
}
.active-draw.group-5 {
	grid-template-columns: .5fr 1.4fr 1fr;
}
.active-draw#pick3 {
	background: #50dc56;
}
.active-draw#lotto649 {
	background: #cddc39;
}
.active-draw#naijajackpot {
	background: #ffa500;
}
.active-draw .logo {
	padding: 20px;
	text-align: center;
}
.active-draw .logo h3 {
	margin-top: 10px;
	margin-bottom: 0;
	color: #000;
}
.active-draw .logo span {
	overflow: hidden;
	margin: 0 auto;
	display: flex;
    border: 2px solid #ededed;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
	background: #fff;
}
.active-draw .logo span img {
	max-width: 60%;
}
.active-draw .last-draw {
	font-weight: 600;
	display: block;
	text-align: center;
}
.active-draw .last-draw > span {
	display: block;
	margin-bottom: 20px;
}
.active-draw .last-draw .results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}
.active-draw .last-draw .results b {
	display: block;
	margin-bottom: 10px;
}
.active-draw  .prizes-row,
.lotto-history .prizes-row {
	display: grid;
    grid-template-columns: .2fr .3fr 1fr;
    text-align: left;
}
.active-draw .last-draw .prizes-row span,
.lotto-history .prizes-row span {
	font-weight: 300;
}
@media ( max-width: 768px ) {
	.active-draw .last-draw .prizes-row,
	.lotto-history .prizes-row {
		margin: 0 10px 20px 10px;
	}
	.lotto-history thead {
		display: none;
	}
	.lotto-history tbody tr td:nth-child(1),
	.lotto-history tbody tr td:nth-child(2) {
		position: absolute;
    	width: 50%;
	}
	.lotto-history tbody tr td:nth-child(2) {
		right: 0;
	}
	.lotto-history tbody tr td:nth-child(3) {
        margin-top: 52px;
        width: 100%;
        display: grid;
	}
}
.active-draw .num,
.lotto_num {
    border: 1px solid grey;
    border-radius: 50%;
    width: 40px;
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #fff;
}
.active-draw .gcl-group .num {
    width: 34px;
    font-size: 13px;
    height: 34px;
    margin-right: 5px;
    margin-bottom: 5px;
    line-height: 16px;
}
.active-draw .jackpot {
	margin-top: 12px;
    font-size: 18px;
    color: grey;
    text-transform: uppercase;
}
.active-draw.group-5 .next-draw {
	padding: 35px 0;
}
.active-draw .next-draw {
	height: 100%;
    display: flex;
    align-items: center;
	justify-content: center;
	background: #4CAF50;
	color: #fff;
}
.active-draw .next-draw > div {

}
.active-draw .next-draw b {
	display: block;
	text-align: center;
	margin-bottom: 20px;
	font-size: 20px;
}
.active-draw .next-draw span {
	display: block;
    text-align: center;
}

@media ( max-width: 768px ) {
	.gcl-group {
		display: block;
	}
	.lotto-history {
		display: table;
	}
	.active-draw .num, .lotto_num {
		width: 34px;
		height: 34px;
	}
	.active-draw {
		display: block;
	}
	.active-draw .next-draw {
		margin-top: 10px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.active-draw .next-draw b {
		margin-bottom: 10px;
	}
	.lotto-history tbody tr {
	}
}

.lotto-pagination {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.lotto-pagination a {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    min-width: 32px;
    text-align: center;
    cursor: pointer;
}

.lotto-pagination a:hover:not(.current) {
    background-color: #f5f5f5;
}

.lotto-pagination a.current {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.page-separator {
    padding: 0 8px;
    color: #666;
    font-size: 14px;
    user-select: none;
    display: inline-block;
}

/* Стилове за First/Last бутони */
.lotto-pagination a[data-page="First"],
.lotto-pagination a[data-page="Last"] {
    font-weight: bold;
    min-width: 50px;
}