/* PAGE */

.buyer-page{
    display:flex;
    align-items:flex-start;
    background:#f4f1ec;
    padding:24px 8px 0 10px;
}

.buyer-content{
    flex:1;
    min-width:0;
}

/* TOP BAR */

.buyer-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.buyer-total{
    font-size:15px;
    color:#000;
}

.buyer-password-wrap{
    display:flex;
    align-items:center;
    gap:10px;
}

.buyer-password-wrap label{
    font-size:14px;
}

.buyer-password-input{
    width:170px;
    height:30px;

    border:1px solid #cfcfcf;
    border-radius:4px;

    padding:0 8px;
}

.buyer-generate-btn{
    height:34px;
    padding:0 18px;

    border:none;
    border-radius:4px;

    background:#f2b300;
    color:#000;

    cursor:pointer;
}

/* RIGHT ICONS */

.buyer-side-icons{
    width:58px;

    display:flex;
    flex-direction:column;

    align-items:center;

    gap:12px;

    padding-top:6px;
}

.buyer-add-btn{
    width:34px;
    height:34px;

    border:none;
    border-radius:50%;

    background:#e89a2c;
    color:#fff;
padding-bottom: 4px;
    font-size:28px;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;
}

.buyer-download-btn{
    border:none;
    background:none;

    color:#e89a2c;

    font-size:13px;
    font-weight:600;

    cursor:pointer;
}

/* TABLE */

.buyer-table-wrapper{
    height:500px;

    overflow-y:auto;

    border:1px solid #c3c3c3;

    background:#fff;
}

.buyer-table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
}

.buyer-table th,
.buyer-table td{
    border:1px solid #c6c6c6;
}

/* HEADER */

.buyer-table th{
    background:#d8d2c8;

    height:44px;

    padding:4px;

    font-weight:400;
}

.buyer-table th input,
.buyer-table th select{
    width:100%;
    height:28px;

    border:1px solid #d2d2d2;
    border-radius:4px;

    padding:0 6px;

    background:#fff;
}

.buyer-check-head{
    text-align:center;
}

.buyer-check-head input{
    width:18px;
    height:18px;

    accent-color:#0d6efd;
}
.buyer-check-head input[type="checkbox"]{
    width:14px;
    height:14px;
    accent-color:#0d6efd;
    cursor:pointer;
}

/* BODY */

.buyer-table td{
    height:29px;

    padding:4px 6px;

    font-size:14px;

    background:#f7f7f7;

    vertical-align:middle;
}

.buyer-table tbody tr:nth-child(even) td{
    background:#efefef;
}

.buyer-table td:nth-child(4),
.buyer-table td:nth-child(6),
.buyer-table td:nth-child(8),
.buyer-table td:nth-child(9),
.buyer-table td:nth-child(10){
    text-align:center;
}

/* ACTION */

.buyer-action{
    color:#e89a2c;
    cursor:pointer;
    font-size:18px;
}

/* COLUMN WIDTHS */

.buyer-table th:nth-child(1){width:155px;}
.buyer-table th:nth-child(2){width:95px;}
.buyer-table th:nth-child(3){width:190px;}
.buyer-table th:nth-child(4){width:70px;}
.buyer-table th:nth-child(5){width:145px;}
.buyer-table th:nth-child(6){width:105px;}
.buyer-table th:nth-child(7){width:170px;}
.buyer-table th:nth-child(8){width:55px;}
.buyer-table th:nth-child(9){width:55px;}
.buyer-table th:nth-child(10){width:85px;}

/* DRAWER */

.buyer-overlay{
    position:fixed;
    inset:0;

    background:transparent;

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:999;
}

.buyer-overlay.active{
    opacity:1;
    visibility:visible;
}

.buyer-drawer{
    position:fixed;
    top:0;
    right:-760px;

    width:750px;
    height:100vh;

    display:flex;
    flex-direction:column;

    background:#efefef;
    z-index:1000;
}

.buyer-drawer-body{
    flex:1;
    overflow-y:auto;
    min-height:0;   /* IMPORTANT */
    padding:14px;
}

.buyer-drawer.active{
    right:0;
}

.buyer-drawer-header{
    flex-shrink:0;

    height:40px;

    background:#1e73f0;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 16px;

    color:#fff;
}

.buyer-close-btn{
    border:none;
    background:none;

    color:#fff;

    font-size:22px;

    cursor:pointer;
}

.buyer-drawer-body{
    flex:1;

    overflow-y:auto;

    padding:14px;
}

.buyer-footer{
    flex-shrink:0;

    display:flex;
    justify-content:flex-end;

    padding:12px 18px;

    background:#efefef;

    border-top:1px solid #d0d0d0;
}

.buyer-save-btn{
    width:60px;
    height:36px;

    border:none;
    border-radius:5px;

    background:#f2b300;
}

.buyer-cancel-btn{
    width:72px;
    height:36px;

    border:none;
    border-radius:5px;

    background:#737b86;
    color:#fff;

    margin-left:8px;
}

/* BUYER FORM */

.buyer-form-wrap{
    display:flex;
    gap:18px;
}

.buyer-form-box{
    flex:1;
    border:1px solid #d2d2d2;
    border-radius:6px;
    padding:14px;
    background:white;
}

.buyer-field{
    margin-bottom:10px;
}

.buyer-field label{
    display:block;
    margin-bottom:4px;
    font-size:14px;
    color:#444;
}

.buyer-field label span{
    color:red;
}

.buyer-field input,
.buyer-field select{
    width:100%;
    height:30px;
    border:1px solid #cfcfcf;
    border-radius:5px;
    padding:0 8px;
    background:#fff;
}

.buyer-field textarea{
    width:100%;
    resize:none;
    border:1px solid #cfcfcf;
    border-radius:5px;
    padding:8px;
    background:#fff;
}

.buyer-dob-field input{
    width:160px;
}

.buyer-short-field input{
    width:230px;
}

.buyer-check-row{
    margin-top:10px;
}

.buyer-check-row label{
    display:flex;
    align-items:center;
    gap:8px;
}

.buyer-check-row input{
    width:22px;
    height:22px;
}

.buyer-footer{
    right:18px;
    bottom:10px;
}

.buyer-cancel-btn{
    display:none;
}

.buyer-drawer-body::-webkit-scrollbar{
    width:10px;
}

.buyer-drawer-body::-webkit-scrollbar-track{
    background:white;
}

.buyer-drawer-body::-webkit-scrollbar-thumb{
   
    border-radius:10px;
}