/* Additional Parties row action buttons only visible on row hover */
.additional-party-actions {
    display: none;
}
.additional-party-row:hover .additional-party-actions {
    display: flex !important;
}
.additional-party-action-btn, .additional-party-action-icon, .additional-party-action-text {
    color: #D40511 !important;
}
.additional-party-action-btn:focus {
    outline: none;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Delivery', 'Inter', sans-serif;
    font-size: 13px;
}

.logo-image {
    /* background-color: #FFCC00; */
    padding-left: 40px;
    display: block;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: black;
    height: 64px;
}

.pothys {
    /* display: flex; */
    gap: 10px;
    /* align-items: center; */
    margin-right: 50px;
}

.navbar {
    background-color: #FFCC00 !important;
    display: flex;
    margin-top: 1px;
    font-size: 9px !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: none;
}

.breadcrumb-item:not(:last-child)::after {
    content: url('/assets/images/side-arrow.png');
    display: inline-block;
    margin-left: 30px;
}

.shipment {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 47px; 
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid #E5E5E5;
}

.card {
    margin-top: 0px;
    border-radius: 3px;
    border: 1px solid #E5E5E5;
}

.form-style label {
    font-size: clamp(0.75rem, 0.78rem + 0.2vw, 0.8125rem);
    font-weight: 500;
}

.form-style input,
.form-style select,
.form-style textarea {
    padding-left: 10px;
}

.form-style input:focus,
.form-style select:focus,
.form-style textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

.form-style ::placeholder {
    font-size: clamp(0.875rem, 0.85rem + 0.3vw, 0.9375rem);
    align-content: center;
    color: #10182880;
}

.add-party-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.add-party-btn:hover {
    background-color: rgba(212, 5, 17, 0.05);
}

.table > :not(caption) > * > * {
    padding: 16px 12px;
    background: none;
    border-bottom-color: #E5E5E5;
}

.table > thead > tr > th {
    font-size: 14px;
    border-bottom: 2px solid #E5E5E5;
}

.table > tbody > tr > td {
    font-size: 14px;
    color: #333333;
}

.icon {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
}

.icon span {
    background-color: #FFCC00;
    font-size: 12px;
    font-weight: 700;
    height: 24;
    display: inline-block;
    padding-top: 3.5px;
    padding-bottom: 2px;
    margin-right: -0.5px;
    padding-left: 5px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 1s ease, transform 1s ease;
}

.icon:hover span {
    opacity: 1;
    transform: translateX(0);
}

.save {
    color: #D40511;
    font-size: 15px;
    display: flex;
    text-decoration: none;
    flex-direction: row-reverse; 
}

.save:hover {
    text-decoration: underline;
}

.add-btn {
    color: #D40511;
    border: 1px solid #D40511;
    background-color: white;
    font-size: 16px;
    padding: 16px 24px;
    margin-top: 40px;
    border-radius: 4px;
}

.form-footer {
    display: flex;
    flex-direction: column;
    background-color: #F2F2F2;
    margin-top: 40px;
    padding: 12px 24px;
    border-left: 2px solid black;
    margin-bottom: 40px;

}

#down-arrow {
    margin-left: 6px;
}

.form-footer table th {
    padding-right: 30px !important;
}

.info {
    background-color: #F2F2F2 !important;
    padding-right: 30px !important;
}

.edits {
    opacity: 0;
    color: #D40511;
    font-weight: bold;
}

.form-footer tbody:hover .edits {
    opacity: 1;
}

/*.footer {
    display: flex;
    flex-direction: row;
    padding: 24px 170px;
    background-color: #F2F2F2;
}*/

.foot-left {
    display: flex;
    gap: 24px;
}

.foot-left a {
    text-decoration: none;
    font-weight: 700;
    color: #D40511;
    align-content: center;
}


#nextButton {
    padding: 16px 24px;
    border-radius: 4px;
    background-color: #D40511;
    color: white;
    border: none;
    font-weight: 700;
    transition: all 300ms ease-out;
}

#nextButton:hover {
    transition: all 300ms ease-out;
    background-color: #ce262e;
}

.addRecord {
    padding: 16px 24px;
    border-radius: 4px;
    background-color: #D40511;
    color: white;
    border: none;
    font-weight: 700;
    transition: all 300ms ease-out;
}

.addRecord:hover {
    transition: all 300ms ease-out;
    background-color: #ce262e;
}

#prevButton{
    background-color: #F2F2F2;
    border: 1px solid #D40511;
    color: #D40511;
    border-radius: 6px;
    padding: 0;
}

.shipment-breadcrums .breadcrumb-item {
    flex: 1;
    text-align: center;
    padding-bottom: 11px;
}

.card-header-border {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.tooltip-inner {
    padding: 10px;
    text-align: left;
    background-color: white;
    color: black;
    white-space: normal;
    max-width: none;
    width: 380px;
    height: auto;
    padding: 20px;
}

.tooltip-blue {
    color: blue;
}

.prohibited {
    border-top: 1px solid black;
}

.fnt {
    font-size: 12px;
}

.tooltip.show {
    opacity: 1;
}

.dropdown-menu {
    background-color: black;
    border-radius: 4px;
}

.dropdown-item {
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 12px;
}

.dropdown-item:hover {
    color: #FFCC00;
    background-color: black;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 20px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid black;
}

.modal-dialog {
    max-width: 800px;
    height: 500px;
}

.form-check-input:checked {
    background-color: black !important;
    border-color: black !important;
}

.modal-save {
    background-color: #d4585e;
    color: white;
    font-weight: 700;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
}

.modal-save:hover {
    background-color: #D40511;
    color: white;
    font-weight: 700;
}

.modal-body {
    padding: 15px 5px;
}

.breadcrumb-mobile {
    display: none;
}

.mob-item :hover {
    background-color: #FFCC00;
}

.mob-item:hover .home {
    display: none !important;
}

.mob-item:hover .home-r {
    display: inline-block !important;
}

.mob-item:hover .order {
    display: none !important;
}

.mob-item:hover .order-r {
    display: inline-block !important;
}

.mob-item:hover .shipment-svg {
    display: none !important;
}

.mob-item:hover .shipment-svg-r {
    display: inline-block !important;
}

.mob-item:hover .pickup {
    display: none !important;
}

.mob-item:hover .pickup-r {
    display: inline-block !important;
}

.error-style {
    color: #D40511;
    font-size: 12px;
}

#names-list {
    list-style: none;
}

#addressmodal .modal-dialog {
    max-width: 300px;
    width: 100%;
}

.section_2{
    /*display: none;*/
}

.com-details{
    border: 1px solid rgb(214, 213, 213);
    border-radius: 6px;
}
.com-details h6{
    border-bottom: 1px solid rgb(214, 213, 213);
}

.section_5 .d-flex.flex-row {
  gap: 0.5rem;
}

.section_5 .container.full-flex {
  flex: 1 1 0;
  display: flex;
}

.section_5 .container.full-flex > .card {
  flex: 1;
}


@media (max-width: 1126px) {
    .bread {
        font-size: 12px;
    }

    .bread img {
        height: 12px;
        width: 12px;
    }
}

@media(max-width: 858px) {
    .breadcrumb-mobile {
        display: block;
    }

    .breadcrumb-desktop {
        display: none;
    }
}

@media (max-width: 606px) {
    .resp-foot .d-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .foot-left,
    .foot-right {
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .foot-left a {
        display: block;
        margin: 5px 0;
    }
}

.offcanvas-title {
    color: grey;
    font-weight: 300;
    font-style: italic;
}

.desc{
    border: none;
    border-radius: 4px;
    padding: 7px 16px;
    font-weight: bold;
}



@media (max-width: 768px) {
    .form-style-main {
        padding: 0;
    }
}

@media (max-width: 528px) {
    .nav-right span {
        font-size: 14px;
    }

    .nav-right {
        gap: 2;
    }
}

@media (max-width: 994px) {
    .mobile-nav {
        display: flex;
    }

    .desk-nav {
        display: none;
    }
}

@media (min-width: 994px) {
    .mobile-nav {
        display: none;
    }

    .desk-nav {
        display: flex;
    }
}

/* RAS Applicable Component Styles */
.ras-applicable-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.ras-applicable-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 0;
}

.ras-applicable-value {
    background-color: #e9ecef;
    color: #6c757d;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    cursor: not-allowed;
    opacity: 1;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    line-height: 1.5;
}

/* Save Receiver Details Button */
.save-receiver-btn {
    background-color: white;
    color: #D40511;
    border: 2px solid #D40511;
    border-radius: 4px;
    padding: 11px 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: 0;
}

.radio-group {
    display: flex;
    gap: 48px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-text {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-black);
}

/*Bread crum*/
.breadcrumb-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 1.875rem);
    line-height: 1.4;
}

.title {
    font-size: clamp(1rem, 0.9rem + 0.3vw, 1.0625rem);
    font-weight: 700;
    margin-inline-start: clamp(0.4rem, 1vw, 0.625rem);
    word-break: break-word;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(0.4rem, 1vw, 0.625rem);
    margin-block-start: clamp(0.2rem, 0.6vw, 0.3125rem);
}

.step {
    display: flex;
    align-items: center;
    gap: clamp(0.35rem, 0.8vw, 0.5rem);
    color: #444;
    min-inline-size: 0;
    flex-wrap: wrap;
}

.circle {
    inline-size: clamp(0.75rem, 1vw, 0.875rem);
    block-size: clamp(0.75rem, 1vw, 0.875rem);
    border-radius: 50%;
    border: 0.125rem solid #ccc;
    flex-shrink: 0;
}

    .circle.active {
        background-color: #ffcc00; /* yellow */
        border-color: #ffcc00;
    }

.arrow {
    color: #555;
    font-size: 25px;
    font-weight: 300;
}

.arrow-profile {
    color: #555;
    font-size: 20px;
    font-weight: 300;
}

.prevButton {
    background-color: #F2F2F2;
    border: 1.5px solid #D40511;
    color: #D40511;
    border-radius: 6px;
    padding: 0;
    min-width: 7%;
}

/*Vishal CSS*/

/* Focus for checkbox and radio buttons */
/*input[type="checkbox"]:focus,
input[type="radio"]:focus {
    outline: 3px solid #80bdff;
    outline-offset: 2px;
    box-shadow: 0 0 5px rgba(0,123,255,.5);
*/

.focus-wrapper {
    padding: 6px;
    border-radius: 4px;
    /*display: inline-block;*/
}

    /* highlight wrapper when any input inside gets focus */
    .focus-wrapper input:focus {
        outline: none;
    }

        /*.focus-wrapper input:focus + label,
        .focus-wrapper input:focus {
            box-shadow: 0 0 0 3px #80bdff;
            border-radius: 4px;
        }*/
		

/*DIRECT SHIPMENT CSS*/
.ship3c-table{
    width: 100%;
}

.mandatory_label {
    font-size: 12px;
    font-weight: normal;
    display: flex;
}

.grdInvoice_view {
    width: 100%;
    border: 1px solid #E5E5E5;
    border-collapse: collapse;
    table-layout: fixed;
}

    .grdInvoice_view td, .grdInvoice_view th {
        padding: 4px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width:100%;
        height: 30px;
    }

    .grdInvoice_view th {
        font-size: 10pt;
    }

        /* Column widths using CSS grid */
        /*.grdInvoice_view tr {*/
        /*grid-template-columns: repeat(auto-fit, minmax(2rem, 1fr));*/
        /*grid-template-columns: 2rem 5rem 5rem 5rem 5rem 5rem 5rem 5rem;*/
        /*grid-template-columns: 0.5fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: clamp(0.4rem, 1vw, 0.75rem);
    }*/

        .grdInvoice_view th:nth-child(1), .grdInvoice_view td:nth-child(1) {
            width: 3%
        }

        .grdInvoice_view th:nth-child(2),
        .grdInvoice_view td:nth-child(2) {
            width: 5%
        }

        .grdInvoice_view th:nth-child(3),
        .grdInvoice_view td:nth-child(3) {
            width: 15%
        }

        .grdInvoice_view th:nth-child(4),
        .grdInvoice_view td:nth-child(4) {
            width: 15%
        }

        .grdInvoice_view th:nth-child(5),
        .grdInvoice_view td:nth-child(5) {
            width: 15%
        }

        .grdInvoice_view th:nth-child(6),
        .grdInvoice_view td:nth-child(6) {
            width: 10%
        }

        .grdInvoice_view th:nth-child(7),
        .grdInvoice_view td:nth-child(7) {
            width: 15%
        }

        .grdInvoice_view th:nth-child(8),
        .grdInvoice_view td:nth-child(8) {
            width: 15%
        }

.dot-box {
    height: 0px;
    width: 0px;
    text-align: center;
    background-color: #FFD600;
    border: hidden;
}