/* @@@@@@@@@@@@@@@ POPPINS FONTS @@@@@@@@@@@@@@@@@@@@ */
@font-face {
    font-family: 'poppins';
    src: url('assets/poppins+lato/poppins/Poppins-Light.ttf') format('truetype');
}

/* @@@@@@@@@@@@@@@ LATO FONTS @@@@@@@@@@@@@@@@@@@@@@@ */
@font-face {
    font-family: 'lato';
    src: url('assets/poppins+lato/Lato/Lato-Light.ttf') format('truetype');
}

body {
    margin: 0;
    font-family: 'poppins';
}

* {
    box-sizing: border-box;
}

.container {
    display: flex;
}

/*========================= Utilities Classes Start =========================== */
.mrgn-auto {
    margin: 0 auto;
}

.fw-100 {
    font-weight: 100;
}

.fw-200 {
    font-weight: 200;
}

.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.fw-900 {
    font-weight: 900;
}

.fw-bolder {
    font-weight: bolder;
}

.width100 {
    width: 100% !important;
}

.listnotstyle {
    list-style: none;
}

.listnotstyletwo {
    list-style: none;
    padding-left: 0;
    font-size: 16px;

}

.logout-svg {
    margin-left: -8px;
}

.logout-icon {
    display: none;
}

.sidebar.collapsed .logout-icon {
    display: block;
}

.gldbtn-sec {
    text-align: center;
    margin-bottom: 30px;
}

.golden-btn {
    background: linear-gradient(0deg, #FAA642 46.63%, #FCCB91 100%);
    border: none;
    padding: 18px;
    width: 165px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px #00000026;
    color: white;
    border-radius: 100px;
}

.sidebar.collapsed .golden-btn {
    display: none;
}

.ancher-color {
    text-decoration: none;
    color: #ffffff;
}

.display-flex {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.justifycontent {
    justify-content: space-between;
}

.orange-gridientcolor {
    background: linear-gradient(0deg, #FAA642 75.48%, #FCCB91 100%);
    cursor: pointer;
}

.justfy-betwn {
    justify-content: space-between;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.gray-text {
    color: #666666;
}

.bluecolor {
    color: #00779e;
}

label {
    font-family: 'lato';
}

input {
    font-family: 'lato';
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0;
    transition: 0.4s ease-in-out;
}

#overlay.active {
    opacity: 1;
    z-index: 1;
}

.mrgn-top-0 {
    margin-top: 0 !important;
}

.mrgn-right-0 {
    margin-right: 0 !important;
}

.mrgn-left-0 {
    margin-left: 0 !important;
}

.mrgn-bottom-0 {
    margin-bottom: 0 !important;
}

.wdth100 {
    width: 100% !important;
}

.height100 {
    height: 100%;
}

.jstfy-left {
    justify-content: left !important;
}

.jstfy-right {
    justify-content: right !important;
}

.jstfy-center {
    justify-content: center !important;
}

.position-rel {
    position: relative !important;
}

.cstme-input {
    padding: 10px 90px 10px 10px;
    border-radius: 5px;
    border: 1px solid #b4b4b4;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
}

.font-14 {
    font-size: 14px;
}

.font-16 {
    font-size: 16px;
}

.flexwrap {
    flex-wrap: wrap !important;
}

.items-center {
    align-items: center !important;
}

.lineheight30 {
    line-height: 30px !important;
}

.text-end {
    text-align: right;

}

/*========================= Utilities Classes End =========================== */

/*========================= Sidbar Styling Start ============================ */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .logo-sec {
    text-align: center !important;
    padding: 20px 0 0 0;
}

.header .logo-sec img {
    width: 240px;
    height: auto;
}

.mbltoggle {
    display: none;
}

.sidebar {
    position: fixed;
    width: 250px;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, #71b3c9, #00779e);
    color: #fff;
    height: 100%;
    padding: 10px 0 10px 10px;
    transition: 0.5s ease-in-out;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 99;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar .left-links {
    padding-bottom: 30px;
}

.sidebar .left-links :nth-child(3),
.sidebar .left-links :nth-child(4) {
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 7px;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

#toggleBtn {
    position: absolute;
    right: -6px;
    top: 1px;
    z-index: 1;
    background: none;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

#toggleBtn2 {
    background: none;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.toggleBtn img {
    width: 34px;
    height: 34px;
}

.sidebar.collapsed {
    width: 75px;
    transition: 0.5s ease-in-out;
    text-align: center;
}

.sidebar.collapsed .left-links :nth-child(3),
.sidebar.collapsed .left-links :nth-child(4) {
    border-bottom: 0;
    padding-bottom: 0px;
}

.profile-image {
    width: 100%;
    text-align: center;
    margin-top: 35px;
}

.profile-image img {
    width: 151px;
    height: 151px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
}

.profile-name h2 {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 18px;
}

.profile-name p {
    margin-top: 0;

}

.profile-name p a {
    font-size: 12px;
    font-weight: 400;
    color: white;
    text-decoration: none;
}

.drop-menu .item {
    position: relative;
    cursor: pointer;
    margin-right: 10px;
}

.drop-menu .item a {
    font-size: 16px;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    color: white;
    line-height: 23px;
    margin: 7px 0 0 10px;
}

.drop-menu .item .sub-menu a {
    padding: 8px 12px !important;
}

.drop-menu .item .active {
    background: white;
    color: #faa642 !important;
    border-radius: 10px 0 0 10px;
}

.drop-menu .active a {
    color: #faa642 !important;
}

.drop-menu .item .active svg {
    fill: #faa642;
}

.drop-menu .item svg {
    fill: #faa642;
}

.drop-menu .item:hover svg {
    fill: #faa642;
}

.drop-menu .item svg {
    fill: #ffffff;
}

.drop-menu .item:hover {
    background: #ffffff;
    transition: 0.3s ease;
    border-radius: 10px 0 0 10px;
}

.item.active {
    background: white !important;
    color: #faa642 !important;
    border-radius: 10px 0 0 10px;
    box-shadow: 0px 4px 4px 0px #00000040;
}

.drop-menu .item::after {
    content: "";
    display: block;
    background: white;
    width: 4px;
    height: 100%;
    position: absolute;
    right: -9px;
    top: 0;
    box-shadow: 0px 4px 4px 0px #00000040;
    display: none;
}

.item.active span {
    font-weight: 700;
}

.item.active::after {
    font-weight: 700;
    display: block !important;
}

.item:hover::after {
    display: block;
}

.item.active svg {
    fill: #faa642 !important;
}

.drop-menu .item .sub-menu {
    max-height: 0px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.drop-menu .item .sub-menu,
.sub-btn .dropdown {
    transition: 0.4s ease-in-out;
}

.drop-menu .item .sub-menu a {
    color: #faa642;
    transition: 0.3s ease;
    margin: 5px 0 5px 10px !important;
}

.drop-menu .item .sub-menu a:hover {
    background: #faa642;
    color: white;
    transition: 0.3s ease;
    border-radius: 10px 0 0 10px;
}

.rotate {
    transform: rotate(90deg);
}

.dropdown {
    transition: 0.3s ease-in-out;
}

.dropdown.rotate {
    transform: rotate(90deg);
}

/*========================= Collpased Sidbar Styling START ======================== */
.sidebar.collapsed span,
.sidebar.collapsed .chevron {
    display: none;
}

.sidebar.collapsed .listnotstyle {
    justify-content: center !important;
}

.sidebar.collapsed .drop-menu .item a {
    padding: 10px;
    line-height: 15px;
    margin: 10px 0 0 10px;
}

.sidebar.collapsed .profile-image img {
    width: 50px;
    height: 50px;
    border: 2px solid white;
    transition: all 0.5s ease-in-out;
}

.sidebar.collapsed .profile-image .profile-name {
    display: none;
}

.sidebar.collapsed {
    overflow: visible;
}

.sidebar.collapsed .profile-image {
    padding-right: 10px;
}

.sidebar.collapsed .drop-menu .item .sub-menu {
    transition: 0.4s ease-in-out;
    position: absolute;
    background: white !important;
    width: 200px;
    top: 0;
    z-index: 999;
    left: 56px;
    text-align: left;
}

.sidebar.collapsed .item:hover .sub-menu {
    display: block !important;
    max-height: 500px !important;
    box-shadow: 0px 0px 12px 2px #71B3C9;
}

.sidebar.collapsed .item .sub-menu {
    display: none;
    padding-bottom: 5px;
    transition: 0.4s ease-in-out;
}

.sidebar.collapsed ul {
    padding-left: 0;
}

/*========================= Collpased Sidbar Styling End================ */
.listnotstyle svg {
    fill: #ffffff;
    transition: 0.2s ease-in-out;
}

.listnotstyle:hover svg {
    fill: #faa642 !important;
    transition: 0.2s ease-in-out;
}

.listnotstyle:hover {
    color: #faa642 !important;
    background-color: #ffffff;
    transition: 0.2s ease-in-out;
    border-radius: 10px 0 0 10px;
}

/*========================= Sidbar Styling End=========================== */

/*========================= Main Content Styling START ================== */
.sidebar.collapsed~.content {
    margin-left: 75px;
    transition: 0.5s ease-in-out;
}

.content {
    margin-left: 250px;
    width: 100%;
    transition: 0.5s ease-in-out;
    overflow-x: hidden;
}

.sidebar.collapsed~.content {
    margin-left: 75px;
    transition: 0.5s ease-in-out;
}

.cargotel-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 15px 0 15px 0;
}

.cargotel-logo svg {
    width: 250px;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}

.loads {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    align-items: center;
    padding: 12px;
    gap: 10px;
}

/* .Load-other {
    width: max-content;
} */

.loads input {
    padding: 10px 90px 10px 10px;
    border-radius: 5px;
    border: 1px solid #b4b4b4;
    font-size: 16px;
    width: 100%;
}

.Load-other .dropbutn {
    padding: 5px 23px 5px 23px;
    border-radius: 5px;
    border: 1px solid #b4b4b4;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    border: none;
    font-weight: 700;
}

.load-items1,
.load-items2,
.load-items4 {
    position: relative;
}

.loads {
    background-color: #f8f8f8;
}

.loads .Load-butn {
    padding: 6px 0;
    width: 85px;
    border-radius: 5px;
    color: #ffffff;
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 16px;
    border: none;
    font-weight: 700;
}

.drop-parent {
    position: relative;
    width: 100%;
}

.arrowimg {
    position: absolute;
    top: 14px;
    right: 10px;
}

.myButton {
    top: 41px;
    position: absolute;
    display: none;
    background: #ffffff;
    font-size: 14px;
    border: 1px solid #ccc;
    cursor: pointer;
    box-shadow: 0 12px 13px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.myButton {
    transition: 0.2s ease-in-out;
    width: 100%;
    z-index: 999;
    color: black;
}

.myButton .cstme-input {
    color: black;
}

.myButton .show {
    display: block;
    background-color: #007399;
    width: 100%;
    transition: 0.2s ease-in-out;
}

#myDropdown2 {
    display: none;
}

.rotatetwo {
    transform: rotate(90deg);
    transition: transform 0.3s;
}

.revert {
    transform: rotate(0deg);
    transition: transform 0.3s;
}

.Quote-heading {
    background: linear-gradient(180deg, #71B3C9 0%, #00779E 45.19%);
    border-radius: 7px;
    text-align: center;
    font-size: 19px;
    color: #ffffff;
    padding: 5px 0;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
}

.order-page-content {
    margin-left: 15px;
    margin-right: 15px;
}

.custome-cards-sec {
    margin: 16px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 10px;
    gap: 20px;

}

/* .single-cards {
    margin: 16px auto;
} */

.origin-drop {
    margin-top: 20px;
    display: flex !important;
}

.main-cards {
    justify-content: center;
    box-shadow: 0px 4px 4px 0px #00000040;
    padding: 18px;
    height: 100%;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.courir-left-sec,
.courir-right-sec {
    padding: 15px;
}

.top-filds {
    justify-content: center;
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-cards .hidden {
    display: none;
}

.courir-btn-sec {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.courir-btn-sec .golden-btn {
    background: linear-gradient(0deg, #FAA642 46.63%, #FCCB91 100%);
    border: none;
    padding: 10px;
    width: 120px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px #00000026;
    color: white;
    border-radius: 100px;
}

.courir-drop {
    width: 65%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.select-parent {
    padding: 0;
    margin: 0;
    max-height: 370px;
    overflow: auto;
}

.select-parent li {
    list-style: none;
    margin: 5px 0;
    padding: 0 12px;
}

.select-parent li:hover {
    background: linear-gradient(360deg, #71B3C9 0%, #00779E 100%);
    color: white;
}

.radio-toggle {
    cursor: pointer;
}

.custmer-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.custmer-fields input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #b4b4b4;
    font-size: 16px;
}

.display-col {
    display: flex !important;
    flex-direction: column !important;
}


.uploaddiv {
    background-color: #F8F8F8;
    box-shadow: 0px 4px 4px 0px #00000040;
    padding: 7px 15px;
    margin: 5px 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    border-radius: 6px;
}

.table-sec textarea {
    padding: 10px 13px 10px 10px !important;
    padding: 13px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #b4b4b4;
    width: 22vw;
}

.handling-outer {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    justify-content: initial;
    align-items: center;
    gap: 30px;
}

/* .handling-payment .selectdrop img {
    position: absolute;
    top: 44px;
    right: 8px;
} */

.handling-payment label {
    margin: 2px 0 6px 0;
    font-size: 16px;
}

.handling-outer .handling-card {
    padding: 30px 29px;
}


.handling-card {
    padding: 10px 45px 31px 45px;
    background-color: #F8F8F8 !important;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px #00000040;
}

.handling-card h3 {
    text-align: center;
    font-size: 16px;
}

.handling-card label {
    margin: 17px 0 10px 0;
    font-size: 16px;
}

.handling-card input,
textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #b4b4b4;
    font-size: 16px;
}

.handling-card ::placeholder {
    font-family: 'lato' !important;
}

.duedate {
    margin-top: 20px;
}

.ar-payment {
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px 10px;
}

.mpercent {
    margin: 5px 3px !important;
}

/* cargodetail-sec */
.cargodetail-sec,
.uploads-sec {
    padding: 10px 0;
}

.Quote-heading {
    background: linear-gradient(180deg, #71B3C9 0%, #00779E 45.19%);
    border-radius: 7px;
    text-align: center;
    font-size: 19px;
    color: #ffffff;
    padding: 5px 0;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700
}

.uploadfilebtn {
    border: none;
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px #00000026;
    color: white;
    border-radius: 10px;
}

#uploaddoc-ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    padding-left: 0 !important;
    width: max-content;
}

.rp-table tr td {
    width: 10% !important;
}

.tfooter {
    background-color: #007799;
    color: #fff;
    border-radius: 0 0 10px 10px;
    padding: 0 15px;
    margin: 0 0 10px 0;

}

/* cargodetail-sec */
.PricePayable-sec .table-container {
    max-width: 100%;
    overflow-x: auto;
    border-radius: 10px 10px 0 0;
    box-shadow: 0px 4px 4px 0px #00000040;
    padding-bottom: 4px;
    background: #F6F6F6;
}

.PricePayable-sec .rptable-container {
    border-radius: 0;
}

.addPR .Equip-unit {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.rp-table-outer {
    overflow: auto;
}

.col-full {
    width: 350px;
    font-size: 14px;
}

.add-vins-sec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fixd-load-sec {
    width: 35%;
}


.radiobutns label {
    border: 0.1px dashed #afafaf;
    padding: 6px;
    border-radius: 13px;
    cursor: pointer;
}

.radiobutns label.active-radio {
    border: 0.1px dashed #FAA642;
    background-color: #efefef;
}

.botom-last-check {
    width: 60%;
    margin: 0 auto;
    align-items: center;
    border: 1px solid #FAA642;
    border-radius: 11px;
    padding: 10px;
}

.botom-last-check .bot-fields {
    display: flex;
    align-items: center;
}

.miles-sec {
    text-align: center;
    margin-bottom: 5px;
}

.miles-sec .golden-btn {
    background: linear-gradient(0deg, #FAA642 46.63%, #FCCB91 100%);
    border: none;
    padding: 14px;
    width: 200px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0px 4px 4px 0px #00000026;
    color: white;
    border-radius: 10px;
}

.Lien-holder-btn-sec {
    text-align: end;
    margin-bottom: 15px;
}

.Lien-holder-btn-sec button {
    background: linear-gradient(0deg, #FAA642 46.63%, #FCCB91 100%);
    border: none;
    padding: 10px 15px;
    width: 120px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0px 4px 4px 0px #00000026;
    color: white;
    border-radius: 10px;
}

#lienHOld {
    display: none;
}

#lienHOld.active {
    display: block;
}


.driver-coll {
    grid-column: span 2;
    /* span across both columns */
}

.custome-modals .driver-modal {
    max-width: 600px !important;

}

.driver-modal .modal-content {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 15px;
}

.what-next-sec {
    margin-top: 30px;
}


.dateinpt,
.timepicker {
    position: relative;
}

.dateinpt input,
.timepicker input {
    width: 100%;
    padding-right: 15px;
    box-sizing: border-box;
}

.dateinpt svg,
.timepicker svg {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: #ffffff;
}

.radiobutns {
    justify-content: center;
    gap: 15px;
    margin: 18px 0;
    flex-wrap: wrap;
}

.radiobutns input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.table-container {
    max-width: 100%;
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px #00000040;
    /* margin: 20px 15px; */
    padding-bottom: 4px;
    background: #F6F6F6;
}

.table-sec .tablebtn {
    text-align: end;
    margin: 10px;
}

.table-sec .tablebtn button {
    border: none;
    padding: 10px;
    width: 120px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px #00000026;
    color: white;
    border-radius: 100px;
}

.custom-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    white-space: nowrap;
}

.custom-table thead {
    background-color: #007799;
    color: #fff;
}

.custom-table th {
    padding: 12px 10px;
    text-align: left;
    font-family: 'lato';
    vertical-align: middle;
    font-size: 14px;
}

.custom-table tbody tr td:nth-child(1) {
    text-align: center;
}

.custom-table td {
    padding: 6px 2px 5px 2px;
    text-align: left;
    font-family: 'lato';
    vertical-align: middle;
    font-size: 14px;
}

.custom-table input {
    padding: 8px 5px;
    font-size: 14px;
}

.custom-table td {
    background-color: #F6F6F6;
}

.custom-table tbody tr {
    border-top: 1px solid #eee;
    font-size: 14px;
    font-weight: 400;
    font-family: 'lato';
}

.custom-table tbody tr:last-child {
    border-bottom: none;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #007399;
    background-color: #cce6f0;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    vertical-align: middle;
}

/*========================= Main Content Styling END ================-=== */



/*========================= Custome Modal Stylin Start ==============-=== */
.custome-modals .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.custome-modals .modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custome-modals .modal-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 750px;
    width: 90%;
    max-height: 95vh;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.custome-modals ::-webkit-scrollbar {
    width: 8px;
}

.custome-modals ::-webkit-scrollbar-thumb {
    background: linear-gradient(0deg, #FAA642 75.48%, #FCCB91 100%);
    border-radius: 10px;
}

.custome-modals .modal-overlay.active .modal-box {
    transform: scale(1);
}

/* ===== Modal Content Scrollable ===== */
.custome-modals .modal-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.custome-modals .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.custome-modals .modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.custome-modals .close-btn {
    border: none;
    font-size: 21px;
    cursor: pointer;
    background: linear-gradient(0deg, #FAA642 75.48%, #FCCB91 100%);
    border-radius: 4px;
    font-weight: 600;
}

.custome-modals .modal-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}

.custome-modals .form-group input {
    padding: 10px 20px 10px 10px;
    border-radius: 5px;
    border: 1px solid #b4b4b4;
    font-size: 16px;
    width: 100%;
}

.custome-modals .form-group {
    display: flex;
    flex-direction: column;
}

.custome-modals .form-group label {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
}

.custome-modals .form-group input,
.custome-modals .form-group select {
    font-size: 14px;
}

.custome-modals .modal-footer {
    margin-top: 20px;
    text-align: right;
}

.custome-modals .modal-footer button {
    background: linear-gradient(0deg, #FAA642 46.63%, #FCCB91 100%);
    border: none;
    padding: 10px;
    width: 120px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px #00000026;
    color: white;
    border-radius: 100px;
}

/*========================= Custome Modal Stylin END ================-=== */

/*========================= Footer Styling START ======================== */
.footer-sec {
    background: linear-gradient(90deg, #6FB2C8 0%, #00779E 61.06%);
    padding: 18px;
    margin-left: 15px;
}

.footer-sec p {
    color: white;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}

/*========================= Footer Styling END ====================== */


/* @@@@@@@@@@@@@@@ Modira Query for Tablet Devices START @@@@@@@@@@@@@@@@@@@@ */
@media screen and (max-width: 1024px) {
    .sidebar {
        left: -250px;
    }

    .sidebar.open {
        left: 0;
    }

    .sidebar.collapsed {
        width: 220px !important;
    }

    .content {
        margin-left: 15px;
        margin-right: 15px;
        transition: 0.5s ease-in-out;
    }

    .toggleBtn img {
        width: 25px;
        height: 25px;
    }

    .mbltoggle {
        display: block;
    }

    .header {
        justify-content: left;
    }

    .header .logo-sec {
        padding: 10px 0 0 0;
    }

    .loads {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-sec {
        background: linear-gradient(90deg, #6FB2C8 0%, #00779E 61.06%);
        padding: 5px 20px;
        margin-left: 0 !important;
    }

    .order-page-content {
        margin-left: 0;
        margin-right: 0;
    }

    .uploaddiv {
        width: 100% !important;
    }

    #uploaddoc-ul {
        width: 100% !important;
    }

    /* .ar-payment {
        grid-template-columns: 1fr;
    } */

}

/* @@@@@@@@@@@@@@@ Modira Query for Tablet Devices END @@@@@@@@@@@@@@@@@@@@@@ */

/* @@@@@@@@@@@@@@@ Modira Query for Madium Devices START @@@@@@@@@@@@@@@@@@@@ */
@media (max-width: 768px) {

    .loads {
        grid-template-columns: repeat(2, 1fr);
    }

    .radio-checks {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .quote-datetime {
        padding: 0 20px;
    }

    .loads {
        padding: 12px;
        gap: 20px;
    }

    .cstme-input {
        width: 100% !important;
    }

    .load-items1,
    .load-items2,
    .radio-toggle .load-items3,
    .load-items4 {
        width: 100% !important;
    }

    .custom-table {
        font-size: 14px;
    }

    .half-w {
        width: 80% !important;
    }

    .table-sec .tablebtn {
        text-align: center;
    }

    .courir-drop {
        width: 100%;
    }

    .top-filds {
        display: block;

    }

    .one-grid {
        grid-template-columns: 1fr;
    }

    .mine-width {
        width: 40%;
    }

    .cargodetail-sec,
    .uploads-sec {
        padding: 8px 0 !important;
    }

    .ar-payment {
        grid-template-columns: 1fr 1fr;
    }

    .handling-outer {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ar-payment {
        grid-template-columns: 1fr 1fr;

    }

    .cargodetail-sec .table-sec {
        flex-direction: column !important;
    }

    .addwins-sec textarea {
        width: 100%;
    }

    .cargodetail-sec .radiobutns {
        font-size: 12px;
    }

    .uploadfilebtn {
        padding: 4px;
        width: 100% !important;

    }

    #uploaddoc-ul {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding-left: 0 !important;
        width: 100% !important;
    }

    .uploaddiv {
        padding: 10px 10px !important;
    }

    .table-sec textarea {

        width: 100% !important;
    }

    .Equip-unit input {
        width: 100% !important;
    }

    #multivinss {
        width: max-content !important;
    }

    .selectdrop {
        width: 100% !important;
    }

    .addPR {
        margin: 0 !important;
    }

    .col-full {
        width: 100%;
    }

    .fixd-load-sec {
        width: 50%;
    }

    .botom-last-check {
        width: 100%;
    }
}


@media (min-width: 768px) {
    .special-instruction .form-group {
        flex: 1 1 45%;
    }
}


@media (max-width: 767px) {
    .driver-modal .modal-content {
        grid-template-columns: 1fr !important;
    }

    .top-filds {
        display: block;
    }

    .custome-cards-sec {
        grid-template-columns: 1fr;
    }

    .custome-modals .modal-form {
        grid-template-columns: 1fr;
    }

    .add-vins-sec {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* @@@@@@@@@@@@@@@ Modira Query for Madium Devices END @@@@@@@@@@@@@@@@ */


/* @@@@@@@@@@@@@@@ Modira Query for Mobile Devices START @@@@@@@@@@@@@@ */
@media (max-width: 576px) {
    .loads {
        grid-template-columns: 1fr !important;
    }

    .quote-datetime {
        grid-template-columns: 1fr !important;
        padding: 0 13px;
        gap: 20px
    }

    .half-w {
        width: 100% !important;
    }

    .header .logo-sec img {
        width: 170px;
        height: auto;
    }

    .radio-checks {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .custome-modals .modal-form {
        grid-template-columns: repeat(1fr);
    }

    .custome-modals .modal-header {
        margin-bottom: 5px;
    }

    .custome-modals .modal-box {
        padding: 13px;
    }

    .custome-modals ::-webkit-scrollbar {
        display: none;
    }

    .custome-modals .modal-content {
        padding-right: 0;
    }

    .custome-modals .modal-footer {
        text-align: center;
    }

    .origin-drop {
        margin-top: 20px;
        display: block !important;
    }

    .mine-width {
        width: 100%;
    }

    .ar-payment {
        grid-template-columns: 1fr;
    }

    .handling-outer .handling-card {
        padding: 18px;
    }

    .fixd-load-sec {
        width: 100%;
    }

    .load-sec-prnt {
        justify-content: center;
    }

    .addPR .Equip-unit {
        display: block;
    }

    .addPR .Equip-unit .fixd-load-sec {
        margin-bottom: 15px;
    }

}

/* @@@@@@@@@@@@@@@ Modira Query for Mobile Devices END @@@@@@@@@@@@@@@@ */