body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #e3f2fd;
  direction: rtl; /* Set text direction to right-to-left */
}
#app {
  /* margin-top: 100px; */
}
.container {
  max-width: 80%;
  margin: 20px auto;
  padding: 20px;
  background-color: #fbf9f6;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: right; /* Align text to the right */
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

.category {
  margin-bottom: 20px;
  border-bottom: 1px solid #bcb6b6;
  padding-bottom: 20px;
  border-radius: 20px;
}

.product {
  display: flex;
  align-items: center; /* Center-align items vertically */
  margin-bottom: 10px;
  padding: 10px;
  background-color: #f8f3f3;
  border-radius: 10px;
  text-align: left; /* Align text within product to the left */
}

.jumping-div {
  position: fixed;
  top: 5%;
  left: 5%;
  width: 90%; /* Take up the entire width of the viewport */
  height: 90%; /* Take up the entire height of the viewport */
  background-color: rgba(7, 0, 0, 0.8); /* Semi-transparent black background */
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 3; /* Ensure the div appears above other content */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Small white stroke */
}

.jumping-div img {
  max-width: 90%;
  max-height: 90%;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  z-index: 1001; /* Ensure the close button appears above the image */
}

.imageCategory {
  float: left;
  height: 90%;
  max-width: 90%;
  max-height: 100%;
  margin-right: 10px;
  margin-top: 10px;
  position: absolute;
  margin-left: 10px;
  top: 0;
  left: 0;
}

.welcome-message {
  font-weight: lighter; /* Make the font light */
  font-size: 50px; /* Increase letter size */
  text-align: center; /* Center the text */
  color: #067e04;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  border-radius: 20px; /* Rounded corners */
  margin-bottom: 10px; /* Add margin between messages */
}
.logoImg {
  max-width: 30%;
  min-width: 25%;
  float: left;
  min-height: 50%;
}
/* Basic styles */
.line {
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 4px 0;
}

#searchingEngineContainer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.searching-engine-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem; /* Adjust the size as needed */
  height: 3rem; /* Adjust the size as needed */
  background-color: #f8bbd0; /* Match the background color */
  border-radius: 50%; /* Make the icon circular */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Optional shadow for better visibility */
  color: #333; /* Icon color */
  font-size: 2rem; /* Icon size */
}
/* Searching Engine Results */
/* Searching Engine Results */
.searching-engine-results {
  border: 1px solid green;
  border-radius: 10px;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f9f9f9;
  width: 90%;
  max-width: 600px;
  height: 70vh;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  display: none; /* Initially hidden */
  z-index: 999;
}
.searching-engine-input-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  background: #e2e0e0e7;
  padding: 10px;
}

.searching-engine-input {
  flex: 1;
  border-radius: 20px;
  padding: 10px;
  border: 1px solid #ccc;
}

#searchingEngineSearchButton {
  background-color: #1a77f1;
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 10px;
}
.searching-engine-search-button {
  background-color: transparent;
  border: none;
  font-size: 10px;
  cursor: pointer;
  width: auto;
  height: 3rem;
}

.searching-engine-results-close-button {
  position: sticky;
  top: 0;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  margin-bottom: 5px;
}

.searching-engine-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}
.item {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
}

.logoContainer {
  max-width: 80%;
  margin: 20px auto;
  padding: 20px;
  background-color: #f8bbd0; /* Soft pink background color */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  z-index: 2;
}

/* Mobile-specific styles */
@media (max-width: 600px) {
  #searchingEngineContainer {
    flex-direction: column;
    align-items: flex-start;
  }

  .searching-engine-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
  }

  .searching-engine-input {
    flex: 1;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid #ccc;
  }

  .searching-engine-search-button,
  .searching-engine-close-button {
    background-color: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }
  .searching-engine-results {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
  }

  .item {
    font-size: 14px;
  }
}

/* Ensure images fit within the container */
.item img {
  max-width: 100%;
  height: auto;
}
.no-results-message {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-top: 20px;
}

.sticky-logo {
  position: sticky;
  top: 20px; /* Adjust as needed */
}
.welcome-messages {
  text-align: right; /* Align text to the right */
  flex-grow: 1; /* Allow the messages to grow to take available space */
}
.menu {
  display: none;
  background-color: #ddd;
  padding: 20px;
  border-radius: 5px;
  position: fixed;
  top: 10%;
  right: 15%;
  z-index: 4;
  width: 15%;
}

.menuItem {
  cursor: pointer;
  padding: 5px;
  margin-bottom: 5px;
  position: relative;
}
.menuItem:hover {
  background-color: #ccc; /* Change background color on hover */
}

.submenu {
  display: none;
  background-color: #ddd;
  padding: 10px;
  position: fixed;
  top: 10%;
  right: 31%; /* Position submenus to the left of the main menu item */
  width: 15%;
  border-radius: 5px;

  z-index: 5;
}

.menuToggle {
  cursor: pointer;
}

.menuToggle .line {
  width: 30px;
  height: 4px;
  background-color: black;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menuToggle.active .line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menuToggle.active .line:nth-child(2) {
  opacity: 0;
}

.menuToggle.active .line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
#israelprintWindow {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  max-width: 800px; /* Max width for the window */
  max-height: 600px; /* Max height for the window */
  border: 2px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  z-index: 6; /* Ensure it's above other elements */
  resize: both;
  overflow: auto;
}
.resizeHandle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background-color: #ccc;
  cursor: nwse-resize; /* Cursor style for resizing */
}
#israelprintWindow iframe {
  width: 100%;
  height: 100%;
}

.windowHeader {
  background-color: #f0f0f0;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  cursor: move;
  user-select: none;
}

.closeButton {
  float: right;
  cursor: pointer;
  font-size: xx-large;
}

.closeButton:hover {
  color: red;
}
#calculatorWindow {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 5px;
  z-index: 1000;
}

.calculatorInputs {
  padding: 10px;
}

.calculatorInputs label {
  display: block;
  margin-bottom: 5px;
}

.calculatorInputs input[type="text"],
.calculatorInputs select {
  width: 100%;
  margin-bottom: 10px;
}

.calculatorInputs button {
  width: 100%;
  padding: 5px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.calculatorInputs button:hover {
  background-color: #0056b3;
}

.windowHeader {
  background-color: #f0f0f0;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  cursor: move;
  user-select: none;
}
.cent {
  text-align: center;
}
.icon-container {
  position: relative;
  margin-top: 7%; /* Add space between the link and icons */
}

.copyIcon,
.linkIcon {
  position: absolute;
  bottom: 0;
  margin: 5px; /* Add some margin for better spacing */
  color: gray; /* Set initial color to gray */
  transition: color 0.3s; /* Add transition effect for color change */
  margin-right: 90px;
}
#priceListDiv {
  display: none; /* Hidden by default */
  position: fixed; /* Stays in place during scroll */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the div */
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 20px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  width: 80%; /* Occupies 80% of the viewport width */
  height: 80%; /* Occupies 80% of the viewport height */
  max-width: 600px; /* Max width to avoid overly wide appearance on large screens */
  max-height: 800px; /* Max height to manage extreme vertical space */
  z-index: 1000;
  overflow-y: auto; /* Allows scrolling within the div if content exceeds its height */
  box-sizing: border-box; /* Includes padding and border in the width/height calculations */
  border-radius: 10px;
  border: #007bff 1px dashed;
}

@media (max-width: 600px) {
  #priceListDiv {
    padding: 10px; /* Adjust padding for smaller screens */
    width: 90%; /* Slightly wider on very small screens */
    height: 90%; /* Slightly taller on very small screens */
  }
}

.linkIcon {
  right: 20px; /* Adjust the right position to space out the icons */
}

.copyIcon:hover,
.linkIcon:hover {
  color: black; /* Change color to black on hover */
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  overflow: auto;
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 5px;
  max-width: 80%;
}

.modal-header {
  display: flex;
  justify-content: flex-end;
}

.closeButton {
  cursor: pointer;
}

.modal-body {
  text-align: center;
}

/* Modal animation */
.modal-content {
  animation: modal-show 0.3s ease-out;
}

@keyframes modal-show {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#paperSizesImage {
  max-width: 80%; /* Ensure the image doesn't exceed the modal body width */
  height: auto;
}

.closeButtonModal:hover {
  color: rgb(244, 6, 6); /* Change color on hover */
  cursor: pointer;
}
.copy-link-button {
  display: none; /* Initially hide the button */
}

#orderGmail,
#orderWhatsapp,
#priceListIcon {
  /* Add your CSS styles here to adjust the size */
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.productImage {
  float: left; /* Float the image to the left */
  margin-right: 10px; /* Add some margin between image and text */
  width: 200px;
}

.product-details {
  flex-grow: 1; /* Allow details to grow and take available space */
}

.product-details {
  text-align: right;
}
#orderForm {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1000;
  background-color: transparent;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  width: 90%;
  text-align: center;
  max-height: 80%;
  overflow-y: auto;
}

.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 40px; /* Adjust height as needed */
  background-color: #f3f3f3; /* Light gray color */
  border-radius: 10px 10px 0 0; /* Rounded corners on top */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Drop shadow */
  z-index: 8;
}

.closeForm {
  float: right; /* Align to the right */
  font-size: 24px;
  margin: 8px 16px; /* Adjust margins as needed */
  cursor: pointer;
}

/* Media query for larger screens */
@media screen and (min-width: 768px) {
  .orderForm {
    width: 50%;
  }
  .form-container {
    width: 80%;
    height: auto;
  }
}
#orderForm h2 {
  margin-bottom: 20px;
  color: #000601;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: xx-large;
}

#orderForm .form-group {
  margin-bottom: 20px;
}
.form-group.form-check {
  display: flex;
  align-items: center;
}

.form-group.form-check .form-check-input {
  margin-right: 10px; /* Adjust spacing between input and label */
}
#orderForm label {
  display: block;
  /* margin-bottom: 5px; */
  margin-right: 10%;
}

#orderForm input[type="text"],
#orderForm input[type="tel"],
#orderForm input[type="email"],
#orderForm input[type="number"],
#orderForm textarea,
#orderForm input[type="file"],
#orderForm button[type="submit"],
#orderForm input[type="checkbox"],
#orderForm select {
  width: 80%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  margin-right: 10%;
}

#orderForm input[type="checkbox"] {
  width: auto;
}

#orderForm button[type="submit"] {
  background-color: #007bff;
  color: white;
  cursor: pointer;
}

#orderForm button[type="submit"]:hover {
  background-color: #0056b3;
}

#orderForm .close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

#labelDesign {
  margin-right: 0; /* Override the margin-right property */
}
/* Style for form sections */
/* Remove margin-bottom from .form-section */
#orderForm .form-section {
  background-color: #f9f9f9; /* Light gray background */
  border: 1px solid #ddd; /* Light gray border */
  border-radius: 5px; /* Rounded corners */
  padding: 20px; /* Add padding for spacing */
  width: 80%;
  margin: 20px auto; /* Center the form sections and provide margin */
  text-align: right; /* Align text to the right */
}

.section-title {
  text-align: right; /* Center the section titles */
  font-size: 18px; /* Larger font size */
  margin-bottom: 10px; /* Add margin below the title */
  margin-right: 10%;
}

.form-container {
  text-align: center; /* Center-align the container */
}

/* Style for form inputs and labels */
.form-group {
  margin-bottom: 15px; /* Add margin between form elements */
}

/* Adjust the width of the form inputs */
.form-control {
  width: 100%; /* Make inputs full width */
}

/* Style for submit button */
.btn-primary {
  background-color: #007bff; /* Blue button color */
  color: #fff; /* White text color */
  border: none; /* Remove border */
  border-radius: 5px; /* Rounded corners */
  padding: 10px 20px; /* Add padding */
  cursor: pointer; /* Change cursor to pointer on hover */
}

/* Change button color on hover */
.btn-primary:hover {
  background-color: #0056b3; /* Darker blue on hover */
}
.type {
  display: flex;
  flex-direction: row-reverse; /* Ensures label comes before the radio button */
  align-items: center; /* Vertically align items in the center */
  margin-bottom: 20px;
}

.type label {
  margin-left: 5px; /* Space between label and radio button */
  margin-right: 10px; /* Space between label and the next item, if any */
}

.type input[type="radio"] {
  /* No need to scale down the radio button, but if required, uncomment the below line */
  /* transform: scale(0.8); */
}

/* Style for the left triangle */
.left-triangle::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 12px solid transparent; /* Adjust the size of the triangle */
  border-bottom: 12px solid transparent; /* Adjust the size of the triangle */
  border-right: 20px solid orange; /* Adjust the size and color of the triangle */
  margin-right: 8px; /* Adjust spacing between the circle and triangle */
  box-shadow: -2px 0 0 0 white; /* Add white stroke to the right side */
  transform: translateX(
    -2px
  ); /* Shift the triangle to the left to accommodate the stroke */
}

/* Style for the right triangle */
.right-triangle::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 12px solid transparent; /* Adjust the size of the triangle */
  border-bottom: 12px solid transparent; /* Adjust the size of the triangle */
  border-left: 20px solid orange; /* Adjust the size and color of the triangle */
  margin-left: 8px; /* Adjust spacing between the circle and triangle */
  box-shadow: 2px 0 0 0 white; /* Add white stroke to the left side */
  transform: translateX(
    2px
  ); /* Shift the triangle to the right to accommodate the stroke */
}

.left-triangle,
.right-triangle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.left-triangle {
  left: 20px; /* Adjust the left position */
}

.right-triangle {
  right: 20px; /* Adjust the right position */
}

.OrderSummery {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border: 2px solid #007bff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  text-align: right;
  display: none;
}
.summaryHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: hsl(129, 97%, 27%); /* Light blue background */
  border-bottom: 1px solid #ccc;
  padding: 10px;
}

.summaryHeader .headerRow {
  display: flex;
  align-items: center;
}

#sumTitle {
  margin: 0; /* Remove default margin */
  color: #f8fafc;
}

.titleRow {
  display: flex; /* Use flexbox for the title and close button */
  justify-content: space-between; /* Space items evenly */
  align-items: center; /* Center items vertically */
  margin-right: 5px;
}

.summaryCloseButton {
  background-color: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #f8f6f6; /* Adjust button color as needed */
  margin-left: 5px;
}

.summaryCloseButton:hover {
  color: #f00; /* Adjust button color on hover as needed */
}

.OrderSummery.active {
  display: block;
}
.close-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.close-button:hover {
  background-color: #0056b3;
}
#orderSummary {
  max-height: 80%;
  overflow: scroll;
}

#priceListHeader {
  background-color: #1a77f1; /* Updated color */
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 0; /* Sticks to the top */
  z-index: 1000; /* Ensure it stays on top of other content */
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2); /* Scale up to 120% */
  }
  100% {
    transform: scale(1);
  }
}

#priceListClose {
  font-size: 32px;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
  display: inline-block;
}

#priceListClose:hover {
  color: #d9534f;
  animation: pulse 0.6s infinite; /* Apply the pulse animation */
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#priceListTitle {
  display: inline-block; /* Required for transformation */
  transition: transform 0.5s ease-in-out;
  font-size: larger;
}
.toggle-switch {
  width: 60px; /* Width of the switch */
  height: 34px; /* Height of the switch */
  position: relative;
  background-color: #ccc; /* Background color of the switch */
  border-radius: 34px; /* Make it a pill shape */
  cursor: pointer;
  transition: background-color 0.3s; /* Smooth transition for background color */
  box-shadow: inset 0 0 5px grey; /* Inner shadow for some depth */
}

.toggle-switch.active {
  background-color: #4cd964; /* Active color */
}

.toggle-switch-slider {
  position: absolute;
  top: 2px; /* Slightly smaller than height to allow for the slider to overlap */
  left: 2px; /* Stay consistent with the top value */
  width: 30px; /* Diameter of the slider */
  height: 30px; /* Same as width to make it a circle */
  background-color: white; /* Background color of the slider */
  border-radius: 50%; /* Fully rounded to make it a circle */
  transition: transform 0.3s; /* Smooth transition for sliding */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Shadow for the slider */
}

.toggle-switch.active .toggle-switch-slider {
  transform: translateX(26px); /* Move the slider to the end */
}

.calculator-title {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
  margin-top: 0;
}

.explanation-text {
  margin: 20px 0;
  text-align: center;
  color: #666;
}

.quantity-input {
  display: block;
  width: 80%;
  margin: 0 auto 10px;
  padding: 10px;
  font-size: 1em;
}

.calculate-button {
  display: block;
  width: 60%;
  padding: 10px 20px;
  margin: 10px auto;
  background-color: #004a99;
  color: white;
  font-size: 1em;
  cursor: pointer;
}

.total-price-display {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  color: #333;
}
.total-price-display-container {
  border: 1px dashed black;
  text-align: right;
  direction: rtl;
  padding: 10px;
  margin-top: 10%;
  background-color: rgb(246, 231, 211);
}

.price-info {
  border-bottom: 2px solid #257303; /* Dark blue border for the total price line */
  padding-bottom: 5px; /* Spacing below the total price line */
}

.price-info p {
  margin: 5px 0;
}

/* Bold labels */
.price-info strong {
  font-weight: bold;
}

.total-price-line {
  color: #1a77f1; /* Dark blue text for the total price */
}

.service-message {
  text-align: right;
  font-style: italic;
  margin-top: 5px; /* Space between the total price and the service message */
}
#quantityInput {
  width: 50%;
}
.switch-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toggle-label {
  font-size: 0.8em; /* Adjust the font size as needed */
  margin-top: 4px; /* Spacing between the switch and the label */
}
#priceCalculator {
  margin-top: 50px;
}
#formOverlay {
  display: none; /* Hidden by default */
  position: fixed; /* Full-screen overlay */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  z-index: 1000; /* High z-index to be on top of other content */
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

.form-container {
  height: 90%;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  width: auto; /* Allow the width to grow with content up to max-width */
  max-width: 600px; /* Maximum width */
  box-sizing: border-box; /* Includes padding in width */
  overflow-y: scroll;
}

/* Optional: Add smooth transition for opening/closing the form */
#formOverlay {
  transition: opacity 0.3s ease-in-out;
  opacity: 0; /* Start fully transparent */
  visibility: hidden; /* Start as not visible */
}

#formOverlay.active {
  display: flex; /* Only flex when active to prevent blocking clicks */
  opacity: 1; /* Fully opaque when active */
  visibility: visible; /* Make visible when active */
}

.details-and-orders-btn {
  padding: 10px 20px;
  background-color: orange;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 5px;
  align-self: center;
  display: none;
}

.details-and-orders-btn:hover {
  background-color: darkorange;
}
#priceInput {
  display: none;
}
.inputs-container {
  display: flex;
  flex-direction: column;
  align-items: right;
}
#inputHeight,
#inputWidth,
#quantityInput {
  width: 100px;
}

.input-row {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.input-row label {
  margin-right: 10px;
}

.PerMeterContainer {
  border: 1px dashed black;
  text-align: right;
  direction: rtl;
  padding: 10px;
  margin-top: 10%;
  background-color: rgb(246, 231, 211);
}

.preview-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px; /* Adjust as needed */
}

.shape-preview {
  width: 100px; /* Initial width */
  height: 100px; /* Initial height */
  background-color: #ccc; /* Default background color */
  border: 1px solid #000; /* Border style */
  position: relative;
}

.shape-dimensions {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
  font-size: 12px;
}
.loading-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none;
}

#spinnerHolder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10%; /* Adjust this value as needed */
  text-align: center;
}
#spinnerHolder h1 {
  color: rgb(253, 255, 253);
}
#spinner {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin-bottom: 20px; /* Space between spinner and text */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#detailsAndOrdersButton {
  display: none;
}

/* edition-test */
/* Add this to your CSS file */
#priceCalculator {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevents horizontal overflow */
}

#inputPreview {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto; /* Allows horizontal scrolling if needed */
  display: flex;
  flex-direction: column; /* Stack items vertically on small screens */
}

#visualPreviewHolder {
  width: 100%;
  max-width: 200px; /* Set max-width to ensure it does not exceed container width */
  height: auto;
  margin: 10px 0; /* Add margin for spacing */
}

.inputs-container {
  width: 100%;
  display: flex;
  flex-direction: column; /* Stack inputs vertically */
  align-items: flex-start; /* Align inputs to the start */
}
#searchingEngineResults {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden; /* Ensures no horizontal overflow */
}

/* Additional mobile-specific styles */
@media (max-width: 768px) {
  #searchingEngineResults {
    padding: 10px;
  }
}
