﻿



.cardbox {
    margin: 2.5rem 0;
}

.tip_price strong{
    font-size: 1.2rem;
    color: var(--sub-color);
    font-weight: 600;
}
.tip_price span{
    font-weight: 600;
}
.tip_price>p{
    color: #a5a5a5;
    font-size: 0.93rem;
    margin-top: 0.5rem;
}



/* 월별 청구요금 선택 li */
.date_list li {
    width: auto;
    display: inline-block;
    height: 36px;
    line-height: 36px;
    margin-bottom: 10px;
    margin-right: 5px;
    font-size: 14px;
    background: #ffffff;
    text-align: center;
    cursor: pointer;
    padding: 0 0.87rem;
    border-radius: 50px;
    border: 1px solid #dfdfdf;
}
.date_list a{
    color: #737373;
}
.date_list li.active {
    background: var(--sub-color);
    color: #fff;
    border: 1px solid var(--sub-color);
}
.date_list li.active a {
    color: #fff;
}




/*납부방법 변경*/
.change {
    display: flex;
    justify-content: space-between;
}
.change > div:first-child {
    /*border-right: 1px dashed #c1c1c1;*/
}
.changebox {
    width: 48%;
    margin: auto;
    text-align: center;
    border-radius: 15px;
    padding: 1rem;
    background: #fafafa;
    box-shadow: var(--box-shadow);
}
.wrap .chgpw {
    width: 100%;
}
.wrap .chgpw:hover{
    background: var(--sub-color);
    color: #fff;
}


.changebox h3 {
    margin: 10px 0px;
    padding-bottom: 0;
    border-bottom: none;
    color: var(--sub-color);
}


/* 실시간 요금조회 */
.card_tit2 {
    border-bottom: 1px solid #D0D0D0;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.card_tit p {
    font-size: 0.87rem;
    color: #959595;
    margin-bottom: 8px;
    text-align: start;
}
.card_tit h3 {
    font-size: 18px;
    text-align: start;
}
.pri {
    color: var(--sub-color);
    font-weight: 600;
}
.bill_tit {
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #D0D0D0;
    margin-top: 20px;
}
.bill_tit h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--sub-color);
    margin-bottom: 0;
    border-bottom: none;
}
table {
    width: 100%;
}
table tr {
    height: 44px;
}
table tbody td {
    font-size: 0.93rem;
}
table td:first-child {
    width: 50%;
}
table td:last-child {
    text-align: end;
    width: 50%;
}
table tr td input {
    width: 137px;
    height: 72%;
    text-indent: 15px;
}
.bill_page {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 20px;
    color: #636363;
}
.bill_page table thead tr {
    border-bottom: 1px dashed #d1d1d1;
}

.wrap h4{
    font-weight: 600;
    color: #6B6B6B;
    margin: 1rem 0;
}


/*#reigon 최근 납부내역*/
.recent_bill .my_h3{
    margin-bottom: 0;
}

.recent_bill>div.flex{
    margin-bottom: .93rem;
}

.recent_bill select{
    width: 100%;
    height: 40px;
    background-position: 96% 48%;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .open_obj input[type="radio"] + span {
        line-height: 50px;
        height: 50px;
    }
}

.table{
    max-height: 350px;
    overflow-y: auto;
    border-radius: 15px;
    border: 1px solid #e5e5e5;
}

@media (max-width:400px){

    .table{
        overflow-x: auto;
    }

}

.table table{
     width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.table table td:first-child,
.table table td:last-child,
.table table td{
    width: unset;
    text-align: center;
}

.table table thead{
    position: sticky;
    top: 0;
    z-index: 2;
}

.table table thead tr{
    background: #f7f7f7;
}

.table table thead tr td:not(:last-child){
    border-right: 1px solid #e5e5e5;
}

.table table thead tr{
    font-size: 0.9rem;
    font-weight:600;
    color:#888;
}

.table table tbody tr{
    color: #333;
}

.table table tbody tr td{
    font-size: 0.87rem;
    padding: 0.8rem 1rem;
    word-break: keep-all;
    line-height: 130%;
}

.table thead td {
    height: 44px;
}

.table tbody td {
    height: 52px;
}

.table table tbody tr td:not(:last-child){
    border-right: 1px solid #e5e5e5;
}

@media (max-width:480px){

    .table table tbody tr td{
        padding: 0.5rem;
    }

}

@media (max-width:360px){

    .table table tbody tr td{
        padding: 0.5rem 0.8rem;
    }

}


/*미납내역*/
.bill_N {
    position: relative;
}

.bill_total {
    position: sticky;
    bottom: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: 40% 20% 20% 20%;
    align-items: stretch;
    border-top: 1px solid #E5E5E5;
    background: #F8F8F8;
}

.bill_total > div {
    min-height: 58px;
    padding: 0.7rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-right: 1px solid #E5E5E5;
    text-align: center;
}

.bill_total > div:last-child {
    border-right: 0;
}

.bill_total .totaltxt {
    color: #888;
}

.bill_total > div:not(.totaltxt) {
    flex-direction: column;
    gap: 0.25rem;
}

.bill_total strong {
    font-size: 0.9rem;
    color: #333;
}

.bill_total .total_unpaid {
    color: var(--main-color);
    font-weight: 700;
}

/* 480px 이하부터만 가로스크롤 적용 */
@media (max-width: 480px) {
    .bill_N {
        overflow-x: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .bill_N table,
    .bill_N .bill_total {
        min-width: 400px;
    }

    .bill_N table td,
    .bill_N .bill_total > div {
        white-space: nowrap;
    }
}
/*#endregion*/