/* ==========================================================================
   1. Global Resets & Base Styles
   ========================================================================== */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #000;
    font-family: Arial, sans-serif;
}

/* Force Navbar and Content to align to the same boundaries */
.main-container, 
.custom-navbar .container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* ==========================================================================
   2. Components (Logo, Dropdowns, Sidebars)
   ========================================================================== */

.logo {
    width: 220px;
    height: auto;
    max-width: 100%;
    padding-left: 20px;
}

/* --- Dropdown Switchers (Logic & Colors) --- */
.switcher, .countries-switcher {
    font-family: Arial, sans-serif;
    font-size: 12pt;
}

.switcher .Select-control, 
.countries-switcher .Select-control {
    border: 1px solid gray !important;
    border-radius: 0 !important;
    background-color: #fff;
    position: relative;
    z-index: 9999;
}

/* Language Switcher Specific Colors */
.switcher { width: 250px; }
/* width for lang */
.switcher .Select-control {
    width: 163px; 
    height: 38px;     
    background: white;
}
/* modified one  */
/* 1. Remove the rotation animation when the dropdown is open */
.switcher .is-open .Select-arrow {
    transform: none !important;
    -webkit-transform: none !important;
}

/* 2. Remove any transition timing to prevent 'slow' movement or blinking */
.switcher .Select-arrow-zone, 
.switcher .Select-arrow {
    transition: none !important;
    animation: none !important;
}

/* 3. Ensure the arrow stays in its original downward position */
.switcher .Select-arrow {
    border-top-color: #333 !important; /* Adjust color to match your design */
    top: 0px !important; 
}



.switcher .Select-control:hover { background: #ffffff; }

.switcher .Select-menu-outer {
    width: 140px;
    background-color: #eee;
    border: 1px solid #333;
}

.reset-button {
    background: transparent;
    border: 1px solid #e5e5e5;
    color: #063865;
    float: left;
    margin-right: 10px;
    padding: 2px 15px;
    text-decoration: none;
    text-transform: capitalize;
}
/* modified placeholder */
/* This targets the placeholder text specifically */
#catalog::placeholder {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Optional: Ensures the input itself doesn't expand */
#catalog {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Selected option */ 
.switcher .Select-option.is-selected,
.switcher .VirtualizedSelectSelectedOption {
    background-color: #fff !important;
    color: #000 !important;
}
/* Hovered/focused option */
.switcher .Select-option:hover,
.switcher .VirtualizedSelectFocusedOption {
    background-color: #fff !important;
    color: #000 !important;
}
/* Country Switcher Specific Colors */
/* .countries-switcher { 
    width: 23.5vw; 
} */
.countries-switcher .Select-menu {
    max-height: 100%;  /* show 4 options */
    overflow-y: auto;            /* single scrollbar */
}

.countries-switcher .Select-menu-outer {
    top: auto !important;       /* reset default */
    bottom: 100% !important;    /* anchor above the control */
    margin-top: 0 !important;
    margin-bottom: 4px;         /* small gap between input and menu */
}



.countries-switcher .Select-option:hover,
.countries-switcher .VirtualizedSelectFocusedOption {
    background-color: #007BFF !important;
    color: #fff !important;
}

/* --- Sidebars & Buttons --- */
.left-sidebar { margin-bottom: 50px; padding: 0; margin-left: 10px; }
.left-sidebar .sidebar-content { background: #063865; color: #FFF; padding: 20px 2px 8px 20px; }
.sidebar-list { background: #2c2e35; color: #fff; padding: 20px 2px 8px 20px; }

.sidebar-content, .sidebar-list {
    width: 100%;
    margin-left: 0;
    margin-bottom: 30px;
}

/* Ensure links inside sidebars wrap and don't overflow/clip */
.sidebar-content, .sidebar-list {
    padding-right: 12px; /* small right padding to avoid visual clipping */
}
.sidebar-content a, .sidebar-list a {
    word-break: break-word;
    overflow-wrap: anywhere;
    display: inline-block; /* allow max-width to constrain wrapping */
    max-width: 100%;
}

.search-container .button {
    background: #063865;
    border: 1px solid #063865;
    color: #FFF;
    border-radius: 2px;
    padding: 2px 15px;
    float: left;
    margin: 5px;
}

h1.page-title { font-size: 36px; line-height: 40px; color:#063865; margin-top: 40px; margin-bottom: 30px; }
.page-content { margin-top: 70px; }

/* ==========================================================================
   3. Responsive Media Queries
   ========================================================================== */

/* --- Ultra‑wide (≥ 2560px) --- */
@media (min-width: 2560px) {
    body { max-width: 100%; }
    .main-container, 
    .custom-navbar .container { 
        max-width: 1400px !important; 
        margin: 0 auto; 
    }
    .footer .container { /* ADDED THIS */
        max-width: 1400px !important; 
        margin: 0 auto; 
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
}

/* --- Desktop / Large Laptops (≥ 1440px) --- */
@media (min-width: 1440px) and (max-width: 2559px) {
    .main-container, 
    .custom-navbar .container {
        max-width: 1320px !important; 
        margin: 0 auto;
        padding-left: 20px !important;
        padding-right: 15px !important;
    }
    .search-container { margin-left: 9px !important; }
    .footer{
        margin-top: 170px;
    }
    .footer .container { /* ADDED THIS */
        max-width: 1320px !important; 
        margin: 0 auto;
        padding-left: 20px !important;
        padding-right: 10px !important;
    }
   
}
.footer{
    margin-top: 40px;
}

/* --- Standard Desktops (1200px - 1439px) --- */
@media (min-width: 1200px) and (max-width: 1439px) {
    .main-container, 
    .custom-navbar .container { 
        max-width: 1140px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .search-container { margin-left: 15px; }
    .footer .container { /* ADDED THIS */
        max-width: 1140px !important;
        padding-left: 15px !important;
        padding-right: 10px !important;
    }
}

/* --- Laptops (992px - 1199px) --- */
@media (min-width: 992px) and (max-width: 1199px) {
    .main-container, 
    .custom-navbar .container { 
        max-width: 960px !important;
        padding-left: 15px !important; 
        padding-right: 15px !important; 
    }
    .logo { margin: 10px 0 0 0px; }
    
    .switcher { width: 160px !important; }
}

/* --- Tablet View (Between 577px and 991px) --- */
@media (min-width: 577px) and (max-width: 991px) {
    .logo { width: 230px !important; } /* Increased image size for tablets */
    
    .switcher { width: 150px !important; } /* Decreased width */
    .main-container, .custom-navbar .container { padding-left: 20px; padding-right: 20px; }
    
}

/* --- Mobile View (≤ 576px) --- */
@media (max-width: 576px) {
    /* REMOVE ALL GAP SPACE */
    .custom-navbar { margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .page-content { margin-top: 0 !important; padding-top: 0 !important; }
    .main-container { margin-top: 0 !important; }

    .main-container, 
    .custom-navbar .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Navbar Row Logic: Stacks into 2 rows */
    .custom-navbar .container > .row {
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 !important;
    }

    /* Row 1: Logo Centered */
    .custom-navbar .logo {
        margin: 10px auto 5px auto !important;
        display: block;
        width: 160px; 
    }

    /* Row 2: Dropdowns Side-by-Side */
    .custom-navbar .ms-auto {
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    /* Fixed narrower widths for side-by-side mobile fit */
    /* .countries-switcher { width: 125px !important; font-size: 13px !important; } */
    .switcher { width: 95px !important; font-size: 13px !important; }

    .dropdown-divider {
        border-left: 1px solid gray;
        height: 20px;
        margin: 0 4px;
        display: block;
    }

    .search-container input, 
    .search-container .reset-button, 
    .search-container .submit-button {
        width: 100% !important;
        margin: 4px 0;
        float: none;
    }
    .search-container{
        padding-left:15px;
    }
}


.search-container{
    width:100%;
}
.pull-right{
    float:right;
    margin-Top: "0px" !important; 
    padding-Top: "0px" !important;
    margin-right: 20px;
}
.sidebar p {
    font-size: 14px;
    line-height: 22px;
}
/*product page*/
.language-col {
    margin-top: 10px;
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;  
    margin-left: 5%;
}

/* Ensure footer container uses the same horizontal padding as the navbar
   so the "Powered By" link lines up with the language dropdown */
.footer .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}
/* Make dcc.Dropdown look like a navbar dropdown */
.switcher .Select-control {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: white !important;
    padding-left: 0 !important;
    cursor: pointer;
   
}

/* Remove the big box look */
.switcher .Select__control {
    background-color: transparent !important;
    border: none !important;
    min-height: 0 !important;
    height: auto !important;
    box-shadow: none !important;
}
/* Remove ALL spacing between label and arrow */
.switcher .Select-arrow-zone {
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: auto !important;
}

/* Shrink the arrow itself */
.switcher .Select-arrow {
    border-color: #063865 transparent transparent !important; /* arrow color */
    border-width: 5px !important; /* smaller arrow */
    margin: 0 !important;
    padding: 0 !important;
}

.switcher {
    width: 90px !important;
}
.switcher .Select-value-label { 
    font-weight: bold !important;
}
/* Headings */
.product-page h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #063865;
}

/* Content text (slightly larger than default) */
.product-page .content-text {
    font-size: 1.15rem;
    color: #063865;
}

/* Labels like "Product Name :" */
.product-page .label-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #063865;
}

/* Values like product name, catalog number */
.product-page .value-text {
    font-size: 1.2rem;
    color: #063865;
}
/* Main container spacing */
.product-page {
    padding: 20px 30px;
}

/* Document boxes */
.product-box {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
}

/* File row alignment */
.product-box .file-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.product-page .adobe-note {
    font-size: 0.95rem;
    color: #5dade2;
}

.product-page .adobe-note a {
    color: red;
    font-weight: bold;
    text-decoration: none;
}
@media (max-width: 576px) {

    .product-page {
        padding: 10px 15px;
    }

    .product-page h4 {
        font-size: 1.3rem;
    }

    .product-page .content-text,
    .product-page .label-text,
    .product-page .value-text {
        font-size: 1rem;
    }

    .product-box {
        padding: 15px;
    }

    .product-box .file-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
@media (min-width: 577px) and (max-width: 991px) {

    .product-page {
        padding: 15px 25px;
    }

    .product-page h4 {
        font-size: 1.45rem;
    }

    .product-page .content-text,
    .product-page .label-text,
    .product-page .value-text {
        font-size: 1.1rem;
    }
}
@media (min-width: 1200px) {
    .product-page {
        padding-left: 60px;
        padding-right: 60px;
    }
}

.preview-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    z-index: 99999;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.preview-content {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.contact-block {
  display: grid;
  grid-template-columns: 100px 1fr; /* label fixed, value flexible */
  align-items: start;

}

.contact-label {
  font-weight: bold;
  color: white;
  text-align: left;
  font-size: 14px;
}

.contact-value {
  color: white;
  word-break: break-word;   /* allow long URLs/emails to wrap */
  overflow-wrap: anywhere;  /* ensures no overflow */
  font-size: 14px;
}
.contact-label1{
    font-size: 14px;
}
.contact-value1{
    font-size: 14px ;
}



.product-link {
  color: black;
  text-decoration: none;
  position: relative;
  text-decoration: underline;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* underline effect using pseudo-element */


.product-link:hover {
  color: #0d6efd;
  transform: scale(1.1);
}

/* @media (min-width: 768px) and (max-width: 1023px) {
    .countries-switcher{
        width: 25vw !important;

    }

}

@media (min-width: 1024px) and (max-width: 1440px) {

    .countries-switcher{
        width: 24.4vw !important;

    }

}

@media (min-width: 1441px){
    .countries-switcher{
        width: 18.2vw !important;

    }
} */

/* Tooltip container */
/* Tooltip box */
.custom-tooltip .tooltip-inner {
    background-color: white !important;
    color: grey !important;

    max-width: 300px !important;
    max-height: 120px;
    padding: 10px 14px;

    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;

    text-align: justify !important;
    text-justify: inter-word;

    overflow-y: auto;
    overflow-x: hidden;

    pointer-events: auto !important;   /* keep tooltip open on hover */
}
.fixed-alert-container {
    position: fixed;
    top: 0;
    z-index: 1050;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
}

.custom-tooltip {
    pointer-events: auto !important;
}



/* Tooltip arrow (right placement example) */
.custom-tooltip.bs-tooltip-right .tooltip-arrow::before,
.custom-tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
    border-right-color: white !important;
}

/* Tooltip arrow (bottom placement example) */
.custom-tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.custom-tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: white !important;
}


.reference_number {
    font-size: 1rem;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    line-break: anywhere;   /* <-- THIS FIXES YOUR ISSUE */
}


.toggle-arrow {
    vertical-align: middle;
}

.contact-1{
    width: 13vw;
}

.inputclassdiv{
    width: 40%;
}
.pe-2 {
    padding-right: 1.2rem !important;
}
.col-auto{
    align-self: center;
}

#page-loader {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.8);
  z-index: 9999;
  text-align: center;
  padding-top: 20%;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #36A448;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#Request-copy-Button
button.request-btn {
    background-color: #000 !important;
    color: #fff !important;
    border-color: beige !important;
    border: 1px solid red !important;
    min-width: 13rem !important;
    height: 2.5rem !important;
    border-radius: 0 8px 8px 27px / 0 8px 8px 40px !important;
    padding: 0% 2% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* 🔒 Disabled state */
button.request-btn:disabled,
button.request-btn.disabledbtn {
    background-color: #ccc !important;   /* grey */
    color: #000 !important;              /* black text */
    border-color: #aaa !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}

.print-container {
    border: 1px solid #ddd;
    width: 650px;
    margin: 20px auto;
    background-color: white;
    font-size: 15px;
}

.print-heading {
    background-color: #f5f5f5;
    padding: 9px 15px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    font-size: 15px;
}

.print-text {
    padding: 20px;
    background-color: white;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.print-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}
.form-address{
    padding:15px 10px !important;
}
.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 15px;
    color: #333;
}

.form-label:before {
    content: "* ";
    color: red;
}

.form-label:not(:has(+ *[required])):before {
    content: "";
}

.form-input {
    width: 100%;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* .version-input {
    width: 60px;
} */

.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.terms-checkbox {
    display: flex;
    align-items: center;
}

.terms-checkbox .dash-checklist {
    display: flex;
    align-items: center;
}

.terms-checkbox label {
    margin-left: 5px;
    font-size: 15px;
    cursor: pointer;
}
.send-button {
    background-color: #286090;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}
/* Styling for your normal, active send button */
/* .send-button {
    cursor: pointer;
    background-color: #007bff; 
    color: white;
    opacity: 1;
    transition: all 0.2s ease;
} */

/* This targets the button the exact millisecond it becomes disabled */
.send-button:disabled,
.send-button[disabled] {
    cursor: not-allowed !important; /* Forces the 'no-entry / blocked' cursor */
    opacity: 0.6;                  /* Grays out / fades the button slightly */
    background-color: #cccccc;     /* Optional: changes background to neutral gray */
    color: #286090;                /* Optional: dims the text color */
}




/* Add to your existing CSS */
.print-container{
    border:1px solid #ddd;
    width:650px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}
.print-heading{
    background-color: #f5f5f5;
    padding:10px 15px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}
.print-text{
    padding:20px;
    background-color: white;
}
.print-form{
    padding:20px;
    background-color: white;
}

.error-text { color: red; font-size: 13px; margin-top: 3px;}

@media screen and (min-width:767px) and (max-width:991px) {
    .print-container{
        width:550px !important;
    }
    /* .pull-right{
        margin-right: 0 !important;
    } */
}

@media screen and (min-width:480px) and (max-width:766px){
    .print-container{
        width:400px !important;
    }
}
@media screen and (max-width:479px){
    .print-container{
        width:305px !important;
    }
}
@media screen and (max-width:576px){
    .pull-right-order{
      margin-right: 0 !important;
      margin-top: 25px !important;
    }
    .print-container{
        margin-top: 80px !important;
    }
    .footer .ms-auto {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
}

.pull-right-order{
    float: right;
    margin-top: 0; /* avoid overlapping form on small/tablet screens */
}

/* Restore the original upward offset only for wide desktop screens */
@media (min-width: 992px) {
    .pull-right-order{
        margin-top: -44px;
    }
}



/* Disabled button style */
.button:disabled {
  background-color: grey;      /* grey when disabled */
  color: #ccc;                 /* lighter text */
  cursor: not-allowed;         /* show "not allowed" cursor */
}


.vista_label_img{
    width: 75%;
}

/* .footer{
    margin-bottom: 5px;
} */
 /* Remove the hardcoded flex and padding from your old foot-div */
.foot-div {
    padding-right: 0 !important; 
    flex: none !important;
}

.footerlink {
    color: black;
    text-decoration: underline;
    display: inline-block;
}

/* Ensure the footer container matches the navbar container padding */
.footer .container {
    padding-left: 15px !important;
    padding-right: 10px !important;
}

.filename_sty{
    display: flex;
    gap: 10px;
}

.termscheck input[type="checkbox"] {
    border: 1px solid gray !important;
    cursor: pointer;
}

/* Hide Dash default loading overlay */
._dash-loading {
    display: none !important;
}

/* Hide Dash default "Loading..." text */
._dash-loading > div {
    display: none !important;
}



