/* _______________________________ АДАПТИВ под Mobile _______________________________*/
@media screen and (min-width: 320px) and (max-width: 600px) {
.payment-cab{grid-template-columns: 1fr !important;}
}

.billing-keys{word-break: break-all;}

.ui-form{
    display: grid;
    grid-template-columns: 25% 73%;
    gap: 2%;
}
.billing-transfer-form{
    margin-bottom: 50px;
}

.bill-reff_url{
    background: #ff5089;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 5px;
}


.blink {
    position: absolute;
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #7350ff;
    box-shadow: #7350ff 0px 5px 15px 0px;
    top: 10px;
    right: 10px;
}
.bill-user_link .billing-item-active .blink{background-color: #fff; box-shadow: #fff 0px 5px 15px 0px;}

.payment-cab{
    display: grid;
    grid-template-columns: 35% 63%;
    gap: 2%;
}

.bill-user {
    align-items: center;
    justify-content: space-between;
    background: var(--color1);
    color: #fff;
    padding: 20px;
    border-radius: var(--radius);
}
.bill-main-info{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    cursor: default;
}
.user-bill-info{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.billing-cash{
    font-size: 25px !important;
}
@media (max-width: 860px) {
    .bill-user > a {
        display: block;
        width: 100%;
        margin-top: 20px;
    }
}

.bill-user > .bill-main-info > .user-bill-info > img {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.bill-user_bal {
    justify-items: end;
    display: grid;
}

.bill-user_bal span:first-child {
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.bill-user_bal span:nth-child(2) {
    font-size: 14px;
    opacity: 0.8;
}

.bill-user > a {
    background: var(--light);
    color: #fff;
    padding: 20px 30px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    width: 100%;
    margin-top: 25px;
}

.bill-user > a:hover {
    background: var(--light2);
}

.bill-user_link {
    padding: 20px 0;
    color: var(--text2);
    font-weight: 500;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: -webkit-center;
}

.bill-user_link > a + a {
    /*margin-left: 20px;*/
    position: relative;
}

.bill-user_link .billing-item-active {
    color: var(--text);
    background: var(--color1);
    padding: 20px;
    border-radius: var(--radius);
}

.billing-item {
    background: var(--bg2);
    padding: 20px;
    border-radius: var(--radius);
}


.bill-content {
    /*margin-top: 30px;*/
}

.bill-content h3 + span {
    display: block;
    margin-top: -25px;
    margin-bottom: 30px;
    color: #f00;
}

/* BILL PAY */
.bill-pay > span {
    display: block;
    color: #bcb6df;
    margin-bottom: 15px;
}

.bill-pay_sum {
    display: flex;
    align-items: center;
    max-width: 600px;
}

.bill-pay_sum button {
    margin-left: 15px;
}

.bill-pay_wait {
    display: block;
    max-width: 600px;
    background: var(--bg2);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.bill-pay_wait li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.bill-pay_wait li:nth-child(1) span {
    color: #6cd560;
}

.bill-pay_wait li:nth-child(1) s {
    margin-left: 10px;
    font-size: 14px;
    opacity: 0.6;
}

.bill-pay_wait li span {
    margin-left: auto;
    font-size: 18px;
    font-weight: bold;
}

.bill-pay_tip {
    margin-bottom: 30px;
}

@media (max-width: 860px) {
    .bill-pay_tip {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bill-pay_tip label {
    position: relative;
    overflow: h;
}

.bill-pay_tip label input {
    visibility: hidden;
    position: absolute;
}

.bill-pay_tip label input + img {
    display: inline-block;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    border: 2px solid var(--bg2);
    width: 100%;
    height: 80px;
    object-fit: contain;
    cursor: pointer;
    opacity: 0.5;
}

.bill-pay_tip label input:checked + img {
    opacity: 1;
    border: 2px solid var(--color1);
}

/* BILL INV */
.bill-inv_head, .bill-inv ul li {
    display: grid;
    grid-gap: 20px 20px;
    grid-auto-rows: max-content;
    grid-template-columns: repeat(4, 1fr);
    font-size: 14px;
}

@media (max-width: 860px) {
    .bill-inv_head, .bill-inv ul li {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bill-inv_head {
    background: var(--bg2);
    color: #b0a9d7;
    padding: 8px 20px;
    border-radius: var(--radius) var(--radius) 0 0;
    font-weight: bold;
    margin-bottom: 0;
}

@media (max-width: 860px) {
    .bill-inv_head span:nth-child(3), .bill-inv_head span:nth-child(4) {
        display: none;
    }
}

.bill-inv ul {
    background: var(--bg2);
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 20px;
}

.bill-inv ul li {
    padding: 10px 20px;
    color: #000;
}

.bill-inv ul li:nth-child(2n+1) {
    background: var(--light);
    color: #fff;
}

.bill-inv ul li span {
    display: block;
    color: var(--text2);
}

.bill-inv ul li a[onclick], .bill-inv ul li button {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    text-decoration: underline dashed;
}

.bill-inv ul li button {
    color: #F44336;
}

/* BILL LOG */
.bill-log .bill-inv_head, .bill-log ul li {
    display: grid;
    grid-gap: 20px 20px;
    grid-auto-rows: max-content;
    grid-template-columns: 20% 56% auto;
    font-size: 14px;
}

@media (max-width: 860px) {
    .bill-log .bill-inv_head, .bill-log ul li {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bill-log ul {
    background: var(--bg2);
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 20px;
}

.bill-log ul li {
    padding: 10px 20px;
    color: #000;
}

.bill-log ul li:nth-child(2n+1) {
    background: #97a5c1;
    color: #fff;
}

.bill-log ul li span {
    display: block;
    color: #302a46;
}

/* BILL PROMO */
.bill-promo {
    align-items: center;
}

.bill-promo .e-float {
    margin-right: 15px;
    margin-bottom: 0;
}

/* BILL CAT */
.bill-cat li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 13px 0;
}

.bill-cat li select {
    min-width: 200px;
    min-height: 40px;
    padding: 0 20px!important;
}

.bill-cat span {
    font-size: 14px;
    font-weight: bold;
}

.bill-cat span#BillingCategoryBalancePay {
    color: #6cd560;
    font-size: 18px;
}

/* PAG */
.bill-pag > a {
    display: inline-block;
    border: 2px solid var(--bg2);
    border-radius: var(--radius);
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
}

.bill-pag > a:hover {
    border: 2px solid var(--color1);
}

/* PAY SUCCESS */
.bill-paystatus {
    position: relative;
    text-align: center;
}

@media screen and (min-width: 320px) and (max-width: 600px) {
	.bill-user_link {
	display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    }
    .billing-item {
    display: grid;
    justify-items: center;
    }
    
    .bill-user_link .billing-item-active {
    display: grid;
    justify-items: center;
    }
    
}