/* ================= PAGE ================= */

.live-page{
    display:flex;
    height:calc(100vh - 37px);
    overflow:hidden;
    background:white;
}

.live-content{
    flex:1;
    display:flex;
    flex-direction:column;
    overflow:hidden;
        padding-right: 10px;
}

/* ================= HEADER ================= */

.live-header-row{
    height:60px;
    padding:0 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    /*background:#ebe7e1;*/
    border-bottom:1px solid #d2ccc4;
}

.live-total{
    font-size:16px;
    font-weight:700;
    color:#111;
}

.live-filters{
    display:flex;
    align-items:center;
    gap:18px;
}

.live-check{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:14px;
    color:#333;
}

.live-reauction{
    width:95px;
    height:38px;
    border:none;
    border-radius:6px;
    background:#f3b118;
    color:#000;
    font-size:14px;
    cursor:pointer;
}

/* ================= TABLE ================= */

.live-table-wrapper{
    flex:1;
    overflow:auto;
    background:#efebe6;
}

.live-vehicle-table{
    width:100%;
    min-width:1300px;
        background: white;
    border-collapse:collapse;
    table-layout:fixed;
}

.live-vehicle-table thead{
    position:sticky;
    top:0;
    z-index:5;
}

.live-vehicle-table th{
 background: white;
    border:1px solid #c6c0b8;
    padding:4px;
    font-size:13px;
    font-weight:600;
    color:#333;
}

.live-vehicle-table th input[type="text"]{
    width:100%;
    height:28px;
    border:1px solid #d4d4d4;
    border-radius:5px;
    /*background:#f4f4f4;*/
    padding:0 8px;
    font-size:12px;
    outline:none;
    box-sizing:border-box;
}

.live-vehicle-table td{
    border:1px solid #c8c8c8;
    /*background:#f3f1ee;*/
    padding:7px;
    font-size:13px;
    line-height:1.6;
    vertical-align:middle;
}

.live-vehicle-table tbody tr{
    height:92px;
}

/* ================= TIMER ================= */

.live-timer{
    display:flex;
    align-items:center;
    gap:5px;
    width:178px;
    height:28px;
    padding:3px;
    background:#dbe5ef;
    border:1px solid #cfd7e1;
    border-radius:5px;
}

.live-box{
    width:36px;
    height:20px;
    background:#fff;
    border-radius:4px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#f39b1e;
    font-size:13px;
    font-weight:700;
}

.live-auction-time{
    margin-top:4px;
    font-size:12px;
}

.live-bid-link{
    color:#004cff;
    text-decoration:underline;
}

.live-status{
    line-height:22px;
}

.live-action{
    text-align:center;
}

.live-action i{
    color:#f39b1e;
    font-size:18px;
    cursor:pointer;
}

.live-select-col{
    text-align:center;
}
/* Remove black focus ring */

.live-circle-btn,
.live-tool-btn,
.manager-link-btn,
.drawer-close,
button,
button i{
    outline:none !important;
    box-shadow:none !important;
}

.live-circle-btn:focus,
.live-circle-btn:active,
.live-tool-btn:focus,
.live-tool-btn:active,
.manager-link-btn:focus,
.manager-link-btn:active,
.drawer-close:focus,
.drawer-close:active,
button:focus,
button:active{
    outline:none !important;
    box-shadow:none !important;
}

/* Bootstrap ripple/focus remove */

.btn:focus,
.btn:active,
.btn-close:focus{
    outline:none !important;
    box-shadow:none !important;
}
/* ================= WIDTHS ================= */

.live-vehicle-table th:nth-child(1),
.live-vehicle-table td:nth-child(1){width:50px;}

.live-vehicle-table th:nth-child(2),
.live-vehicle-table td:nth-child(2){width:150px;}

.live-vehicle-table th:nth-child(3),
.live-vehicle-table td:nth-child(3){width:95px;}

.live-vehicle-table th:nth-child(4),
.live-vehicle-table td:nth-child(4){width:105px;}

.live-vehicle-table th:nth-child(5),
.live-vehicle-table td:nth-child(5){width:120px;}

.live-vehicle-table th:nth-child(6),
.live-vehicle-table td:nth-child(6){width:180px;}

.live-vehicle-table th:nth-child(7),
.live-vehicle-table td:nth-child(7){width:140px;}

.live-vehicle-table th:nth-child(8),
.live-vehicle-table td:nth-child(8){width:90px;}

.live-vehicle-table th:nth-child(9),
.live-vehicle-table td:nth-child(9){width:60px;}

.live-vehicle-table th:nth-child(10),
.live-vehicle-table td:nth-child(10){width:90px;}

.live-vehicle-table th:nth-child(11),
.live-vehicle-table td:nth-child(11){width:70px;}

.live-vehicle-table th:nth-child(12),
.live-vehicle-table td:nth-child(12){
    width:55px;
    text-align:center;
}

.live-vehicle-table th:nth-child(13),
.live-vehicle-table td:nth-child(13){
    width:65px;
    text-align:center;
}

/* ================= RIGHT SIDEBAR ================= */

.live-sidebar{
    width:60px;
    min-width:60px;
    background:#f4f1ec;
    border-left:1px solid #d8d8d8;
    position:relative;
}

.live-circle-btn{
    width:38px;
    height:38px;
    border:none;
    border-radius:50%;
    background:#e79b25;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.live-menu-btn{
    position:absolute;
    top:12px;
    left:10px;
}

.live-sidebar-tools{
    position:absolute;
    top:68px;
    right:20px;

    display:flex;
    flex-direction:column;
    align-items:center;

    gap:22px;
}

.live-plus-btn{
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#e79b25;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;
}

.live-plus-btn i{
    font-size:22px;
}


.live-tool-btn{
    width:32px;
    height:32px;

    border:none;
    background:transparent;

    color:#e79b25;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;
    padding:0;
}

.live-tool-btn i{
    font-size:26px;
    line-height:1;
}

.live-tool-btn i{
    font-size:30px;
}

/* ================= CHECKBOX ================= */

.live-page input[type="checkbox"]{
    width:18px;
    height:18px;
    accent-color:#0d6efd;
    cursor:pointer;
}

/* ================= SCROLLBAR ================= */

.live-table-wrapper::-webkit-scrollbar{
    width:10px;
    height:10px;
}

.live-table-wrapper::-webkit-scrollbar-thumb{
    background:#8d8d8d;
    border-radius:20px;
}

.live-table-wrapper::-webkit-scrollbar-track{
    background:#ececec;
}
.live-countdown{
    display:flex;
    align-items:center;
    gap:4px;

    width:175px;
    height:28px;

    padding:3px;

    background:#d7e3ef;
    border:1px solid #c4d0dc;
    border-radius:5px;

    box-sizing:border-box;
}

.live-time-box{
    min-width:36px;
    height:20px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#ffffff;

    border-radius:4px;

    color:#f4a124;
    font-size:13px;
    font-weight:700;

    box-shadow:inset 0 0 0 1px #e6e6e6;
}

.live-auction-date{
    margin-top:6px;

    font-size:12px;
    color:#000;

    white-space:nowrap;
}


.vehicle-overlay{
    position:fixed;
    inset:0;
    /*background:rgba(0,0,0,.35);*/

    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9998;
}

.vehicle-overlay.show{
    opacity:1;
    visibility:visible;
}

.vehicle-drawer{
    position:fixed;

    top:0;
    right:-100%;

    width:1020px;
    max-width:100%;
    height:100vh;

    background:#f5f5f5;

    display:flex;
    flex-direction:column;

    transition:right .35s ease;

    z-index:9999;
}

.vehicle-drawer.open{
    right:0;
}


/* Header */

.drawer-header{
    height:42px;

    background:#0d6efd;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 14px;

    flex-shrink:0;
}

.drawer-header h2{
    font-size:18px;
    margin:0;
}

.drawer-close{
    border:none;
    background:none;
    color:#fff;
    font-size:18px;
    cursor:pointer;
}

/* Top Fixed */

.drawer-top{
    padding:18px 20px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    background:#f2efec;

    flex-shrink:0;
}

.vehicle-status{
    display:flex;
    align-items:center;
    gap:10px;
}

.vehicle-status select{
    width:160px;
    height:34px;

    border:1px solid #8fb5f4;
    border-radius:8px;
}

/* Scroll Area */
.drawer-body{
    flex:1;
    overflow-y:auto;

    padding:14px 20px 20px;

    background:#f2efec;
}
/* Containers */

.form-section{
    background:#f8f8f8;
    border:1px solid #d8d8d8;
    border-radius:6px;

    padding:18px 14px;
    margin-bottom:18px;
}

.section-grid{
    display:grid;

    grid-template-columns:
        280px
        280px
        280px;

    column-gap:40px;
    row-gap:14px;

    align-items:center;
}
.field{
    display:flex;
    align-items:center;
    gap:10px;
}
.field label{
    width:110px;
    min-width:110px;

    margin:0;

    font-size:14px;
    color:#333;
    font-weight:400;
}

.field label span{
    color:#e53935;
}
.field input,
.field select{
    width:100%;
    height:30px;

    border:1px solid #cfd3d8;
    border-radius:6px;

    background:#fff;

    padding:0 10px;

    font-size:14px;

    outline:none;
}

/* Footer */

.drawer-footer{
    height:60px;

    background:#fff;

    border-top:1px solid #ddd;

    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:10px;

    padding:0 20px;

    flex-shrink:0;
}

.live-btn-save{
    background:#ff9f0a;
    color:#fff;
    border:none;
    padding:10px 22px;
    border-radius:4px;
}

.btn-cancel{
    background:#6c757d;
    color:#fff;
    border:none;
    padding:10px 22px;
    border-radius:4px;
}

.vehicle-row{
    display:flex;
    justify-content:space-between;
    gap:40px;
}

.vehicle-col{
    flex:1;
}

.vehicle-details-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
}

.vehicle-field{
    display:flex;
    align-items:center;
    margin-bottom:14px;
}

.vehicle-field label{
    width:150px;
    font-size:14px;
    color:#333;
}

.vehicle-field label span{
    color:red;
}

.vehicle-field input,
.vehicle-field select{
    width:150px;
    height:30px;
    border:1px solid #d2d6dc;
    border-radius:6px;
    padding:0 10px;
    background:#fff;
}

.vehicle-text span{
    font-size:14px;
    color:#333;
}
/* ================= FIRST CONTAINER FINAL ================= */

.form-section{
    background:#f8f8f8;
    border:1px solid #d7d7d7;
    border-radius:6px;
    padding:16px 14px;
    margin-bottom:18px;
}

.vehicle-row{
    display:grid;
    grid-template-columns:310px 290px 280px;
    column-gap:20px;
    align-items:start;
}

.vehicle-col{
    min-width:0;
}

.vehicle-field{
    display:flex;
    align-items:center;
    margin-bottom:10px;
}

.vehicle-field label{
    width:95px;
    min-width:95px;
    margin:0;

    font-size:14px;
    color:#333;
    white-space:nowrap;
}

.vehicle-field label span{
    color:#e53935;
}

.vehicle-field input,
.vehicle-field select{
    width:180px;
    height:30px;

    border:1px solid #d2d6dc;
    border-radius:6px;

    background:#fff;

    padding:0 10px;
    font-size:14px;
    outline:none;
}

.vehicle-text span{
    font-size:14px;
    padding:20px;
    color:#333;
    margin-left: 75px;
}

/* Business Vertical Category */

.business-category-field label{
    width:170px;
    min-width:170px;
    white-space:nowrap;
}

.business-category-field select{
    width:120px;
}
/* ================= SECOND CONTAINER ================= */

.vehicle-details-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:90px;
    padding:4px 20px;
}

.vehicle-details-left,
.vehicle-details-right{
    width:100%;
}

.vehicle-details-left .vehicle-field,
.vehicle-details-right .vehicle-field{
    display:flex;
    align-items:center;
    margin-bottom:10px;
}

.vehicle-details-left .vehicle-field label,
.vehicle-details-right .vehicle-field label{
    width:150px;
    min-width:150px;
    margin:0;

    font-size:14px;
    font-weight:400;
    color:#333;

    white-space:nowrap;
}

.vehicle-details-left .vehicle-field label span,
.vehicle-details-right .vehicle-field label span{
    color:#e53935;
}

.vehicle-details-left .vehicle-field input,
.vehicle-details-left .vehicle-field select,
.vehicle-details-right .vehicle-field input,
.vehicle-details-right .vehicle-field select{
    width:152px;
    height:30px;

    border:1px solid #cfd3d8;
    border-radius:6px;

    background:#fff;

    padding:0 10px;

    font-size:14px;
    color:#444;

    outline:none;
    box-sizing:border-box;
}

/* readonly style */
.vehicle-details-right input[value="NA"]{
    background:#f7f7f7;
}

/* dropdown arrow alignment */
.vehicle-details-left select,
.vehicle-details-right select{
    cursor:pointer;
}

/* container */
.form-section{
    background:#f4f4f4;
    border:1px solid #d9d9d9;
    border-radius:6px;
    padding:16px;
    margin-bottom:18px;
}


/* ================= MANAGER CONTAINER ================= */

.manager-grid{
    padding:4px 0;
}

.manager-grid .vehicle-field{
    display:flex;
    align-items:center;
    margin-bottom:12px;
}

.manager-grid .vehicle-field label{
    width:190px;
    min-width:190px;
}

.manager-grid .vehicle-field input{
    width:225px;
}

.manager-link-btn{
    border:none;
    background:none;
    color:#f39c12;
    font-size:24px;
    margin-left:4px;
    cursor:pointer;
}

/* ================= YARD CONTAINER ================= */

.yard-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:100px;
}

.yard-col{
    width:100%;
}

.yard-col .vehicle-field{
    display:flex;
    align-items:center;
    margin-bottom:10px;
}

.yard-col .vehicle-field label{
    width:150px;
    min-width:150px;
    white-space:nowrap;
}

.yard-col .vehicle-field input,
.yard-col .vehicle-field select{
    width:150px;
    height:30px;
}

.yard-col input:disabled{
    background:#dfe3e8;
    cursor:not-allowed;
}


/* ================= CONTAINER 5 ================= */

.auction-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:120px;
}

.auction-col{
    width:100%;
}

.yes-no-head{
    display:flex;
    margin-left:188px;
    gap:44px;
    margin-bottom:4px;
}

.yes-no-head span{
    width:30px;
    text-align:center;
    font-size:14px;
    color:#333;
}

.dual-input{
    display:flex;
    gap:2px;
}

.dual-input input{
    width:75px !important;
}

.auction-col .vehicle-field{
    display:flex;
    align-items:center;
    margin-bottom:10px;
}

.auction-col .vehicle-field label{
    width:188px;
    min-width:188px;
    white-space:nowrap;
}

/* ================= CONTAINER 6 ================= */

.auction-info-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.auction-info-item{
    display:flex;
    align-items:center;
}

.auction-info-item label{
    margin-right:10px;
    white-space:nowrap;
    font-size:14px;
    color:#333;
}

.auction-info-item input{
    width:165px;
    height:30px;

    border:1px solid #d2d6dc;
    border-radius:6px;

    background:#dfe3e8;
}

.auction-info-item input:disabled{
    background:#dfe3e8;
}

/* ================= CONTAINER 7 ================= */

.notes-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.notes-field{
    display:flex;
    align-items:center;
}

.notes-field label{
    width:70px;
    min-width:70px;
    font-size:14px;
    color:#333;
}

.notes-field label span{
    color:#e53935;
}

.notes-field textarea{
    width:100%;
    height:90px;

    resize:none;

    border:1px solid #d2d6dc;
    border-radius:6px;

    background:#fff;

    padding:10px;
    box-sizing:border-box;
}
/* ================= CONTAINER 9 ================= */

.date-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.date-field{
    display:flex;
    align-items:center;
}

.date-field label{
    margin-right:10px;
    white-space:nowrap;
    font-size:14px;
    color:#333;
}

.date-field label span{
    color:#e53935;
}

.date-field input{
    width:160px;
    height:30px;
}

/* ================= CONTAINER 10 ================= */

.rto-section{
    width:100%;
}

.rto-label{
    display:block;

    margin-bottom:8px;

    font-size:14px;
    color:#444;
}

.rto-input{
    width:100%;
    height:28px;

    border:1px solid #d2d6dc;
    border-radius:6px;

    background:#fff;

    box-sizing:border-box;
}

/* ================= PENDING CHALLAN ================= */

.challan-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
}

.challan-header label{
    font-size:14px;
    color:#333;
}

.challan-header input{
    width:78px;
    height:30px;
}

.challan-table{
    width:100%;
    border-collapse:collapse;
}

.challan-table th,
.challan-table td{
    border:1px solid #cfd3d8;
    padding:3px;
}

.challan-table th{
    text-align:center;
    font-weight:600;
    font-size:14px;
}

.challan-table td input{
    width:100%;
    height:28px;
    box-sizing:border-box;
}

.challan-footer{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:8px;
    margin-top:25px;
}

.challan-footer input{
    width:55px;
    height:30px;
    background:#eef0f2;
}

/* ================= LAST CONTAINER ================= */

.bottom-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:120px;
}

.bottom-col{
    width:100%;
}

.bottom-col .vehicle-field{
    display:flex;
    align-items:center;
    margin-bottom:18px;
}

.bottom-col .vehicle-field label{
    width:150px;
    min-width:150px;
}

.bottom-col .vehicle-field input,
.bottom-col .vehicle-field select{
    width:150px;
}

.top-align{
    align-items:flex-start !important;
}

.top-align textarea{
    width:150px;
    height:48px;

    resize:none;

    border:1px solid #d2d6dc;
    border-radius:6px;

    padding:8px;
}

.auto-check{
    width:18px !important;
    height:18px !important;
    accent-color:#0d6efd;
}

.save-row{
    display:flex;
    justify-content:flex-end;
    margin-top:8px;
}

/* ================= STAFF MODAL ================= */

.staff-modal-overlay{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.25);

    display:none;
    align-items:center;
    justify-content:center;

    z-index:10000;
}

.staff-modal-overlay.show{
    display:flex;
}

.staff-modal{
    width:760px;
    height:400px;

    background:#fff;

    border-radius:6px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.staff-modal-header{
    height:50px;

    background:#1976f3;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 16px;

    font-size:22px;
    font-weight:600;
}

.staff-modal-header button{
    border:none;
    background:none;
    color:#fff;

    font-size:18px;
    cursor:pointer;
}

.staff-modal-body{
    padding:20px;
}

.staff-table{
    width:100%;
    border-collapse:collapse;
}

.staff-table th,
.staff-table td{
    border:1px solid #d4d4d4;
    padding:4px;
}

.staff-table th{
    background:#ece6de;
}

.staff-table th input{
    width:100%;
    height:28px;

    border:1px solid #d4d4d4;
    border-radius:4px;

    padding:0 10px;

    box-sizing:border-box;
}

.no-staff{
    text-align:center;
    color:#666;
    padding:20px;
}

/* ================= ERROR DRAWER ================= */

.error-drawer{
    position:fixed;

    top:0;
    right:-420px;

    width:420px;
    height:100vh;

    background:#f3f4f6;

    transition:.35s ease;

    z-index:9999;

    overflow:hidden;
}

.error-drawer.show{
    right:0;
}

.error-header{
    height:55px;

    background:#1f73e8;
    color:#fff;

    display:flex;
    align-items:center;

    padding:0 18px;

    font-size:18px;
    font-weight:700;
}

.error-close-btn{
    position:absolute;

    top:48px;
    right:0;

    width:36px;
    height:36px;

    border:none;
    border-radius:50%;

    background:#e59b2a;
    color:#fff;

    cursor:pointer;

    z-index:5;
}

.error-body{
    padding:14px;
    height:calc(100vh - 55px);

    overflow:auto;
}

.error-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

.error-table th{
    background:#e8e2d8;

    border:1px solid #cfcfcf;

    padding:10px;

    font-size:14px;
}

.error-table td{
    border:1px solid #cfcfcf;

    padding:20px;

    text-align:center;
}

.error-empty{
    height:70px;
}