#live-draw-wrapper {
	max-width: 800px;
    margin: auto;
}

.site-logo {
	    max-width: 150px;
    margin: auto;
    margin-bottom: 25px
}

select#competition-select {
    outline: solid 3px rgb(255 255 255 / 17%);
	margin-top: 35px;
}

.spinner-wrapper {
	border-radius: 6px;
	padding: 50px;
	margin: 25px 0;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px 1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px !important;
	outline: solid 3px rgb(255 255 255 / 17%);
	min-height: 680px;
}

#initial-message h3 {    
	text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
}

#competition-details {
	display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
	align-items: center;
}

.productimage img {
	border-radius: 20px !important;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px 1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px !important;
}

.productdetails p {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 400;
}

#number-checker {
    margin-top: 25px;
}
#number-checker-wrapper {
    display: grid;
    grid-template-columns: 6fr 1fr;
    gap: 15px;
	position: relative;
}

#number-checker h5 {
	font-size: 14px;
    margin-bottom: 8px !important;
	text-align: left;
}
	
#check-number-btn {
    font-weight: 600;
    border: none;
}

#check-number-btn:hover {
    font-weight: 600;
    border: none;
}

.try-again-box-wrapper {
    display: grid;
    grid-template-columns: 6fr 1fr;
    gap: 15px;
	max-width: 400px;
    margin: auto;
	position: relative;
}

#try-again-btn {
    font-weight: 600;
    border: none;
}

#try-again-btn:hover {
    font-weight: 600;
    border: none;
}

.tickets-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ticket {
    margin: 5px 0;
	position: relative;
}

.highlight-winner {
    font-weight: bold;
    color: red;
}

.ticket.not-sold .ticket-icon {
	position: absolute;
    width: 40px;
    height: 100%;
    top: 0px;
    left: 0;
    border-right: solid 1px #dbdbdb;
}

.ticket.not-sold .ticket-icon:before {
    content: url(/wp-content/plugins/think-digital-winner-select/uploads/ticket-n.svg);
    width: 16px;
    position: absolute;
    left: 12px;
    top: 12px;
    display: block;
}

.ticket.highlight-winner .ticket-icon {
	position: absolute;
    width: 40px;
    height: 100%;
    top: 0px;
    left: 0;
    border-right: solid 1px #46af54;
}

.ticket.highlight-winner .ticket-icon:before {
    content: url(/wp-content/plugins/think-digital-winner-select/uploads/crown.svg);
    width: 16px;
    position: absolute;
    left: 12px;
    top: 11px;
    display: block;
}


.ticket.highlight-winner.not-sold .ticket-icon {
	position: absolute;
    width: 40px;
    height: 100%;
    top: 0px;
    left: 0;
    border-right: solid 1px #dbdbdb;
}

.ticket.highlight-entered.not-sold .ticket-icon:before {
    content: url(/wp-content/plugins/think-digital-winner-select/uploads/ticket-black-n.svg);
    width: 16px;
    position: absolute;
    left: 12px;
    top: 11px;
    display: block;
}

.tickets-wrapper {
    max-height: 228px; /* Adjust as needed */
    overflow: hidden;
    margin-top: 15px;
	width: 100%;
}

.tickets-container {
    max-height: 100%; /* Full height of the wrapper */
    /* overflow-y: scroll; */
	overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
	transition: transform 0.8s cubic-bezier(0.25, 1.5, 0.5, 1); /* Elastic easing */
}


.ticket {
    padding: 10px;
    margin: 2px 0;
    width: 100%;
    text-align: center;
    border: solid 1px #cbcbcb;
    background: #eeeeee;
    border-radius: 6px;
    color: #a9a9a9;
}

.ticket p {
    margin-bottom:0 !important
}

.highlight-winner {
    background-color: #aced9a;
    font-weight: bold;
    color: #137420;
    border: solid 1px #5ebd44;
}

.highlight-entered.not-sold {
	    background-color: #ffdede;
    font-weight: bold;
    color: #000000;
    border: solid 1px #831414;
}

.try-again-box {
    margin-top: 20px;
    padding: 10px;
	width: 100%;
}

.try-again-box p {
    margin-bottom: 10px;
}

.try-again-box input {
    width: 100px;
    margin-right: 10px;
}


.reset-box {
    margin-top: 20px;
    text-align: center;
}

.reset-box button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.reset-box button:hover {
    background-color: #0056b3;
}

.centered-content {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    margin: 0 auto;
}

.digit {
    display: inline-flex;
    justify-content: center; 
    align-items: center; 
    font-size: 2rem; 
    font-weight: bold; 
    margin: 5px; 
    border-radius: 50%; 
    width: 70px; 
    height: 70px; 
}

.no-winner-message {
font-size: 1.5rem;
    color: #bb2b2b;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.winner-message {
    font-size: 1.5rem;
    color: #2bbb45;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

#number-checker-wrapper:before {
	content: url(/wp-content/plugins/think-digital-winner-select/uploads/ticket-n.svg);
    width: 16px;
    position: absolute;
    left: 12px;
    top: 11px;
    display: block;
}

.try-again-box-wrapper:before {
	content: url(/wp-content/plugins/think-digital-winner-select/uploads/ticket-n.svg);
    width: 16px;
    position: absolute;
    left: 12px;
    top: 11px;
    display: block;
}

input#ticket-number, input#new-ticket-number {
	padding: .5rem 1rem .5rem 2.5rem;
}