app-quick-bet {
    position: fixed;
    width: 100%;
    bottom: var(--c-bottom-navbar);
    right: 0px;
    display: flex;
    justify-content: flex-end;
    z-index: 15;
    flex-direction: column;
}

#root .quick-container {
    width: 100%;
    background-color: var(--o-primary-c);
    box-shadow: var(--x-surface-b);
    border-radius: var(--r-t);
    overflow: hidden;
}

app-quick-bet .title-container, app-quick-bet .place-bet-wrapper {
    display: flex;
}

#root app-quick-bet .title-container {
    padding: 10px 10px;
    background-color: var(--aw-primary);
    color: var(--c-s-white);
    height: unset;
    background-image: var(--g-1);
    box-shadow: var(--x-surface-c);
    align-items: center;
}

#root app-quick-bet .title-container .bet-odds-inline {
    font-weight: 600
}

#root app-quick-bet .title-container .match-competitor {
    font-weight: 600
}

#root app-quick-bet .title-container .match-versus {
    text-transform: lowercase;
}

#root app-quick-bet .betslip-title:empty {
    display: none;
}

#root app-quick-bet .betslip-title {
    justify-content: center;
    width: 100%;
}

.bet-group, .title-group, .system-details {
    width: fit-content;
    display: inline-block;
}

app-quick-bet .title-group {
    display: flex;
    align-items: center;
}

app-quick-bet .title-group.bet-container .bet-group-wrapper, app-quick-bet .title-group.bet-container .bet-group-wrapper * {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px
}

#root app-quick-bet .place-bet-wrapper label {
    padding: 3px;
    color: var(--c-f);
}

#root app-quick-bet .title-group.betslip-clear, #root .mobile button.clear-betslip-button {
    min-width: 28px;
    min-height: 28px;
    height: 28px;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0px;
    border-radius: var(--r-d2);
    order: 1;
    box-shadow: var(--x-outline);
    margin: 6px 0;
}

#root app-quick-bet .title-group.betslip-clear::before {
    content: " app-trash";
    font: var(--icon-font);
    color: var(--c-s-white);
    min-width: 24px;
}

#root app-quick-bet .place-bet-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    background-color: var(--aw-coupon-live);
    padding: 8px;
}

#root app-quick-bet .quick-container app-popular-bet {
    order: 3;
    border: unset;
    padding: unset;
}

#root .mobile .quick-container app-popular-bet button {
    /* border: unset; */
    /* background-color: var(--aw-button-primary); */
    /* background-image:  var(--g-1); */
    border-radius: var(--r-d2);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#root .quick-container .quick-bet-actions {
    order: 3;
    /* min-width: 50%; */
    flex:1;
    display:flex;
}

#root .quick-container .place-bet, #root .quick-container .book-bet {
    height: 46px;
    order: 3;
    flex: 1 1 0%;
    margin: 0;
}
#root .quick-container .place-bet {
    display:none;
}
#root app-quick-bet .winnings {
    display: flex;
    justify-content: center;
    width: 100%;
    flex: 0 0 10%;
    margin: 0 8px;
    border-radius: 2px;
}

#root .mobile app-quick-bet .winnings {
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    opacity: .75;
}

#root app-quick-bet .bet-stake-wrapper {
    flex: 1 1 0%;
    min-width: 110px;
    max-width:120px;
    order: -1;
    display: flex;
    flex-direction: column;
    background-color: var(--c-o2i);
    margin: 0;
    border-radius: 6px;
    justify-content: center;
    border: 1px solid var(--c-o1i);
}

#root app-num-pad {
    order: 4;
    width: 100%;
    display: inline-flex;
    background-color: var(--c-background);
    position: relative;
    padding-top: 6px;
    background-color: var(--o-primary-b);
}

#root app-betslip-systems-selection app-num-pad, #root .quick-container app-num-pad {
    background-color: unset;
}

#root .num-pad-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 6px;
    position: relative;
}

#root .betslip-events-wrapper .num-pad-container {
    padding: 0 8px;
    position: relative;
}

#root .num-pad-container .elements {
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    padding: 0;
    height: auto;
    text-align: center;
    width: 100%;
    gap: 6px;
    font-size: 13px;
}

#root .num-pad-container .element {
    min-width: 32px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-shade);
    border: unset;
}

#root .num-pad-container .element {
    background-color: var(--c-o1);
    border-radius: var(--r-d2);
    overflow: hidden;
    flex: 1;
    box-shadow: var(--x-surface-b);
}

#root .num-pad-container .presets .element {
    background-color: var(--c-o2);
}

#root .num-pad-container .elements .element:active {
    background-color: var(--c-o3)
}

#root .num-pad-container .elements.numbers .element {
    flex: 1 1 32%;
    height: 38px;
    border: unset;
}

#root app-num-pad .elements.other .element {
    flex: 1 1 32%;
    border: unset;
    width: 33.33332%;
}

#root app-num-pad .elements.other .button-enter {
    background-color: var(--o-green-b);
    color: var(--c-s-white);
}

#root app-num-pad .elements.other .button-point, #root app-num-pad .elements.other .button-backspase {
    background-color: var(--c-o);
}

#root app-num-pad .elements.control .element {
    flex: 1;
    border: unset;
    background-color: var(--c-o);
}

#root app-num-pad .elements.control .element.button-enter {
    background-color: var(--o-green-b);
    color: var(--c-s-white);
    background-image: var(--g-1);
}

#root .betslip-shortcut-container *:after, #root .betslip-shortcut-container {
    color: var(--c-s-white);
}

#root .betslip-shortcut-container {
    background-color: var(--aw-primary);
    background-image: var(--g-1);
    display: flex;
    height: 60px;
    justify-content: flex-end;
    align-items: center;
    padding: 0px 12px 0px 0px;
    width: 100%;
    bottom: calc(var(--c-bottom-navbar) - 10px);
    box-shadow: var(--x-surface-c);
    border-radius: var(--r-t);
}

#root app-quick-bet .betslip-title {
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

#root app-quick-bet .betslip-label {
    height: 24px;
    background-size: 100% 100%;
    background-position: center;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 1.1em;
    height: 56px;
    min-height: 100%;
    align-items: center;
    text-transform: uppercase;
    font-weight: 600;
}

#root app-quick-bet .betslip-label::before {
    content: " bet-betslip";
    font-family: BIF;
    font-size: 24px;
    margin-right: 4px;
    text-transform: none;
    width: 24px;
    font-weight: normal;
}

#root app-quick-bet .betslip-arrow {
    margin-left: 5px;
    order: 3;
    display: none;
}

#root app-quick-bet .betslip-counter {
    order: -1;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    min-width: 24px;
    height: 26px;
    min-width: 26px;
    top: 0px;
    background-color: var(--c-o1i);
    box-shadow: var(--x-surface-i);
    font-weight: bold;
    align-items: center;
    padding-bottom: 2px;
    border-radius: 4px;
    margin-left: 16px;
}

#root app-quick-bet .betslip-odds {
    margin-right: 5px;
    font-weight: 600;
    position: absolute;
    right: 50px;
}

#root app-quick-bet .confirm-details-wrapper {
    display: flex;
    padding: 4px 10px;
    align-items: center;
    border-radius: 2px;
    padding: 8px;
    background-color: var(--c-o3i);
}

#root app-quick-bet .confirm-details-wrapper .value-block-wrapper, #root app-quick-bet .confirm-details-wrapper .block-value {
    display: flex;
    flex-direction: column;
}

#root app-quick-bet .confirm-details-wrapper .value-block-wrapper {
    padding: 2px 4px;
}

#root app-quick-bet .confirm-details-wrapper .value-block-wrapper .block-label {
    color: var(--c-f-s);
}

#root app-quick-bet .confirm-details-wrapper .value-block {
    margin: 0 8px;
    line-height: 17px;
}

#root app-quick-bet .confirm-details-wrapper .value-block.bet-winnings .block-label {
    text-align: right
}

#root app-quick-bet .confirm-details-wrapper .value-block:not(.bet-type) .block-value {
    align-items: flex-end;
}

#root app-quick-bet .confirm-details-wrapper .bet-stake {
    margin: unset;
}

#root app-quick-bet .confirm-details-wrapper .value-block.bet-type {
    flex: 1 1 25%;
}

#root app-quick-bet .confirm-details-wrapper .value-block.bet-type .block-value {
    align-items: flex-start;
}

#root app-quick-bet .confirm-bet-wrapper {
    display: flex;
    padding: 8px;
    justify-content: space-evenly;
    background-color: var(--o-primary);
    box-shadow: var(--x-surface-i);
    gap: 8px;
}

#root .confirm-bet-wrapper .cancel-bet, #root .confirm-bet-wrapper .confirm-form-group {
    /* width: calc(50% - 15px); */
    margin: 0;
    border-radius: 4px;
    flex: 1;
    display:  inline-flex;
    align-items: center;
    justify-content: center;
}

#root .confirm-bet-wrapper .cancel-bet, #root .confirm-bet-wrapper .confirm-bet {
    height: var(--s-button-h);
    -webkit-appearance: none;
    border: none;
    color: var(--c-f);
    /* font-size: 1rem; */
    /* font-weight: normal; */
    letter-spacing: 0.5px;
    margin: 0;
    position: relative;
    padding-block: 0;
    padding-inline: 8px;
    flex: 1 1 0%;
}

#root .confirm-bet-wrapper .cancel-bet {
    background-color: var(--aw-button-secondary);
    box-shadow: var(--x-surface-b);
    border: var(--aw-button-secondary-border);
    color: var(--aw-label-button-secondary);
    font-weight:  var(--aw-font-weight-button-secondary);
    /* flex: 1; */
}

#root .confirm-bet-wrapper .confirm-bet {
    width: 100%;
    background-color: var(--aw-button-primary);
    color: var(--aw-label-button-primary);
    font-weight: var(--aw-font-weight-button-primary);
    box-shadow: var(--x-surface-c);
    border-radius: 4px;
}
#root .confirm-bet-wrapper .confirm-bet:has(.fa-spinner){
    color: transparent;
}

#root .confirm-bet-wrapper .confirm-bet-disabled {
    background-image: var( --o-large-disabled-primary-button-background);
    box-shadow: var(--x-surface-i);
}

app-betslip-footer .betslip-totals {
    padding-bottom: 10px;
    padding-top: 12px;
    /* padding: 0 0 24px; */
    position: relative;
}

.quickbet-container app-betslip-authorisations {
    background-color: var(--o-primary);
    box-shadow: var(--x-surface-b);
    border-radius: var(--r-t-x2);
}

.quickbet-container .auth-response-container {
    padding: 10px;
    padding-bottom: 15px;
}

/* FreeBet Button */
#root .quick-container .place-free-bet.place-bet {
    width: 40px;
    flex: 0 0 50px;
    order: 3;
    margin-bottom: unset;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    font-size: 0.95em;
    line-height: 0.9em;
}

/* Border Radius of PlaceBet Button */
#root .quick-container .place-bet-wrapper.has-popular-bet .place-bet:not(.place-free-bet),
#root .quick-container .place-bet-wrapper.has-popular-bet .book-bet{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#root .quick-container .place-bet-wrapper.has-free-bet .place-bet:not(.place-free-bet) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#root .quick-container .place-bet-wrapper.has-free-bet.has-popular-bet .place-bet:not(.place-free-bet) {
    border-radius: 0;
}

@media screen and (max-width: 450px) {
    #root .quick-container .place-bet, #root .quick-container .quick-bet-actions {
        width:calc(100% - 50px );
        flex:unset;
    }
    #root app-quick-bet .winnings {
        flex:unset;
        width:calc(100% - 136px);
    }
    
    #root app-quick-bet .bet-stake-wrapper {
       flex:unset;
       width:50%;
       margin-bottom:8px;
    }
}

/*****/
