body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scrolling on the body */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;         /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.container {
  display: flex;
  height: calc(100vh);
  width: 100%;
  overflow: hidden;
}

.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 75%;
  overflow-y: auto;
  overflow-x: hidden;
  transition: flex 0.5s ease;
  background-color: #fff;
  margin-top: 60px;
}

.input-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  box-sizing: border-box;
  margin-top: 20px; 
}

.input-heading {
  font-size: 1.5rem;
  letter-spacing: 1px;
  font-weight: 400;
  color: #000;
  font-family: 'Poppins', sans-serif;
  border: none;
  outline: none;
  text-align: center;
  width: 95%;
  max-width: 800px;
  resize: none;
  padding: 10px;
  box-sizing: border-box;
  height: 100%;
  overflow: auto;
}

.input-heading::-webkit-scrollbar {
  height: 5px;
}

.input-heading::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.input-heading::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.input-heading::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

.large-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100vh - 60px - 100px - 20px - 80px); 
  box-sizing: border-box;
}

.large-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.large-image {
  max-width: 70%; 
  max-height: calc(100% - 100px); 
  margin: 50px 0; 
  width: auto;
  height: auto;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: #091334;
  border-top: 1px solid #ccc;
  overflow-x: auto; 
  position: relative;
  width: 100%;
  height: 80px; 
  box-sizing: border-box;
}

.thumbnail {
  width: 50px;
  height: 50px;
  margin-right: 20px;
  cursor: pointer;
}

.thumbnail:last-child {
  margin-right: 0;
}

.thermometer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 25%;
  background: #fff;
  border-left: 1px solid #ccc;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.5s ease;
}

.thermometer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  width: 100px;
}

.thermometer-wrapper {
  position: relative;
  height: 500px;
  width: 100px;
}

.thermometer-slider {
  position: absolute;
  top: 0;
  right: 0;
  height: 506px;
  width: 490px;
  transform: rotate(270deg) translateX(50%);
  transform-origin: right center;
  z-index: 2;
}

.thermometer-slider::-webkit-slider-runnable-track {
  background: transparent;
}

.thermometer-slider::-moz-range-track {
  background: transparent;
}

.thermometer-slider::-ms-track {
  background: transparent;
  border: none;
  color: transparent;
}

.thermometer-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #091334;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #fff;
}

.thermometer-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #091334;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #fff;
}

.thermometer-slider::-ms-thumb {
  width: 20px;
  height: 20px;
  background: #091334;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #fff;
}

.thermometer-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 500px;
  width: auto;
  z-index: 1;
}

.temperature-label {
  font-size: 2rem;
  font-weight: 400;
  color: #091334;
  margin-top: 50px;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .input-heading {
    font-size: 1.5rem; 
  }

  .large-image-wrapper {
    height: auto;
  }

  .image-container {
    height: 100px; 
  }

  .main-container {
    overflow-y: auto; 
  }
}
