﻿.text-right {
    text-align: right;
}

.display_hidden {
    display: none;
}

.shipping_main_detail_main_change_memo { 

}

.table td.table-inner {
    padding: 0 !important;
    vertical-align: top !important;
}

.table td.table-inner .table {
    margin: 0;
    border-top:none;
}
.table td.table-inner .table td{
    padding:2px 0px;
    text-align:center;
   /* font-size:0.8rem !important;*/
}

.table td.table-inner .table .tr-input td{
    padding: 0;
}
.table td.table-inner .table .tr-input td input{
    border-radius:0;
    border:none;
    /*font-size:0.8rem !important;*/
}
.table td.table-inner .table .tr-input td input::placeholder {
   text-align: center; 
}

#couponCreateModal .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border: 1px solid #d9dee3 !important;
    margin-right: -1px;
}

.fixed-button-container {
    position: relative; /* 자식의 absolute 위치 기준 */
}
.fixed-button-container .fixed-button {
    position: absolute; /* 절대 위치 설정 */
    top: 50px; /* 위에서 50px 떨어진 위치 */
    left: -50px; /* 오른쪽에서 20px 떨어진 위치 */
    width: 100px;
    height: 100px;
}

/* Analysis */
.thead-fixed {
    position: sticky;
    top: 0;
    z-index: 10;
}

.thead-fixed th {
    color: #fff !important;
}

.tfoot-fixed {
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.thick-left {
    border-left: 3px solid #198754 !important;
    background-color: #f0faf5 !important
}
.thick-center {
    background-color: #f0faf5 !important
}
.thick-right {
    border-right: 3px solid #198754 !important;
    background-color: #f0faf5 !important
}

table.table-fixed {
    table-layout: fixed;
}

table.table-fixed td {
    word-wrap: break-word;
}

.selectbox-readonly {
    background-color: #eceef1;
    pointer-events: none;
}

.thead-row-2 th {
    padding:3px 0px;
}

/* 결산페이지 테이블 상단하단 고정 */
.table-container {
    /* max-height: 600px; /* 원하는 높이로 조정 */
    height: calc(100vh - 300px);
    overflow-y: auto;
    position: relative;
}

    .table-container table {
        margin-bottom: 0;
    }

    .table-container thead th {
        position: sticky;
        top: 0;
        z-index: 10;
        background-color: #343a40; /* table-dark 색상 */
    }

    /* tfoot도 고정하고 싶다면 */
    .table-container tfoot {
        position: sticky;
        bottom: 0;
        z-index: 10;
    }

        .table-container tfoot td {
            background-color: #343a40; /* table-dark 색상 */
        }

    /* 스크롤바 스타일링 (선택사항) */
    .table-container::-webkit-scrollbar {
        width: 8px;
    }

    .table-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .table-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

        .table-container::-webkit-scrollbar-thumb:hover {
            background: #555;
        }


.prd_checkbox { height: 30px; width: 30px; }
.prd_checkbox_label { font-size: 1.3rem; }

.negative { color: red !important; }

.shipp-form-check { display: flex; align-items: center; gap: 4px; }
.shipp-form-check .form-check-input { width: 2em; height: 2em; min-width: 2em; margin: 0; cursor: pointer; }
.shipp-form-check .form-check-label { font-size: 1.1em; cursor: pointer; }