input[name="kcb-users-page-main-radios"] {
    display: none;
}

/* input[name="kcb-users-page-main-radios"]:not(*:checked)+div {
    display: none!important;
} */

#kcb-users-page-buy-voucher-radio:not(*:checked) 
    ~ #kcb-users-page-contents #kcb-users-page-buy-voucher,
#kcb-users-page-pools-radio:not(*:checked) 
    ~ #kcb-users-page-contents #kcb-users-page-pools,
#kcb-users-page-expenses-radio:not(*:checked) 
    ~ #kcb-users-page-contents #kcb-users-page-expenses,
#kcb-users-page-vip-radio:not(*:checked) 
    ~ #kcb-users-page-contents #kcb-users-page-vip{
    display: none;
}

#kcb-users-page-buy-voucher-radio:checked
    ~ #kcb-user-page-controls #kcb-controls-buy-voucher,
#kcb-users-page-pools-radio:checked 
    ~ #kcb-user-page-controls #kcb-controls-pools,
#kcb-users-page-expenses-radio:checked 
    ~ #kcb-user-page-controls #kcb-controls-expenses,
#kcb-users-page-vip-radio:checked 
    ~ #kcb-user-page-controls #kcb-controls-vip{
    cursor: pointer;
    background-color: #287f6e;
    color: #fff;
}

#kcb-users-page-expenses-radio:checked 
    ~ #kcb-user-page-controls #kcb-controls-expenses{
        border-radius: 30px;
}

#kcb-users-page-contents ul,
#kcb-users-page-contents li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#kcb-users-page-contents * {
    --new-primary: #287f6e;
    --primary: #287f6e!important;
}

#kcb-users-page-contents a {
    color: var(--new-primary);
}

#kcb-users-page-contents button {
    background-color: var(--new-primary);
    border: none;
}

#kcb-users-page-contents button {
    padding: 2px 4px;
}

#kcb-user-page-logs>div {
    border: 1px solid rgba(var(--kcb-notice-color), 1);
    background-color: rgba(var(--kcb-notice-color), 0.15) ;
    color: #000;
    margin: 15px;
    padding: 5px 15px;
    border-radius: 5px;
}

#kcb-user-page-logs>div.t2 {
    --kcb-notice-color: 0, 100, 0;
}

#kcb-user-page-logs>div.t1 {
    --kcb-notice-color: 255, 140, 0;
}

#kcb-user-page-logs>div.t0 {
    --kcb-notice-color: 139, 0, 0;
}

/*controls*/
#kcb-user-page-controls {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #287f6e;
}

#kcb-user-page-controls * {
    font-size: 1.2rem;
}

#kcb-user-page-controls>div {
    display: flex;
}

#kcb-user-page-controls>div.buttons>*

/*:not(*:first-child)*/
    {
    border: 2px solid #287f6e;
    padding: 5px;
    margin: 5px;
    border-radius: 30px;
}

#kcb-user-page-controls div.info>* {
    margin: 0;
    padding: 5px;
}

#kcb-user-page-controls div.info {
    align-items: left;
    text-align: left;
}

#kcb-user-page-controls div.info>*:last-child {
    margin-left: 15px;
}


#kcb-user-page-controls>div.buttons {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#kcb-user-page-controls>div.buttons>* {
    flex: 1 0 80px;
    max-width: 200px;
    text-align: center;
    color: #000;
    background-color: whitesmoke;
}

#kcb-user-page-controls>div.buttons>*:hover{
    cursor: pointer;
    background-color: #287f6e;
    color: #fff;
}

#kcb-user-page-controls label {
    cursor: pointer;
    color: #287f6e;
}

/*coupon*/

.vouchers {
    flex: 1 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.voucher {
    display: flex;
    flex: 0 1 30%;
    min-width: 240px;
    margin: 15px !important;
}

.voucher-con {
    position: relative;
    background-color: white;
    flex: 1 0 0;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 5px darkgrey;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.voucher-left {
    position: relative;
    background-color: var(--new-primary);
    flex: 0 0 45px;
    color: whitesmoke;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    border-radius: 10px;
    box-sizing: border-box;
    border: none;
    box-shadow: 0 0 5px darkgrey;
    border-right: 2px dotted white !important;
}

.voucher-circ {
    position: relative;
    width: 0px;
}

.voucher-circ>div.circ {
    position: absolute;
    width: 20px;
    height: 20px;
    left: -10px;
    background-color: white;
    z-index: 100;
    border-radius: 50%;
    box-shadow: inset 0 0 5px darkgrey;
}

.voucher-circ>div.circ.t {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    top: -10px;
}

.voucher-circ>div.circ.b {
    top: calc(100% - 10px);
}

.voucher-circ div.cover {
    position: absolute;
    width: 20px;
    height: 10px;
    left: -10px;
    z-index: 101;
    background-color: white;
}

.voucher-circ div.cover.t {
    top: -10px;
}

.voucher-circ div.cover.b {
    top: 100%;
}

.voucher a,
.vip a {
    color: rgb(160, 160, 160) !important;
    font-weight: normal !important;
}

/*vip*/

.vip-con {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vip {
    display: flex;
    min-width: 270px;
    width: 35%;
    word-wrap: nowrap;
    overflow: visible;
}

.vip .bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
}

.vip .bars .circ {
    background-color: white;
    color: #287f6e;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    color: #287f6e;
    box-shadow: 0 0 5px 2px darkgray;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.vip .bars .circ.on {
    background-color: #287f6e;
    color: white;
}

.vip .bars .bar {
    flex: 1 0 0;
    width: 10px;
}

.vip .bars .bar:not(*.none) {
    box-shadow: 0 0 5px darkgray;
}

.vip .bars .bar.on {
    background-color: #287f6e;
}

.vip .bars .bar.off{
    display: flex;
    flex-direction: column-reverse;
}

.vip .bars .bar.off div{
    width: 100%;
    background-color: #287f6e;
}

.vip .con {
    margin: 10px;
    padding-right: 10px;
    border-right: 3px solid #287f6e;
}

/*wheel*/
#kcb-users-page-pools{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

#reward_info{
    padding: 10px;
    list-style-type: disc;
}

#wheelOfFortune {
    display: inline-block;
    position: relative;
    overflow: visible;
    margin: auto 0;
}

#wheel {
    display: block;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: -4px 0 10px lightgray;
}

#spin {
    /* font: 1.5em/0 sans-serif; */
    user-select: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    --wheel-ratio: 20;
    width: calc(var(--wheel-ratio) * 1%);
    height: calc(var(--wheel-ratio) * 1%);
    margin: calc(var(--wheel-ratio) * -0.5%);
    background: #fff;
    color: #000;
    box-shadow: 0 0 0 5px #fff, 0 0px 15px 5px rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: 0.8s;
}

#spin::after {
    content: '';
    position: absolute;
    top: -13px;
    border: 10px solid transparent;
    border-bottom-color: #fff;
    border-top: none;
}
/* history */
#kcb-users-page-expenses .voucher-left{
    cursor:default;
    padding: 0;
    max-width: 50px;
    flex: 0 0 30px!important;
    min-height: 150px;
}

#kcb-users-page-expenses .voucher-left span{
    transform: rotate(90deg);
    margin: -5px;
}