﻿
/*Rotate Detail*/
.custom-cargo-detail-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-cargo-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.custom-cargo-info-card {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.custom-cargo-image {
    width: 350px;
    height: 250px;
    border-radius: 5px;   
}

.custom-cargo-info {
    flex-grow: 1;
}

.custom-cargo-description {
    font-size: 14px;
    color: #555;
}

.custom-offer-section {
    background-color: #fff;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left:21px;
  
}

.custom-offer-amount {
    font-size: 18px;
    font-weight: bold;
    color: #ff6600;
}


.custom-edit-offer-btn {
    background-color: #6c757d;
    color: white;
}

.custom-remove-offer-btn {
    background-color: #dc3545;
    color: white;
}
.rotatedetailcontentdiv {  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-left:20px;
    margin-top:15px;
}
.custom-icon-drh {
    font-size: 22px;
    color: #000000;
    margin-right: 8px;
}
.custom-label-drh {
    font-weight: bold;
    font-size: 16px;
    color: #000;
}
.custom-text-drh {
    font-size: 16px;
    color: #000;
}

.rotatedetailbtn{
    margin-bottom:-22px;
}
@media (max-width: 768px) {
    .custom-cargo-info-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-offer-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-offer-buttons {      
        justify-content: space-between;
    }
}
/*User-Offers*/
.offers-user-icon {
    font-size: 22px;
    color: #000000;
    margin-right:0px!important;
}

.offers-user-label {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.offers-user-text {
    font-size: 18px;
    color: #555;
}

.offers-user-container {
    background-color: #f8f9fa;
    padding:0px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.offers-user-img {
    height: 200px;
    text-align:start!important;
}
.offers-user-info-section {
    padding-top: 33px;
    padding-left: 0px!important;
}
.offers-user-dropdown {
    width: 350px;
}
#editOfferBtn{
    background-color: #0068b4!important;
    width:150px;
}
#saveOfferBtn{
    width:150px;
}

.offers-user-remove-btn{
    width:150px;  
}
.custom-offer-buttons{
    margin-top:30px;
}
.user-cargodetail-takenconfirm {
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 4px;
    background-color: rgba(255, 254, 254, 1);
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%; 
}
.user-cargodetail-takenconfirm-btn {
    width: 100px;
}

/*Payment View*/

.selectable-card {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .selectable-card:hover {
        background-color: #f8f9fa;
        transform: scale(1.02);
    }

.selected-card {
    background-color: #e9ffe9 !important;
}
/*add Credit Card*/
.addcc-label{
    font-size:16px!important;
}

/*user-payment image style*/
.imagesRow {
    display: flex;
    flex-wrap: wrap;
    gap: 0px; 
    justify-content: flex-start;
    padding-top:10px;
}
.img-wrapper {
    position: relative;
    width: 100px; 
}
.uploaded-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.remove-btn-payment {
    position: absolute;
    top: -0px;
    left: 5px;
    background: #f44336;
    color: white;
    padding: 5px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 60%;
    width: 24px;
    height: 24px;
}
.sendtransfer-btn {
    box-shadow: 0px 2px 6px #007bff;
}
/*Driver rotate hub offer buttons responsive*/
@media (max-width: 992px) {
        .custom-offer-buttons .btn {
            white-space: nowrap;
            width: 100%;
        }

        .custom-offer-buttons button,
        .custom-offer-buttons a {
            width: 90%!important;
            text-align: center;
        }
}
@media (max-width: 768px) {
    .users-offers-section .row.d-flex {
        flex-direction: column;
    }
    .custom-offer-buttons {
        margin-top: 2px;
        width: 100%;
    }
    .custom-offer-buttons .btn {       
            white-space: nowrap; 
            width: 100%;
    }
    .users-offers-section .form-group {
        margin-bottom: 10px;
    }
}

/*cargo detail responsive*/
@media (max-width: 767px) {
    .custom-cargo-info .form-group {
        flex-wrap: nowrap;
        align-items: center;
        text-align: left;
    }
      .custom-label-drh,.custom-icon-drh{
          justify-content:center;
      }
    .custom-cargo-info .form-group {
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
    }
    .form-group{
        margin-top:5px;
    }
    .custom-cargo-info .form-group span {
        display: block;
        text-align: center; 
    }
    #cargo-dimensions-group .custom-label-drh {
        display: inline-block;
        padding-right:2px;
    }
    #cargo-dimensions-group .custom-text-drh {
        display: inline-block;
       
    }
    .rotatedetailcontentdiv h3 {
        text-align: center;
        width: 100%;
    }
    .rotatedetailcontentdiv img {  
        margin: 5px auto;
    }
    .custom-offer-section {
        text-align: center;
        padding: 15px;
    }
    .sendtransfer-btn {
        width: 100%;
    }
    .custom-offer-section label {
        display: block;
        text-align: center;
        width: 100%;
        margin-bottom: 5px;
    }
        .custom-offer-section .d-flex {
            justify-content: center !important;
            flex-wrap: wrap;
            gap: 5px;
        }
        .custom-offer-section .btn {
            width: 100%;
        }
        .custom-offer-section .alert {
            text-align: center;
            width: 100%;
        }
}
#endlocationicon{
    font-size:21px!important;
}
#cargostatus-text {
    font-size: 16px;
    color: #0068b4;
}

/*Invoice Details*/
.invoice-box {
    max-width: 800px;
    margin: auto;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    line-height: 24px;
    font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
    color: #555;
}

.invoice-box table {
    width: 100%;
    line-height: inherit;
    text-align: left;
    border-collapse: collapse;
}

    .invoice-box table td {
        padding: 5px;
        vertical-align: top;
    }

    .invoice-box table tr td:nth-child(2) {
        text-align: right;
    }

    .invoice-box table tr.top table td {
        padding-bottom: 20px;
    }

        .invoice-box table tr.top table td.title {
            font-size: 45px;
            line-height: 45px;
            color: #333;
        }

    .invoice-box table tr.information table td {
        padding-bottom: 40px;
    }

    .invoice-box table tr.heading td {
        background: #eee;
        border-bottom: 1px solid #ddd;
        font-weight: bold;
    }

    .invoice-box table tr.details td {
        padding-bottom: 20px;
    }

    .invoice-box table tr.item td {
        border-bottom: 1px solid #eee;
    }

    .invoice-box table tr.item.last td {
        border-bottom: none;
    }

    .invoice-box table tr.total td:nth-child(2) {
        border-top: 2px solid #eee;
        font-weight: bold;
    }

@media only screen and (max-width: 600px) {
    .invoice-box table tr.top table td {
        width: 100%;
        display: block;
        text-align: center;
    }

    .invoice-box table tr.information table td {
        width: 100%;
        display: block;
        text-align: center;
    }
}
@media (max-width: 991px) {
    #menuAccount {
        display: none !important;
    }
}

.offer-link.active {
    color: #0068B4;
}

.how-to-use-guide{
    padding:80px;
}
.how-to-use-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


.fordrivers-row {
    margin-left: 100px;
}

.general-howtouse-section {
    margin-top: 50px;
}
@media (max-width: 767px) {
    .how-to-use-position-relativee::before {
        visibility: collapse;
    }
    .how-to-use-wrapper {
        padding: 1rem !important;
    }

    .how-to-use-overview {
        padding: 1rem !important;
    }

        .how-to-use-overview h2 {
            font-size: 1.5rem !important;
        }

        .how-to-use-overview h1 {
            font-size: 1.25rem !important;
        }

    .how-to-use-row {
        padding: 1rem 0 !important;
    }

    .how-to-use-image {
        height: 150px !important;
        margin-bottom: 1rem;
    }

    .how-to-use-step {
        padding: 0 1rem;
    }

        .how-to-use-step strong {
            font-size: 1.1rem;
            display: block;
            margin-bottom: 0.5rem;
        }

        .how-to-use-step p {
            font-size: 0.9rem;
            line-height: 1.4;
        }

    .how-to-use-feature-list {
        font-size: 0.9rem;
    }

        .how-to-use-feature-list li {
            margin-bottom: 0.5rem !important;
        }
}

@media (max-width: 575px) {
    .how-to-use-position-relative::before {
        visibility: collapse;
    }
    .how-to-use-overview h2 {
        font-size: 1.25rem !important;
    }

    .how-to-use-overview h1 {
        font-size: 1.1rem !important;
    }

    .how-to-use-image {
        height: 120px !important;
    }

    .how-to-use-step strong {
        font-size: 1rem;
    }

    .how-to-use-step p {
        font-size: 0.85rem;
    }

    .how-to-use-feature-list {
        font-size: 0.85rem;
    }
}

.how-to-use-wrapper {
    background-color: #f8f9fa;
}

.how-to-use-overview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.how-to-use-row {
    transition: all 0.3s ease;
}

    .how-to-use-row:hover {
        background-color: rgba(0,0,0,0.02);
        transform: translateY(-2px);
    }

.how-to-use-image {
    transition: all 0.3s ease;
    overflow: hidden;
}

    .how-to-use-image:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

.how-to-use-step {
    transition: all 0.3s ease;
}

    .how-to-use-step:hover {
        transform: translateX(5px);
    }

#imageModalhtu .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#imageModalhtu .modal-header {
    background: linear-gradient(135deg, #3c0c70 0%, #6c757d 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

#imageModalhtu .modal-title {
    font-weight: 600;
}

#imageModalhtu .btn-close {
    filter: invert(1);
}


.htu-guide {
    padding: 80px 0;
}

.htu-wrapper {
    background-color: #f8f9fa;
    padding: 100px;
}

.htu-overview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.htu-main-title {
    font-size: 2rem;
    font-weight: 600;
}

.htu-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
}

.htu-feature-list {
    list-style-type: none;
    padding-left: 0;
}

    .htu-feature-list li {
        position: relative;
        padding-left: 1.5rem;
        margin-bottom: 0.5rem;
        color: #495057;
    }

        .htu-feature-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #28a745;
            font-weight: bold;
        }

.htu-logo-container {
    margin-top: 1rem;
}

.htu-logo {
    max-height: 300px;
    transition: transform 0.3s ease;
}

    .htu-logo:hover {
        transform: scale(1.05);
    }

.htu-guide-title {
    color: #343a40;
    font-weight: 700;
}

.htu-main-section {
    margin-top: 50px;
}

.htu-drivers-column {
    margin-left: 100px;
}



@media (min-width: 992px) {
    .htu-full-width-mobile {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.htu-column-title {
    color: #495057;
    font-weight: 600;
}

.htu-step-row {
    transition: all 0.3s ease;
    border-bottom: 1px solid #dee2e6;
}

    .htu-step-row:hover {
        background-color: rgba(0,0,0,0.02);
        transform: translateY(-2px);
    }

.htu-image-container {
    height: 200px;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
}

    .htu-image-container:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

.htu-step-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .htu-step-image:hover {
        transform: scale(1.1);
    }

.htu-connector-line {
    position: relative;
}

.htu-line {
    height: 100%;
}

.htu-dot {
    width: 10px;
    height: 10px;
    margin-left: -5px;
    top: 50%;
    transform: translateY(-50%);
}

.htu-step-content {
    transition: all 0.3s ease;
}

    .htu-step-content:hover {
        transform: translateX(5px);
    }

.htu-step-title {
    font-size: 1.2rem;
    color: #343a40;
    display: block;
    margin-bottom: 0.5rem;
}

.htu-step-description {
    color: #6c757d;
    line-height: 1.5;
}

.htu-modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.htu-modal-header {
    background: linear-gradient(135deg, #3c0c70 0%, #6c757d 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.htu-modal-title {
    font-weight: 600;
}

.htu-modal-close {
    filter: invert(1);
}

.htu-preview-image {
    border-radius: 8px;
}
@media (max-width: 991px) {
    .htu-full-width-mobile {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 2rem;
    }

    .htu-drivers-column {
        margin-left: 0;
    }

    .htu-connector-line {
        display: none !important;
    }

    .htu-step-row {
        text-align: center;
    }

    .htu-step-content {
        margin-top: 15px;
        text-align: center;
    }

    .htu-image-container {
        margin-bottom: 15px;
    }

    .htu-main-section {
        margin-top: 30px;
    }

    .htu-overview {
        margin-top: 30px;
    }

    .htu-guide {
        padding: 40px 0;
    }
    .htu-shippers-column,
    .htu-drivers-column {
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .htu-column-title {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 1.3rem;
        color: #343a40;
        font-weight: 700;
    }
    .htu-step-content {
        text-align: center !important;
        margin-top: 15px;
    }

    .htu-step-title {
        text-align: center;
    }

    .htu-step-description {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .htu-wrapper {
        padding: 0px;
    }
    .htu-wrapper {
        padding: 1rem !important;
    }

    .htu-overview {
        padding: 1rem !important;
    }

    .htu-main-title {
        font-size: 1.5rem !important;
    }

    .htu-guide-title {
        font-size: 1.25rem !important;
    }

    .htu-step-row {
        padding: 1rem 0 !important;
    }

    .htu-image-container {
        height: 150px !important;
        margin-bottom: 1rem;
    }

    .htu-step-content {
        padding: 0 1rem;
    }

    .htu-step-title {
        font-size: 1.1rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    .htu-step-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .htu-feature-list {
        font-size: 0.9rem;
    }

        .htu-feature-list li {
            margin-bottom: 0.5rem !important;
        }

    .htu-description {
        font-size: 1rem;
    }

    .htu-logo {
        max-height: 200px;
    }
    .htu-shippers-column,
    .htu-drivers-column {
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .htu-column-title {
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 575px) {
    .htu-wrapper {
        padding: 0px;
    }
    .htu-main-title {
        font-size: 1.25rem !important;
    }

    .htu-guide-title {
        font-size: 1.1rem !important;
    }

    .htu-image-container {
        height: 120px !important;
    }

    .htu-step-title {
        font-size: 1rem;
    }

    .htu-step-description {
        font-size: 0.85rem;
    }

    .htu-feature-list {
        font-size: 0.85rem;
    }

    .htu-description {
        font-size: 0.95rem;
    }

    .htu-logo {
        max-height: 150px;
    }

    .htu-guide {
        padding: 20px 0;
    }
    .htu-shippers-column,
    .htu-drivers-column {
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .htu-column-title {
        text-align: center;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }
}
@media (max-width: 480px) {
    .htu-wrapper {
        padding: 0px;
    }
    .htu-column-title {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .htu-step-row {
        margin-bottom: 1rem;
        padding: 0.75rem 0 !important;
    }

    .htu-image-container {
        height: 100px !important;
    }

    .htu-step-title {
        font-size: 0.95rem;
    }

    .htu-step-description {
        font-size: 0.8rem;
    }
    .htu-shippers-column,
    .htu-drivers-column {
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}