/* header {
    display: none;
} */

.dashboard-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    width: 100%;
    height: 54px;
    padding: 0 26px;
    background-color: #ffffff;
    border-bottom: 1px solid #EEEEEE;
}

.dashboard-header .logo {
    display: block;
    overflow: hidden;
    text-indent: -1000px;
    background-image: url(../images/logo@x1.png);
    background-image: -webkit-image-set(url(../images/logo@1x.png) 1x, url(../images/logo@2x.png) 2x);
    background-image: image-set(url(../images/logo@1x.png) 1x, url(../images/logo@2x.png) 2x);
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    width: 148px;
    height: 24px;
}

.dashboard-header .tabs-wrapper {
    display: flex;
    gap: 46px;
    align-items: center;
    margin-left: 54px;
}

.dashboard-header .tab-btn {
    display: flex;
    align-items: center;
    height: 26px;
    border-radius: 7px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

.dashboard-header .tab-btn.active {
    background-color: #EEEEEE;
    font-weight: 700;
}

.dashboard-header .user-info-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

.dashboard-header .user-info-item {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

.dashboard-header .user-info-item a,
.dashboard-header .user-info-item.user-id {
    text-decoration: underline;
}

.dashboard-header .logout-btn {
    font-size: 12px;
    font-weight: 700;
    color: #DA3023;
}


/* 대시보드 레이아웃 */
.dashboard-wrapper {
    margin-top: 54px;
    padding: 70px 0 60px;
}

.dashboard-tab-content {
    max-width: 1475px;
    margin: 0 auto;
    padding: 0 20px;
}

.dashboard-tab-content-item {
    display: none;
}

.dashboard-tab-content-item.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.tab-header h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    color: #000000;
}

.tab-header .view-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

.tab-header .view-select select {
    height: 35px;
    padding: 0 20px 0 15px;
    border-radius: 7px;
    background: #F7F7F7 url("data:image/svg+xml,%3Csvg width='10' height='5' viewBox='0 0 10 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L5 5L10 0H0Z' fill='black'/%3E%3C/svg%3E") no-repeat right 5px center;
    background-size: 10px 5px;  
    border: none;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: #000000;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.table-header {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 12px 29px 12px 18px;
    background-color: #ffffff;
    box-shadow: 0px 4px 24px 1px rgba(0, 0, 0, 0.04);
    border: 1px solid #E9E9E9;
    border-radius: 7px;
}

.table-header .table-header-item {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: #000000;
    text-align: center;
}

.table-header .table-header-item.no {
    width: 5%;
}

.table-header .table-header-item.id {
    width: 15.3%;
}

.table-header .table-header-item.name {
    width: 8%;
}

.table-header .table-header-item.buy-status {
    flex-shrink: 0;
}

.table-header .table-header-item.buy-products {
    flex: 1;
}

.table-header .table-header-item.buy-total {
    width: 9.4%;
}

.table-header .table-header-item.rebate-total {
    display: flex;
    flex-direction: column;
    width: 9.4%;
}

.table-header .table-header-item.rebate-total span {
    font-size: 11px;
    font-weight: 400;
    line-height: normal;
}

.table-header .table-header-item.registered-date {
    width: 12%;
}

.table-header .table-header-item.last-buy-date {
    width: 10.8%;
}

.table-body {

}

.table-body .table-body-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 29px 16px 18px;
    border-bottom: 1px dashed #E6E6E6;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: #333;
    text-align: center;
}

.table-body .table-body-data.no {
    width: 5%;
}

.table-body .table-body-data.id {
    width: 15.3%;
}

.table-body .table-body-data.name {
    width: 8%;
}

.table-body .table-body-data.buy-status {
    flex-shrink: 0;
}

.table-body .table-body-data.buy-products {
    flex: 1;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.table-body .table-body-data.buy-total {
    width: 9.4%;
}

.table-body .table-body-data.rebate-total {
    width: 9.4%;
    color: #DA3023;
}

.table-body .table-body-data.registered-date {
    width: 12%;
}

.table-body .table-body-data.last-buy-date {
    width: 10.8%;
}

.table-wrap .pagination {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.table-wrap .pagination-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 7L9 12L14 17L14 7Z' fill='black'/%3E%3C/svg%3E") no-repeat center;
    background-size: 24px 24px;
}

.table-wrap .pagination-btn.next {
    transform: scaleX(-1);
}

.table-wrap .pagination-list {
    display: flex;
    gap: 16px;
    align-items: center;
}

.table-wrap .pagination-list .pagination-item {
    padding: 0;
    border: none;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

.table-wrap .pagination-list .pagination-item:hover {
    background-color: transparent;
}

.table-wrap .pagination-list .pagination-item.active {
    font-weight: 700;
    color: #DA3023;
}

/* 정산내역 */
.table-wrap.settlement .table-header {
    gap: 10px;
    justify-content: space-between;
}

.table-wrap.settlement .table-header .table-header-item.settlement-date {
    width: 15.4%;
}

.table-wrap.settlement .table-header .table-header-item.settlement-price {
    width: 11.4%;
}

.table-wrap.settlement .table-header .table-header-item.settlement-account {
    width: 13%;
}

.table-wrap.settlement .table-header .table-header-item.settlement-balance {
    width: 11.6%;
}

.table-wrap.settlement .table-header .table-header-item.settlement-status {
    width: 7.2%;
}

.table-wrap.settlement .table-body-item {
    gap: 10px;
    justify-content: space-between;
}

.table-wrap.settlement .table-body-data.settlement-date {
    width: 15.4%;
}

.table-wrap.settlement .table-body-data.settlement-price {
    width: 11.4%;
    color: #DA3023;
}

.table-wrap.settlement .table-body-data.settlement-account {
    width: 13%;
}

.table-wrap.settlement .table-body-data.settlement-balance {
    width: 11.6%;
}

.table-wrap.settlement .table-body-data.settlement-status {
    width: 7.2%;
}


/* 정산신청 */
.apply-form {
    max-width: 658px;
    margin: 0 auto;
    padding: 0 20px;
}

.apply-form h2 {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    color: #000000;
}

.apply-form-box {
    width: 100%;
    padding: 33px 40px 36px;
    background-color: #ffffff;
    box-shadow: 0px 4px 24px 1px rgba(0, 0, 0, 0.04);
    border: 1px solid #E9E9E9;
    border-radius: 7px;
}

.apply-form-box input {
    width: 100%;
    height: 47px;
    padding: 0 15px;
    background-color: #F7F7F7;
    border-radius: 7px;
    border: none;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

.apply-form-box input::placeholder {
    color: #888888;
}

.apply-form-box .price-input {
    display: flex;
    gap: 6px;
    flex-direction: column;
    margin-bottom: 20px;
}

.apply-form-box .price-input .possible-balance {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: #1DA051;
    text-align: right;
}

.apply-form-box .form-group {
    display: flex;
    gap: 12px 8px;
    flex-wrap: wrap;
}

.apply-form-box .form-group .bank-select {
    flex: 1;
}

.apply-form-box .form-group .bank-select select {
    width: 100%;
    height: 47px;
    padding: 0 15px;
    border-radius: 7px;
    border: none;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #F7F7F7 url("data:image/svg+xml,%3Csvg width='10' height='5' viewBox='0 0 10 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L5 5L10 0H0Z' fill='black'/%3E%3C/svg%3E") no-repeat right 5px center;
    background-size: 10px 5px;
}

.apply-form-box .form-group .bank-select select:invalid {
    color: #888888;
}

.apply-form-box .form-group .account-input {
    width: 192px;
}

.apply-form-box .form-group .account-name-input {
    width: 213px;
}

.apply-form-box .form-group .account-warning {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: #FF0E0E;
}

.apply-form-box .apply-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 37px;
    margin-top: 12px;
    background-color: #DA3023;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}