﻿.form-control, .form-select {
    width: 100%;
}

@media (max-width: 768px) {
    .col-md-6, .col-md-3 {
        flex: 1 0 33%;
    }

    .save-offer-styling {
        padding-top: 21px;
    }
}
.my-cargo {
    padding: 10px;
    border: 2px solid #DEE2E6;
    border-radius: 10px;
}

.offer-amount-styling {
    font-weight: bold;
    color: #E6B800;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

.modal-dialog-custom {
    max-width: 70% !important;
}
/* Responsive adjustments */
@media (max-width: 769px) {
    .my-cargo {
        margin-left: 6px
    }
}

.info-rotate-text {
    font-size: 14px;
    color: #0068b4;
}

/* cargo details**/
@media (max-width: 992px) {
    .my-cargo {
        margin-left: 6px;
    }
    .offer-container-styling {
        display: flex;
        font-size: 0.938rem;
        flex-wrap: wrap;
        margin-top: 0;
    }
    .btn-styling {
        width: 100%;
        max-width: 200px;
        margin-bottom: 10px;
        font-size: 14px;
    }
}
@media (max-width: 539px) {
    .my-cargo {
        margin-left: 6px;
    }

    .text-style {
        white-space: nowrap;
    }
    .offer-amount-styling,
    .text-nowrap {
        font-size: 14px;
        white-space: nowrap;
    }

    #DriverRotateId {
        width: 100%;
        font-size: 14px;
        padding: 8px;
    }

    .image-styling {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    #DriverRotateId {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn-styling {
        min-width: 100px;
        padding: 6px 12px;
        font-size: 14px;
    }
}
/* cargo details end**/

@media(max-width: 769px) {
    .request-info-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}
/**driver cargo hub offer container styling end****/
/**driver rotate styling start***/
.button-group {
    display: flex;
    gap: 10px;
    margin-left: auto;
}
.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #888;
}

@media (min-width: 1401px) {
    .row-space-styling {
        flex-wrap: nowrap !important;
        gap: 15px !important;
    }
}
@media (max-width: 1201px) {
    .column-container {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .cargo-hub-my-cargo {
        flex-direction: row;
        text-align: left;
    }

    .button-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .rotate-img {
        width: 100%;
        max-width: 250px;
        height: auto;
        object-fit: contain;
    }
}
    .cargo-hub-my-cargo {
        max-width: 100%;
        margin: 0 auto;
    }
    /**driver rotate styling end***/

    /**driver invoices styling start***/
    .filter-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

        .filter-item input {
            width: 100%;
            border-radius: 15px;
            padding: 3px 12px;
        }

    .invoice-col {
        background-color: #CDE3F1 !important;
        text-align: center;
        vertical-align: middle;
    }

    .invoice-filter {
        margin-left: -11px;
        justify-content: end;
    }

    @media (max-width: 769px) {
        .filter-form-invoices {
            flex-direction: column;
            gap: 10px;
        }

        .invoice-col {
            font-size: 15px;
        }

        .filter-item {
            width: 100%;
            font-size: 12px;
        }

        .invoice-filter {
            margin-left: 0;
        }

        .invoice-table {
            overflow-x: auto;
            display: block;
        }

        .invoice-content-table {
            width: 100%;
            font-size: 12px;
        }

            .invoice-content-table th,
            .invoice-content-table td {
                padding: 0;
                font-size: 12px;
                white-space: normal;
            }

        .invoice-icon-link i {
            display: inline-block;
        }

        .invoice-icon a {
            font-size: 16px !important;
            margin: 0 3px;
        }

        .get-quote-section {
            padding: 10px;
        }
    }

    @media (max-width: 550px) {
        .colgroup {
            padding-bottom: 12px !important;
        }
    }
    /**driver rotate styling end***/

    /***driver my offers styling start***/
    .offer-types-styling {
        font-size: 25px;
        margin-bottom: 2px;
        gap: 1rem;
    }

    .offer-link {
        color: black;
        text-decoration: none;
    }
    .recieved-offers-styling {
        font-size:small;
        margin-bottom: 0;
        margin-right: auto;
    }

    .recieved-offers-container button {
        width: auto;
        font-size: 14px;
    }

    @media(max-width: 768px) {
        .offer-types-styling {
            justify-content: center;
            width: 100%;
            gap: 1rem;
        }

        .offer-link {
            font-size: 17px;
            text-align: center;
        }
    }

    @media (max-width: 402px) {
        .offer-types-styling {
            gap: 0.5rem;
        }

        .offer-link {
            font-size: 17.5px;
        }
    }

    @media (max-width: 992px) {
        .recieved-offers-container p {
            font-size: 14px !important;
        }

        .recieved-offers-styling {
            margin-right: auto;
            white-space: normal;
        }

        .d-flex.align-items-center {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
        }
    }

    @media (max-width: 556px) {
        .recieved-offers-container {
            flex-direction: column;
            align-items: flex-start;
        }

            .recieved-offers-container p {
                width: 100%;
                margin-bottom: 5px;
            }

        .button-group {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            gap: 5px;
        }

            .button-group button {
                flex: 1 1 auto;
                max-width: 48%;
            }

        .recieved-offers-container strong {
            margin-left: 8px;
        }
    }
    /***driver my offers styling end***/

    /**cargohub*/
    .filter-result-image {
        height: auto;
    }

    @media (max-width: 768px) {
        .cargo-item {
            display: flex;
            flex-wrap: nowrap;
            justify-content: space-between;
        }

            .cargo-item > div {
                flex: 1;
                min-width: 0;
            }

        .filter-result-image {
            height: auto;
        }

        .cargo-hub-hdescription {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .action-button {
            white-space: nowrap;
        }

        .hub-flex {
            flex-direction: column;
        }

        .filter-form-group {
            width: 100%;
            padding-right: 0;
            margin-bottom: 10px;
        }
    }

    .cargo-hub-flex-container {
        display: flex;
        flex-wrap: nowrap;
    }
    .cargo-hub-my-cargo {
        padding: 4px;
    }
    .filter-button {
        width: 120px !important;
        padding: 8px 12px !important;
        font-size: 14px !important;
    }

    .cargo-hub-location-style {
        font-size: 16px;
    }

    .cargo-hub-hdescription {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .action-button {
        white-space: nowrap;
    }

    @media (max-width: 993px) {
        .cargo-hub-my-cargo {
            padding: 4px;
        }
        .cargo-hub-flex-container {
            flex-wrap: wrap;
        }
    }

    @media (max-width: 576px) {
        .cargo-item {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

            .cargo-item > div {
                width: 100%;
                margin-bottom: 10px;
            }

        .filter-result-image {
            height: auto;
            justify-self: center;
            display: flex;
            max-width: 120px;
        }

        .cargo-hub-hdescription {
            white-space: normal;
            text-overflow: clip;
        }

        .action-button {
            width: 100%;
            text-align: center;
        }
    }
    /**cargo hub end*/

    /**verification model pop up START*/
    #kvkkModal {
        z-index: 1051 !important;
    }

        #kvkkModal .modal-backdrop {
            z-index: 1050 !important;
        }

        #kvkkModal .modal-content {
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        #kvkkModal .modal-header {
            background-color: #f8f9fa;
            border-bottom: 1px solid #dee2e6;
        }

    .modal-title {
        font-weight: bold;
        font-size: large;
    }

    #kvkkModal .modal-body {
        padding: 20px;
    }

    .modal-dialog-custom {
        max-width: 80%;
    }

    /**verification model pop up END*/

    /**driver account styling start*/
    .edit-account-button {
        justify-content: end;
        display: inherit;
    }

        .edit-account-button button {
            width: 90px;
        }
    /**driver account styling end*/
    /**logout pop up styling start**/
    .custom-modal {
        background-color: #fff;
        border-radius: 10px;
        padding: 0;
        text-align: center;
    }

    .custom-icon {
        font-size: 30px;
        display: block;
        color: black;
        text-align: center;
        margin: 0 auto;
    }

    .logout-model-body {
        font-size: 16px;
        font-weight: bold;
        color: #333;
    }

    .logout-model-footer {
        border-top: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .confirm-logout-styling {
        background-color: #d6e4f0;
        color: #000;
        font-weight: bold;
        width: 90%;
        text-align: center;
        padding: 10px;
        border-radius: 5px;
        border: none;
    }

    .cancel-logout-styling {
        width: 90%;
        text-align: center;
        background-color: white;
        color: black;
        border: 1px solid #ccc;
        padding: 8px;
        border-radius: 5px;
        margin-top: 10px;
    }

    @media (min-width: 576px) {
        .modal-dialog {
            max-width: 400px;
        }
    }

    @media (min-width: 768px) {
        .modal-dialog {
            max-width: 500px;
        }
    }

    @media (max-width: 575px) {
        .modal-dialog {
            max-width: 90%;
            min-width: 300px;
            margin: auto;
        }

        .custom-model {
            padding: 0;
        }
    }
    /**logout pop up styling end**/
    .modal {
        background-color: rgba(0, 0, 0, 0.3);
    }

    .modal-backdrop {
        position: relative;
    }

    /* personal information phone number styling */
    .driver-profile-form .iti {
        width: 100%;
        display: block;
    }

        .driver-profile-form .iti input {
            width: 100% !important;
            height: 45px;
            padding: 0.375rem 0.75rem;
        }

    .driver-profile-form .iti--allow-dropdown {
        width: 100%;
    }

    #createRotateForm .form-control {
        height: 50px;
        padding: 10px 20px;
        cursor: pointer;
        margin-bottom: 0px !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;
    }

    @media (max-width: 991px) {
        #menuAccount {
            display: none !important;
        }
    }
.justify-self-center {
    justify-self:center;
}
.justify-items-center {
    justify-items: center;
}
.modal-backdrop.show 
{
    opacity:0;
}
.modal-backdrop {
    z-index: -1;
}
    @media print {
        .invoice-icon-link {
            display: none;
        }
    }
    .invoice-operations {
        display: flex;
        gap: 220px;
        justify-content: center;
        flex-wrap: wrap;
    }
.invoice-operations a
{
    color:black;
        }
    @media (max-width: 768px) {
        .invoice-operations {
            gap: 120px;
        }
        .invoice-icon-link {
            padding: 8px 16px;
            font-size: 14px;
        }
    }

    @media (max-width: 480px) {
        .invoice-operations {
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .invoice-icon-link {
            width: 80%;
            text-align: center;
        }
    }

    /**forgot passoword styling*/
    .go-back {
        border-radius: 10px;
        color: gray;
    }

    .do-password-title {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .do-password-content {
        background-color: #E5E7EB;
        border-radius: 20px;
    }

    .border-radios-10 {
        border-radius: 10px;
    }

    .font-weight-100 {
        font-weight: 100;
    }
.modal-open .pac-container {
    z-index: 99999 !important;
}
.log-font {
    font-size: 13px;
    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: 2px;
}
#log-overflow {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1px;
    height: 245px;
    background-color: #f9f9f9;
    scroll-behavior: auto;
    max-height: 500px;
}

.btn-outline-blue {
    color: #0047FF;
    border-color: #0047FF;
}

    .btn-outline-blue:hover {
        color: #fff;
        background-color: #0047FF;
        border-color: #0047FF;
    }
@media (max-width: 992px) {
    .list-action-button {
        display: block;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}
/**notification*/
.notification-styling {
    font-size:21px;
    color:green;
}
.faded {
    opacity: 0.7;
}

/**driver feedback modal*/
.dialog-styling {
    max-width: 70vw;
    width: auto;
}
.content-styling {
    max-height: 95vh;
    overflow-y: auto;
}

/*message icon***/
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #ff5c00;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
}

.my-float {
    margin-top: 22px;
}