.slider-page-container {
  display: flex;
  justify-content: center; 
  align-items: center; 
  margin: 20px 0;
}

.slider-container {
  position: relative;
  width: 100%; 
  max-width: 800px; 
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.slider-container::before {
  content: "";
  display: block;
  padding-top: 62.5%;
}

.image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain; 
}

.before {
  z-index: 1;
}

.after {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px; 
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.arrow {
  width: 20px;
  height: 20px;
  clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  position: absolute;
}

.left-arrow {
  left: -25px;
  transform: rotate(0deg);
}

.right-arrow {
  right: -25px;
  transform: rotate(180deg);
}

.arrow:hover {
  background-color: #ff5722;
  box-shadow: 0px 4px 8px rgba(255, 87, 34, 0.5);
}

.slider-container, .slider-handle {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.description {
  text-align: center;
  margin: 20px auto; 
  max-width: 800px; 
  padding: 10px 15px; 
}

.description p {
  font-size: 16px;
  color: #655;
  line-height: 1.6;
}

.image.horizontal {
  object-fit: cover; 
}

.image.vertical {
  object-fit: contain;
}

.important-note {
  background-color: #f9f9f9; 
  border-left: 4px solid #007bff;
  padding: 20px;
  margin: 20px 0;
  font-family: 'Roboto', sans-serif;
  border-radius: 8px; 
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.important-note p {
  line-height: 1.6;
  margin-bottom: 10px;
  display: flex; 
  align-items: center;
  color: #333;
}

.important-note .highlight {
  background-color:#ffffff; 
  padding: 15px;
  border: 1px solid #ff5733; 
  border-radius: 5px;
  margin: 15px 0;
}

.important-note .highlight strong {
  color: #ff5733;
}

.important-note i {
  font-size: 1.2rem; 
}

@media (max-width: 600px) {
  .arrow {
    width: 15px;
    height: 15px;
  }

  .left-arrow { left: -18px; }
  .right-arrow { right: -18px; }
}


.image.before::before {
  content: "Before";
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 5;
  pointer-events: none;
}

.image.after::before {
  content: "After"; 
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 5;
  pointer-events: none;
}

@media (max-width: 600px) {
  .image.before::before,
  .image.after::before {
    font-size: 12px;
    padding: 3px 7px;
  }
}
