﻿#lotto-banner {
    width: 100%;
    margin-top: 3rem;
    margin-bottom: -5rem
}


.lotto-selection-btn {
    width: 100%;
    height: auto;
    padding: 10px;
    max-width: 250px;
    display: block;
    margin: 0 auto;
}

#ticketTabsContent .tab-pane img {
    border-radius: 10px !important;
}

.advanced-play-wrapper {
    position: relative;
    width: 237px;
    height: 45px;
    border-radius: 25px;
    border: 1px solid rgba(5, 70, 126, 0.16);
    background: #FFF;
    box-shadow: 0 1px 1px rgba(5, 58, 105, 0.12), 0 4px 4px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
}

.results-menu-icon{
    width:20px;
}
/*.multi-select-container {
    float: right;
    width: 250px;
}*/
.ticket-game-name {
    font-weight: 900 !important;
}

.checkout-container {
    width: 100%;
    max-width: 100%;
    max-height: 60vh;
    overflow-x: hidden;
}

#checkout-grid {
    margin-top: 15px;
    max-height: 645px;
    overflow-y: auto;
    padding-right: 6px; /* Optional: avoids content cutoff due to scrollbar */
}

.checkout-header {
    position: sticky;
    top: 0;
    background: #fff; /* Ensure it's not transparent */
    z-index: 1;
    border-bottom: 1px solid #ddd;
}

.card.selected {
    backdrop-filter: blur(2px);
    color: #FFF;
    border-radius: 25px;
    border: 1px #63ADF4 solid;
    background: linear-gradient(0deg, #5FA8D3 0%, #2E6FA3 100%);
    box-shadow: 0px 4px 8.399999618530273px rgba(0, 0, 0, 0.37);
}


.ticket-card {
    border-radius: 25px;
}

    .ticket-card.selected {
        border: 2px solid #007bff;
        background-color: #e6f0ff;
    }

.lotto-ticket-component {
    height: 800px; /* fixed height for the whole component */
}

#lottoticket-items {
    max-height: 100%; /* fill available height */
    overflow-y: auto; /* scroll if content exceeds */
    padding-right: 8px; /* avoid scrollbar overlap */
    border: 1px solid rgba(4, 58, 106, 0.14);
    background: linear-gradient(0deg, rgba(240, 242, 248, 0.00) 0%, rgba(12, 66, 121, 0.08) 100%);
    height: 800px;
}

.left-ticket-list {
    height: 794px;
    overflow: auto;
}

.lotto-panel {
    height: 794px; /* lock both sides to same height */
    border: 1px solid rgba(4, 58, 106, 0.14);
    background: linear-gradient(0deg, rgba(240, 242, 248, 0.00) 0%, rgba(12, 66, 121, 0.08) 100%);
    overflow-y: auto;
}

.checkout-container.special-checkout {
    width: 100%;
    max-width: 100%;
    max-height: 60vh;
    overflow-x: hidden;
}


/* Ensure scrolling inside */
#lottoticket-items, #lotto-ticket-details-item {
    max-height: 100%;
    /*overflow-y: auto;*/ /* scroll if content exceeds */
    /*padding-right: 8px;*/ /* avoid scrollbar overlap */
    /*height: 800px;*/
}

#lotto-ticket-details-item {
    width: 100%;
}

.checkout-game-name-row {
    width: 30%;
}

.checkout-game-number-row {
    width: 30%;
}

.checkout-bet-date-row {
}

.checkout-bet-amount {
}

.spinner-text {
    font-size: 9rem;
    font-weight: bold;
    font-family: 'RaceCar', sans-serif;
    color: #AA170F;
    transition: transform 0.1s ease-in-out;
    position: absolute;
    top: 51%; /* vertical center */
    left: 69%; /* horizontal center */
    transform: translate(-50%, -50%);
}

.spin-effect {
    transform: translate(-50%, -50%) scale(1.1);
}

.k-button-flat-primary {
    color: white;
}

.k-button-text {
    color: black;
}

.k-pager-numbers {
    background: white;
}

#check-banner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

@media (max-width:900px) {
    .spinner-text {
        font-size: 6rem;
        font-weight: bold;
        font-family: 'RaceCar', sans-serif;
        color: #AA170F;
        transition: transform 0.1s ease-in-out;
        position: absolute;
        top: 51%; /* vertical center */
        left: 69%; /* horizontal center */
        transform: translate(-50%, -50%);
    }

    .spin-effect {
        transform: translate(-50%, -50%) scale(1.1);
    }



    #check-banner {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    #lottoticket-items, #lotto-ticket-details-item {
        display:none;
    }
}

#mobileCheckoutToggle {
    background: linear-gradient(0deg, #5FA8D3 0%, #2E6FA3 100%);
    color:white;
    width:100%;
}

#replay-ticket {
    display: flex;
    align-items: center;
    justify-content: center;
    width:110px;
    border-radius: 25px;
    color: white;
    border: 1px solid #63ADF4;
    background: linear-gradient(19deg, #09539A 14.58%, #00365E 113.42%);
    box-shadow: 0px 0px 0px 1px rgba(8, 49, 89, 0.78), 0px 4px 8.4px 0px rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(2px);
    height: 32px;
}



.replay-ticket:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 32px;
    border-radius: 25px;
    color: white;
    border: 1px solid white;
    background: linear-gradient(90deg, #032A44 -0.17%, #005CB9 99.83% );
    box-shadow: 0px 4px 8.4px rgba(0, 0, 0, 0.17);
    backdrop-filter: blur(2px);
}


@media (max-width: 576px) {
    .checkout-purchase-btn {
        margin-bottom: 10px;
    }

    .dropdown-wrapper {
        /* flex-basis: 100%;
        margin-top: 0.5rem;
        z-index: 10;
        font-size: 1.4rem;
        padding: 1rem;
        position: relative;
        z-index: 899;*/
        margin-top:-20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* aligns label and dropdown to the left */
        width: 100%;
        position: relative;
        z-index: 899;
    }

    #advanced-play-multi-select {
        width: 100%;
    }

    .multi-select-container {
        /*float: left;*/
        width: 100%;
        float: none;
    }

    .spinner-text {
        font-size: 2rem;
        font-weight: bold;
        font-family: 'RaceCar', sans-serif;
        color: #AA170F;
        transition: transform 0.1s ease-in-out;
        position: absolute;
        top: 51%; /* vertical center */
        left: 69%; /* horizontal center */
        transform: translate(-50%, -50%);
    }

    .spin-effect {
        transform: translate(-50%, -50%) scale(1.1);
    }



    #check-banner {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

.lotto-house-card-header {
    background: linear-gradient(0deg, #5FA8D3 0%, #2E6FA3 100%);
    border-top-left-radius: 25px !important;
    border-top-right-radius: 25px !important;
    color: white;
}

.card {
    /* border-top-left-radius: 25px !important;
    border-top-right-radius: 25px !important;*/
    margin-bottom:1rem !important;
    border-radius: 25px !important;
    box-shadow: 0px 4px 8.399999618530273px rgba(0, 0, 0, 0.37) !important;
}

.house-selection-wrapper > div {
    flex: 0 0 auto;
    align-self: flex-start;
}

.house-selection-wrapper {
    max-height: calc(75vh - 120px);
    overflow-y: auto;
}