.select-category{
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='32' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: -5px;
}
.header_section{
    background-color: #164bf8;
}
.head1{
    background: linear-gradient(90deg, #59c5e6, #184eff);color: #fff;
}
.title_cd{
    background: #416bf5;
    color: #fff;
}
.sub-title{
    font-size: 14px;
}
.bg_f{
    background-color: #47f3ff !important;
}
.final_form {
    font-size: 18px !important;
    font-weight: 1000;
    color: #000;
}
.margf1{
    margin-top: 20px;
}
.margm1{
    margin-top: 20px;
}
.margs1{
    margin-top: 20px;
}
.responsef1{
    font-size: 13px;
}
.responsem1{
    font-size: 13px;
}
.responses1{
    font-size: 13px;
}
.response2{
    color: #fff;
    font-size: 18px;
}
.titlefont{
    color: #fff;
    font-size: 25px;
}
.hero h2 {
    font-size: 24px;
}
.tablefont{
    font-size: 11px;
}
.tfont{
    font-size: 12px;
    color: #013289;
}
.form-control{
    font-size: 10px;
}
.countmargf{
    margin-top: 55px;
}
.countmargs{
    margin-top: 55px;
}
.countmargm{
    margin-top: 55px;
}
.refresh-button{
    width: 60px;
}
.line{
    border-left: 1px solid #000;
    height: auto;
    margin-left: 4%;
    margin-right: -4%;
}
.heading1{
    font-size: 13px;
}
.edit{
    font-size: 15px;
}
.final0{
    color: #fff;
    background: linear-gradient(90deg, #f06292, #184eff);color: #fff;
    font-size: 15px !important;
}
.final1{
    font-weight: bolder;
    font-size: 12px;
}
.drop_arrow{
    cursor: pointer;
    margin-left: 10px;
    color: #fff;
}
.toggle-forging{
    cursor: pointer;
    margin-left: 5px;   
}
.btn-primary{
    font-size: 13px;
}
.mach2{
    margin-top: 20px;
}
.mach3{
    margin-top: 5px;
}
.total_marg{
    margin-top: 4px;
}
.total_font{
    font-size:80%;
}
.mat_total{
    font-size: 12px;
    color: #fff;
}
.warn{
    font-size: 15px;
    color: red;
    animation: blink 0.5s ease-in-out 6 forwards;
}
@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
  }
.title_cs{
    font-weight:bolder;
    font-size: 20px;
    border: 1px solid;
    padding: 3px 10px;
    background: linear-gradient(90deg, #59c5e6, #184eff);
    color: #fff;
    height: 50%;
}
.country_btn{
    background-color: #EAEAF0;
    color: #012970;
    font-size: 12px; 
    border-radius: 6px; 
    padding: 2px 8px;
}

/* First Heading CSS */
.custom-heading-row.full-width-alt .col-1 {
    display: none !important;
    }
    .custom-heading-row.full-width-alt .col-10 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    }

/* Second Heading CSS */
.custom-heading-row-manufacturing.full-width-manufacturing .col-1 {
    display: none !important;
    }
    .custom-heading-row-manufacturing.full-width-manufacturing .col-10 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    }

/* Third Heading CSS */
.custom-heading-row-expenses.full-width-expenses .col-1 {
    display: none !important;
    }
    .custom-heading-row-expenses.full-width-expenses .col-10 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    }

.form-control{
    border: 1px solid rgb(189, 188, 188);
}
.scroll-container {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}
.scroll-input {
    width: 100%;
}
.scroll-text {
    position: absolute;
    top: 50%;
    white-space: nowrap;
    pointer-events: none;
    color: #888;
}
.scroll-text {
    animation: none;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
}
#annual_volume{
    width: auto;
}
#unitDropdown{
    width: auto;
}
.adjustwidth {
    min-width: fit-content;
    max-width: 40%;
}
#message-container {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.821);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    display: none;
    z-index: 1000;
}
.disabled-btn { 
    opacity: 0.5;
    cursor: not-allowed;
}
.usa-btn {
    background-color: #012970 !important;
    color: #EAEAF0 !important;
}
.country_btn {
    background-color: #EAEAF0;
    color: #000;
    font-size: 12px;
    border-radius: 6px;
    padding: 2px 8px;
    text-decoration: none;
    cursor: pointer;
}
.country_btn.selected-btn {
    background-color: #012970;
    color: #EAEAF0;
}
.asterisk{
    color: red;
}
.sing_button{
    background-color: #f2f5ff ;
    padding-top: 2%;
    padding-bottom: 14%;
    border-radius: 10px;
    margin: 2px;
}
.search_notif1 {
    font-size: 18px;
    color: #012970;
    margin-bottom: 10px;
}
.notifi_form{
    font-size: 12px !important;
}
.search_notifi2 {
    font-weight: bold;
    color: white;
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px !important;
    animation: scaleButton 1s ease-in-out infinite;
}
@keyframes scaleButton {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(0.8);
    }
}
.new_tool_button{
    background-color: #164bf8;
    color: #fff;
    border-radius: 6px;
    overflow: hidden;
}
section {
    padding: 2px 0 !important;
}
.map-overlay {
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}
.port-card {
    position: relative;
    background: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    pointer-events: auto;
    min-width: 140px;
}
.port-card .dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}
.port-card.origin  .dot { background: #28a745; }
.port-card.destination .dot { background: #dc3545; }
.connector {
    flex: 1;
    display: flex;
    align-items: center;
}
.connector .lined {
    flex: 1;
    border-top: 2px dashed rgba(255,255,255,0.8);
}
.connector .icon {
    width: 32px; height: 32px;
    background: #fff;
    border-radius: 50%;
    margin: 0 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.connector .icon i {
    font-size: 1rem;
    color: #333;
}
.resultcontainer{
    margin-top: 1%;
    padding: 1%;
}
.shippinglines{
    font-size: 36px;
}
@media (max-width: 480px) {
    .map-overlay {
        flex-direction: column;
        align-items: center;
        top: 40px;
        height: 50%;
        padding: 10px 0;
    }
    .map-container {
        height: 250px;
    }
    .connector {
        flex-direction: column;
        width: auto;
        margin: 12px 0;
    }
    .connector .line {
        border-top: none;
        border-left: 2px dashed rgba(255,255,255,0.8);
        flex: 1;
        width: 0;
        margin: 0;
    }
    .connector .icon {
        margin: 8px 0;
    }
    .headfontsize{
        font-size: 15px;
    }
    .text-muted{
        font-size: 12px;
    }
    .hide-xs{
        display: none !important;
    }
    .expand-xs { 
        flex: 0 0 100% !important; 
        max-width: 100% !important; 
    }
    .table-striped{
        font-size: 12px;
    }
    .resultcontainer{
        margin-top: 0;
    }
}
@media screen and (max-width: 480px) {
    .responsem1{
        font-size: 9px;
    }
    .responses1{
        font-size: 10px;
    }
    .responsef1{
        font-size: 7px;
    }
    .response2{
        font-size: 12px;
    }
    .titlefont{
        font-size: 18px;
    }
    .btn-primary{
        font-size: 7px;
    }
    .form-control{
        font-size: 7px;
    }
    .tablefont{
        font-size: 7px;
    }
    .tfont{
        font-size: 9px;
    }
    .mat_total{
        font-size: 10px;
    }
    .marg{
        margin-top: -12px;
    }
    .Estimate_for {
        font-size: 86%;
        top: 2.6rem;
    }
    .heading1{
        font-size: 7px;
    }
    .final0{
        font-size: 8px !important;
    }
    .hero h2 {
        font-size: 14px;
    }
    .margm1{
        margin-top: 10px;
    }
    .margs1{
        margin-top: -15px;
    }
    .mach2{
        margin-bottom: 25px;
    }
    .mach3{
        margin-top: 0px;
    }
    .stamp2{
        margin-top: -10px;
    }
    .stamp3{
        margin-top: -20px;
    }
    .btnlen{
        width: 28%;
        max-width: 100%;
    }
    .btnsize{
        width: 100%;
    }
    .total_font {
        font-size: 60%;
    }
    .total_marg{
        margin-top: 16px;
    }
    .countmargf{
        margin-top: 14px;
    }
    .countmargm{
        margin-top: 30px;
    }
    .countmargs{
        margin-top: 26px;
    }
    .warn{
        font-size: 11px;
    }
    .edit{
        font-size: 10px;
    }
    .title_cs{
        font-size: 10px;
    }
    .custom-heading-row .col-1 {
        display: none !important;
    }
    .custom-heading-row .col-10 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .custom-heading-row-manufacturing .col-1 {
        display: none !important;
    }
    .custom-heading-row-manufacturing .col-10 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .custom-heading-row-expenses .col-1 {
        display: none !important;
    }
    .custom-heading-row-expenses .col-10 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .scroll-text {
        left: 100%;
        transform: translateY(-50%);
        font-size: 7px;
        animation: marquee 10s linear infinite;
    }
    @keyframes marquee {
        0% { transform: translateY(-50%) translateX(0); }
        100% { transform: translateY(-50%) translateX(-200%); }
    }
    .check_size{
        width: 10px;
    }
    .sing_button{
        padding-top: 5%;
        padding-bottom: 60%;
    }
    .final_form {
        font-size: 14px !important;
    }
    .title_cd{
        font-size: 12PX;
    }
    .sub-title{
        font-size: 10px;
    }
    .country-scroll-wrapper {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    .country-scroll-wrapper .d-flex {
        flex-wrap: nowrap;
    }
    .adjustwidth {
        min-width: 70%;
    }
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Blurred background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-content {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
} 
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}
.feedback-trigger {
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
}

.feedback-trigger:hover {
    color: #0056b3;
}