.list {font-size: .875em}
.list.sum {border-top: 1px solid #1d3465; background: var(--bg-light)}
.list.sum ul {display: flex; align-items: center; height: 30px; padding: 0 20%; border-bottom: 1px solid var(--bd-basic)}
.list.sum ul li {height: 30px;}
.list.sum ul li.company {width: 30%;}
.list.sum ul li.item {width: 20%; padding-left: 10px; border-left: 1px solid #ccc}
.list.sum ul li.case {width: 20%; padding-right: 10px; border-left: 1px solid #ccc}
.list.sum ul li.amount {width: 30%; border-left: 1px solid #ccc}
.list.sum ul li.col2 {width: 50%;}
.list.sum .total {font-weight: bold}

.list .dh {background: var(--bd-basic)}
.list dl dt {line-height: 1.1; display: flex; align-items: center; padding: 2px 5px 3px}
.list dl dd {line-height: 1.1; display: flex; align-items: center; padding: 2px 5px 3px}

.list.row dl {display: grid; grid-template-columns: 10% 20% auto 15% 10% 5%; grid-template-rows: repeat(2, minmax(25px, auto)); gap:1px}
.list.row dl.dd {border-bottom: 1px solid var(--bd-basic); font-size: 14px}
.list.row dd span {color: #004275;}
.list.row dl .state   {grid-column: 1 / 2; grid-row: 1 / 3; width: auto; height: auto}
.list.row dl .fdr     {grid-column: 2 / 3; grid-row: 2 / 3; width: auto; height: auto;}
.list.row dl .name    {grid-column: 2 / 3; grid-row: 1 / 2; width: auto; height: auto}
.list.row dl .s-adr   {grid-column: 3 / 4; grid-row: 1 / 2; width: auto; height: auto;}
.list.row dl .e-adr   {grid-column: 3 / 4; grid-row: 2 / 3; width: auto; height: auto;}
.list.row dl .fee     {grid-column: 5 / 6; grid-row: 1 / 2; width: auto; height: auto}
.list.row dl .car     {grid-column: 4 / 5; grid-row: 1 / 2; width: auto; height: auto}
.list.row dl .rider   {grid-column: 4 / 5; grid-row: 2 / 3; width: auto; height: auto}
.list.row dl .pointCel{grid-column: 5 / 6; grid-row: 2 / 3; width: auto; height: auto}
.list.row dl .more    {grid-column: 6 / 7; grid-row: 1 / 3; width: auto; height: auto}
.list.row dl dd.fdr {flex-direction: column; align-items: flex-start; justify-content: center}
.list .more {justify-content: center}
.list .more button {width: 30px; height: 30px; border: none; border-radius: 5px; background: url("../images/ico.png") #f3f5f7 -90px 0 / auto 90px}

.search {width: 720px; height: 50px; margin: 0 auto; background: #f3f4f7}
.search dl {display: flex; height: inherit; justify-content: space-between; align-items: center}
.search dt {width: 22%; display: flex; column-gap: 10px; align-items: center; justify-content: center; border-right: 1px solid #cdcdd0}
.search dd {width: 78%; display: none; column-gap: 10px; align-items: center; justify-content: center}
.search dd.show {display: flex}
.search #name input {width: calc(100% - 80px); border-color: var(bd-light)}
.search button.basic {width: 60px}
.selectBtn label {width: 60px; background: #fff}
.conTop {position: relative; margin-bottom: 30px}    
.excel {position: absolute; top: 10px; right: 0}
.excel button {position: relative; height: 30px; border-radius: 5px; border: none; padding: 0 10px 0 30px; color: #fff; background: var(--green)}
.excel button::before {content: ''; position: absolute; top: 5px; left: 5px; width: 20px; height: 20px; background: url('../images/ico.png') -80px 0 / auto 60px; opacity: .75}
.point {position: absolute; top: 0px; left: 0}
.point p:last-child {font-size: .875em;}

.detailPop {position: fixed; top: calc(50% - 250px); left: calc(50% - 300px); width: 600px; border: 1px solid var(--bd-neutral); background: #fff; box-shadow: 3px 3px 5px #00000010; z-index: 200; display: none}
.detailPop ul {display: flex; align-items: center; justify-content: space-between; padding: 0 10px; height: 40px; border-bottom: 1px solid var(--bd-neutral)}
.detailPop ul li {display: flex; align-items: center; column-gap: 10px}
.detailPop dl {position: relative; display: flex; flex-wrap: wrap; gap: 5px; padding: 5px 10px}
.detailPop dl::after {content: ''; position: absolute; bottom: 0px; width: calc(100% - 20px); height: 1px; background: var(--bd-basic)}
.detailPop dl:last-child::after {background: none}
.detailPop dt {font-size: .75em; text-align: center; background: var(--bg-label)}
.detailPop dd {font-size: .875em; padding-left: 10px}
.detailPop dt:nth-child(1n) {width: calc(15% - 5px)}
.detailPop dd:nth-child(2n) {width: 45%}
.detailPop dt:nth-child(3n) {width: calc(15% - 5px)}
.detailPop dd:nth-child(4n) {width: calc(25% - 5px)}

#period p {display: flex; column-gap: 5px}
#period input[type='date'] {max-width: 120px}

.account {text-align: center; font-size: .875em; margin-bottom: 10px;}

.state {justify-content: center}
.state label {display: inline-block; text-align: center; width: 64px; font-size: 14px; line-height: 24px; border-radius: 5px}
.state .ing {color: #fff; background: var(--blue)}
.state .end {color: #333; background: var(--bg-light)}
.state .res {color: #fff; background: var(--green)}

.noMember .point {display: none;}
.cMember .point {display: none;}
.cMember .list.row dl .pointCel {display: none;}
.cMember .list.row dl .fee {grid-row: 1 / 3;}


/*배송상태는 (배차중 : 기사 섭외중, 배차 : 기사 배차된 경우, 배송중, 배송완료, 예약)*/
@media only screen and (max-width:568px){
    .container {padding: 0 5px; }
    .search {width: 100%; height: auto}
    .search dl {flex-direction: column}
    .search dt {width: 100%; border-right:none}
    .search dd {width: 100%; column-gap: 4px}
    .list dl dt {line-height: 1.125em; font-size: 12px;}
    .list dl dt span {display: none}
    .list dl dd {min-height: 20px; border-bottom: none}
    .state {line-height: 1.2px; }
    .state label {font-size: 12px; width: auto; padding: 2px}
    
    .list.row dl {display: grid; grid-template-columns: 15% auto 20% 10%; grid-template-rows: 20px 20px}
    .list.row dl.dd {grid-template-rows: auto; border-bottom: 1px solid var(--bd-basic); font-size: 12px}
    .list.row dl dd {padding: 0;}

    .list.row dl .state {grid-column: 1 / 2; grid-row: 1 / 2;}
    .list.row dl .name  {grid-column: 1 / 2; grid-row: 2 / 3; display: inline; text-align: center}
    .list.row dl .s-adr {grid-column: 2 / 3; grid-row: 1 / 2; display: inline;}
    .list.row dl .e-adr {grid-column: 2 / 3; grid-row: 2 / 3; display: inline;}
    .list.row dl .fdr   {grid-column: 3 / 4; grid-row: 1 / 2; display: inline;}
    .list.row dl .rider {grid-column: 3 / 4; grid-row: 2 / 3; display: inline;}
    .list.row dl .more  {grid-column: 4 / 5; grid-row: 1 / 3;}
    .list.row dl .car {display: none}
    .list.row dl .fee {display: none}
    .list.row dl .pointCel {display: none}
    
    .list.sum ul {padding: 0 10%;}
    .list dl dd:nth-child(8) span {display: block}
    .cMember .list.row dl dt:nth-child(4), .cMember .list.row dl dd:nth-child(4) {width:auto}
    .cMember .list.row dl dt:nth-child(5), .cMember .list.row dl dd:nth-child(5) {width:auto}
    .cMember .list.row dl dt:nth-child(8), .cMember .list.row dl dd:nth-child(8) {width:auto}

    .detailPop {position: fixed; top: 0; left: 0; width: 100%; height: 100vh; transform:none}
    .excel {top: -70px; right: 5px; z-index: .8;}
    .point {top: -80px; left: 3px}
    #period {flex-direction: column}
    .list.sum {position: sticky; bottom: 0}

    .account {text-align: left; padding-left: 5px;}
}

.guest {position: static}
.guest::after {display: none}
.guestBox {box-shadow: none; z-index: 10}

@media only screen and (max-width:568px){
    .account label {display: none;}
    .list.sum ul {padding: 0 5%;}
}
