 /* Style for individual color squares */
 @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

 :root {
    --primary-color: #4C5559 /* Purple */
    --secondary-color: #ffffff; /* White */
    --accent-color: #f0f0f0; /* Light Gray */
    --text-color: #333333; /* Dark Gray */
    --font-family: Helvetica !important;
    --transition-speed: 0.3s;
  }
  
  body {
    font-family: Helvetica !important;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
  }
  body {
    font-family: Helvetica !important;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
  }
  .color-square {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    /* width: 50px !important; */
    padding: 0px !important;
    margin: 10px  0px 0px 0px!important;
  }
  
  #preview_img_name, #perview_img_no {
  text-transform: uppercase;
  font-weight: bolder;
}

#preview_img_logo {
  padding-left: 20px;
}

.color-square > svg {
  border: 2px solid #999;

}
  h1 {
    display: inline-flex !important;        /* Ensure the h1 is also inline-flex to keep the elements on the same line */
    align-items: center !important;         /* Vertically center items within the h1 */
  }

    .color-box {
      width: 50px;
      height: 50px;
      background-color: #ccc;
    }

    .color-code {
      font-size: 12px;
      /*font-weight:bold;*/
      color: #333;
      margin-top: 10px;
      text-align: left;
    }
.common-options
{
  padding-left: 20px;
  padding-top:10px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.casette-selection,.bottom-selection
{
  padding-left: 20px;
  padding-top:10px;
  padding-bottom:10px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}
    #colorBackground {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-wrap: nowrap;
      gap: 10px;
      overflow-x: auto;
      /* This will allow horizontal scrolling if content overflows */
    }

    #pattern_sdetails {
      margin-left: 20px;
    }

    .selected-colors-heading {
        font-family: Helvetica !important;
        /*, sans-serif */
        text-align: left !important;
        font-size: 18px !important;
        color: #333 !important;
        text-transform: uppercase !important;
        /*letter-spacing: 2px !important;*/
         font-weight:bolder !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        padding: 0px !important;
        margin: 0 !important;
        margin-top: 20px !important;
      
        transition: transform 0.3s ease-in-out !important;
      }
      

    .measurement-container {
      display: flex;
      justify-content: center;
      /* Center horizontally */
      align-items: center;
      /* Center vertically */
      flex-direction: column;
      /* Stack items vertically */
      padding: 20px;
      /* Add some inner spacing */
      border: 1px solid #ddd;
      /* Light border for separation */
      border-radius: 10px;
      /* Rounded corners */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      /* Subtle shadow for depth */
      background-color: #f9f9f9;
      /* Light background color */
      max-width: 300px;
      /* Restrict maximum width */
      margin: 0 auto;
      /* Center the container */
    }





    /* Optional: Add a soft background effect for the row */
    .col-12.text-center {
      background: rgba(0, 0, 0, 0.05);
      padding: 20px;
      border-radius: 8px;
      margin-bottom: 20px;
    }

    /* Left-side Undo and Redo buttons */
    /* Top-right Preview button */
    /* Custom Purple Button Style */
/* Top-right Preview button */
/* Custom Purple Button Style */
.btn-purple {
background-color:#4C5559  !important;
    color: white !important;
    border: 1px solid white !important;
    padding: 5px 12px !important;
    /* border-radius: 25px !important; */
    font-size: 16px !important;
    font-weight: bold !important;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important; */
  }
  

    .button-operation {
      margin-top: 20px;
    }

    .btn-purple i {
      margin-right: 6px;
    }

    .btn-purple:hover {
      background-color: white;
      color: #4C5559;
      transform: translateY(-2px);
    }

    .product-details {
      margin-top: 25px;
      padding-bottom: 20px;
       margin-right: 0px !important; 
   margin-left: 0px  !important; 
    }

    #product-image {}

    /* Custom styles */
    .header {
     background-color:#4C5559;
      /* Purple background */
      padding: 10px 0;
    }

    .header img {
      height: 100px;
      /* Adjust logo size */
    }

    .contact-info {
      display: flex;
      align-items: center;
    }

    .contact-info a {
      color: white;
      margin-left: 20px;
      text-decoration: none;
    }

    .contact-info a:hover {
      text-decoration: underline;
    }

    .contact-info i {
      margin-right: 8px;
    }

    /* Make the modal body scrollable */
    .pantone-body {
      max-height: 500px;
      /* Set the maximum height for the modal body */
      overflow-y: hidden;
      /* Enable vertical scrolling */
    }
    /* Custom tooltip style */
.tooltip-inner {
  background-color: #4C5559; /* Custom background color */
  color: #fff; /* Text color */
  border-radius: 5px; /* Optional: for rounded corners */
  padding: 10px; /* Optional: padding inside the tooltip */
}

.tooltip-arrow {
  border-top-color: #4C5559; /* Match the arrow color to the background */
}


    /* Hide right-side radio buttons only */
    .right-side-radio-fabric,.right-side-radio,.right-side-radio-hardware {
      display: none;
    }

    .radio-fabric-option,.radio-option {
      display: inline-block;
      width: 100%;
      cursor: pointer;
      font-size: 14px;
      border: 2px solid #4C5559;
      /* border-radius: 8px; */
      background-color:#fff;
      color: #4C5559 !important;
      font-weight: bold;
      padding: 4px 25px;
      transition: all 0.3s ease;
    }
    .hardware-white-option,.hardware-graphite-option{
    display: inline-block;
      width: 100%;
      cursor: pointer;
      font-size: 14px;
      border: 2px solid #4C5559;
      /* border-radius: 8px; */
      
      font-weight: bold;
      padding: 4px 25px;
      transition: all 0.3s ease;
    }
    .hardware-graphite-option{
        background-color:#fff;
      color: #4C5559 !important;
    }
    
    .hardware-graphite-option{
        background-color:#4C5559;
      color: #fff !important;
    }
    
#pattern-img
{
  font-size: 26px;
  text-transform: uppercase;
}
#opton-number
{
  font-size: 26px;
  text-transform: uppercase;
  background: #4C5559;        /* Circle background color */
  color: #fff;                /* Text color */
  width: 30px;                /* Width of the circle */
  height: 30px;               /* Height of the circle */
  border-radius: 50%;         /* Make it a perfect circle */
  display: flex;              /* Flexbox to center the text */
  justify-content: center;    /* Center text horizontally */
  align-items: center;        /* Center text vertically */
          /* Set the font size */
  text-align: center;         /* Ensure the text is centered */
  padding: 0;                 /* Remove extra padding */
  margin-left: 5px;  

}
    .pattern-container {
      text-align: center;
      /* Centers both the pattern and the title */
      margin-bottom: 10px;
      /* Adds some spacing between each pattern option */
       margin-right: 10px;
    }

    .pattern-container1 {
      text-align: center;
      /* Centers both the pattern and the title */
      margin-bottom: 10px;
      /* Adds some spacing between each pattern option */
    }

    .image-container {
      display: flex;
      flex-wrap: nowrap; /* Prevents wrapping */
      gap: 10px; /* Optional spacing between items */
      overflow-x: auto; /* Allows scrolling if too many items */
  }
  .image-select-cls {
    flex: 0 0 auto; /* Prevents shrinking */
    white-space: nowrap;
}
    /* .image-select-cls {
      width: 120px;
      height: 120px;
      margin-right: 10px;
      overflow: hidden;
      padding: 5px;
      border: 2px solid black;
      display: inline-block;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      background-color: #f9f9f9;
      border-radius: 5px;
      vertical-align: top;
  } */

  .image-container {
    display: flex;
    flex-wrap: nowrap; /* Keep all items in one line */
    gap: 10px; /* Space between items */
    overflow-x: auto; /* Allow horizontal scrolling if needed */
    padding: 10px 0;
}

.image-select-cls {
  display: flex
;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  padding: 10px;
  text-align: center;
  width: 88px;
  height: 88px;
}

.image-select-cls img {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-select-cls span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* Circle size */
    height: 30px; /* Circle size */
    border-radius: 50%; /* Make it a circle */
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    font-weight: bold;
    margin-top: 5px; /* Space between image and number */
    border: 2px solid #fff; /* White border around the circle */
}

  
  .image-select-cls img {
      width: 100%;
      height: 80px;
      object-fit: cover;
      display: block;
      margin: 0 auto;
  }
  
  /* .image-select-cls span {
      display: block;
      font-size: 14px;
      font-weight: bold;
      margin-top: 5px;
  }
  
  .image-select-cls:hover {
      border-color: #4C5559;
      background-color: #eaeaea;
      transform: scale(1.05);
  }
  
   */
 
  
    .pattern-title {
      margin-top: 5px;
      /* Adds some space between the pattern option and the title */
      font-size: 13px;
      font-weight: bold;
  
      /* Adjusts the font size */
      color: #333;
      margin-right:20px;
      
      /* Sets the color of the title */
    }
    .custom-prev, .custom-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      padding: 10px;
      cursor: pointer;
      z-index: 10;
    }
    
    .custom-prev {
      left: 10px;
    }
    
    .custom-next {
      right: 10px;
    }
    
    .radio-fabric-option:hover,.radio-option:hover {
      background-color: #4C5559;
      color: white !important;
      border-color: #4C5559;
    }

    .radio-fabric-option.active,.radio-option.active {
     background-color:#4C5559;
     
      color: white !important;
      border-color:#4C5559;
      position: relative;
    }
    
    .hardware-white-option,.hardware-graphite-option{
         position: relative;
    }

    .radio-fabric-option.active::after,.radio-option.active::after,.hardware-white-option.active:after,.hardware-graphite-option.active:after {
      content: "✔";
      position: absolute;
      top: 50%; /* Center vertically */
      left: 0%; /* Center horizontally */
      transform: translate(-50%, -50%); /* Perfect centering */
      font-size: 16px;
      font-weight: bold;
      background: linear-gradient(135deg, #32CD32, #228B22); /* Bright to dark green gradient */
      color: white; /* White checkmark */
      height: 30px; /* Increased size */
      width: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      border: 2px solid #006400; /* Dark green border */
      box-shadow: 0px 4px 6px rgba(0, 128, 0, 0.3); /* Green shadow effect */
      transition: all 0.3s ease-in-out;
  }
  
  .radio-fabric-option.active:hover::after,.radio-option.active:hover::after{
      background: linear-gradient(135deg, #228B22, #006400); /* Darker green on hover */
      transform: translate(-50%, -50%) scale(1.1); /* Slight enlargement */
  }
  
    .radio-fabric-options:hover ,.radio-options:hover {
      background-color: #4C5559;
      border-color: #4C5559;
    }

    .radio-options.active {
     background-color:#4C5559;
      color: white;
      border-color: #4C5559;
      position: relative;
    }

  .radio-options.active::after {
    content: "✔";
    position: absolute;
    top: 50%; /* Center vertically */
    right: 5px; /* Adjust placement */
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(135deg, #28a745, #218838); /* Stylish green gradient */
    color: white; /* White checkmark */
    height: 30px; /* Increase size */
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #1e7e34; /* Darker green border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Soft shadow */
    transition: all 0.3s ease-in-out;
}

.radio-options.active:hover::after {
    background: linear-gradient(135deg, #218838, #1e7e34); /* Darker green on hover */
    transform: translateY(-50%) scale(1.1); /* Slight enlargement */
}

    .pattern-section {
      /* // display: none; */
    }

.casette-container{
    margin-right: 10px;
}
.bottom-selection{
    margin-right: 10px;
}
    .pattern-option {
      width: 40px;
      height: 40px;
          margin: 10px 6px 0px 0px;
      border: 2px solid #999;
      cursor: pointer;
      transition: border-color 0.3s ease;
    }

    .pattern-option:hover,
    .pattern-option.selected {
      border-color: black;
    }

    .pattern-variations h4 {
      font-size: 15px !important;
      text-transform: uppercase;
      font-weight:bold;
      margin-bottom:10px;
    }
    
     @media (max-width: 1200px) {
    .preview-modal-cls111{
          max-width:100% !important;
      }
     }

    @media (max-width: 576px) {
      .radio-fabric-option,.radio-option,.radio-hardware-option {
        width: 100%;
        max-width: none;
      }

      .pattern-option {
        width: 60px;
        height: 60px;
      }
      
      
    }

    #product_image {

      padding: 0px 0px;
      margin-top:0px;
      box-shadow: 0 4px 12px rgba(128, 128, 128, 0.5);
      /* Purple shadow */
    }

    #sizeLabels {
      position: absolute;
      top: -30px;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    #widthLabel {
      position: absolute;
      top: -30px;
      background-color: white;
      padding: 5px;
      font-size: 14px;
      border-radius: 3px;
      border: 1px dashed #ccc;
      box-shadow: 0 4px 8px rgba(255, 255, 255, 0.7);
    }

    #heightLabel {
      position: absolute;
      top: 50%;
      right: -30px;
      transform: translateY(-50%);
      background-color: white;
      padding: 5px;
      font-size: 14px;
      border-radius: 3px;
      writing-mode: vertical-rl;
      border: 1px dashed #ccc;
      box-shadow: 0 4px 8px rgba(255, 255, 255, 0.7);
    }

    #previewSection {

      background-color: #f3f3f3;
      padding-top: 15px;
      padding-bottom: 15px;
          padding-left: 20px;
    padding-right: 20px;


      /* Set the width of the preview section */
      border: 1px solid #ccc;
    }

    #container {
      position: relative;
      /* width: 800px; */
      /* Set the width of the container */
      margin-top: 0px;
      /* Space to separate from the top of the page */
    }
    .image-select-cls{
        float :left;
        cursor:pointer;
    }
    @media screen {
        #printSection {
          display: none;
        }
      }
  
      @media print {
        body * {
          visibility: hidden;
        }
  
        #printSection,
        #printSection * {
          visibility: visible;
        }
  
        #printSection {
          position: absolute;
          left: 0;
          top: 0;
        }
      }
  
     @media (min-width: 576px) {
        .col-sm-9 {
          flex:0%;
          max-width: 100%;
           max-width: 75%; 
        } 
        .col-sm-3 {
          flex:0%;
          max-width: 100%;
        max-width: 75%; 
        } 
        .row{
              margin-right: 0px; 
  margin-left:0px;
        }

        
     } 
 @media (max-width: 767.98px) {

  .preview-wrapper {
    overflow: hidden;
  }

  #previewSection {
    transform-origin: top center;  /* scale from top center */
    transform: scale(0.5);          /* adjust scale factor as needed */
    /* keep the original width so scaling works */
    margin: 0 auto;  
    padding-left: 10px;
    padding-right: 29px;
    background: none !important;
    border:none !important;
    margin-bottom: -200px !important;
    /* center horizontally */
  }
   #previewModal .col-sm-4 {
    margin: 0 auto !important;
    float: none !important;
    text-align: center;
  }
  #previewModal #width,
  #previewModal #height {
    text-align: center !important;
  }
  
  
  #previewModal .measurement-container {
    text-align: center !important;
    max-width:auto !important;
  }
   .measurement-container {
    text-align: center !important;
    max-width:auto !important;
  }
  
  
  #previewModal .modal-body > .row {
  display: flex;
  flex-wrap: wrap;
  margin:0px !important;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  gap: 20px;               /* spacing between columns */
}
 #previewModal .col-sm-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 15px; /* spacing */
  }
  #previewModal .col-sm-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }
    #previewModal .col-sm-8 #container {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    
        margin-bottom: 15px;
    }
 #previewModal.modal-content {
  overflow-y: auto;
}
 #container {
    height: auto !important;

  }

  #previewSection {
    height: auto !important;
  }
   .mobile-sticky-footer {
    position: sticky;
    top: 0;
    z-index: 1055;
    background-color: #4C5559;
    color: white;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  /* Floating button container: mobile only */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each round floating button */
.fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;

  border: none;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      background-color: #218842 !important;
 background-color: #218842 !important;
        color: #fff !important;
        font-size: 26px !important;
  
}

  .modal-body {
    padding-top: 80px; /* space for sticky header */
  }
    .modal-footer {
    display: none !important;
  }
  .modal-body {
  max-height: 80vh;
  overflow-y: auto;
  scroll-behavior: smooth; /* smooth scrolling */
  padding-right: 15px; /* space for scrollbar */
}

/* Optional: hide scrollbar in modern way (Webkit) */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Firefox scrollbar */
@supports (scrollbar-width: thin) {
  .modal-body {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
  }
}

  
}
/* Force desktop layout ONLY when preparing the PDF */
body.force-desktop #preview-body {
  width: 1200px !important;
  max-width: 1200px !important;
  transform: none !important;
  zoom: 1 !important;
  flex-direction: row !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
}

body.force-desktop #preview-body * {
  font-size: 14px !important;
  text-align: left !important;
  line-height: 1.4 !important;
}
