.page {
  overflow: hidden;
  margin: 1rem;
}
.instructions {
  font-size: 0.9rem;
}
.error {
  color: red;
  font-size: 12px;
  /* size: 10px; */
}
.highlight-error {
  border: 1px solid red;
}
.text {
  text-align: center;
}
.btn {
  margin: 1%;
}
.submit-btn {
  margin-top: 0.5rem;
}
input[type="number"] {
  width: 30%;
  margin: 1%;
}
.v-canvas-container {
  width: 101%;
  height: 100%;
  color: black;
  background-color: black;
  border: 2px solid black;
}

.v-datalist-container {
  height: 100%;
  margin: 0;
}

.v-slider-full {
  width: 80%;
}

.input-form {
  display: none;
  color: black;
}

.add {
  font-size: 0.9rem;
}

.left {
  order: 1;
}

.exp {
  order: 2;
}
.flex {
  display: is-flex;
}
.button-div {
  order: 3;
  margin: auto;
  width: auto;
}

.top-border {
  border-top: 1px solid black;
}

.v-datalist-title {
  /* background-color: #2C9AD1; */
  /* background-blend-mode: overlay; */
  /* border-radius: 1rem; */
  border-bottom: 0;
}

.v-collapsible-instruction-container {
  width: 60%;
  margin: auto;
  border-radius: 0.25rem;
}

.v-instruction-container {
    width: 80%;
    margin: 0 auto;
    border:.2rem solid #97d23d;
    justify-content: flex-start;
}

.v-collapsible {
  width: 98%;
  margin: auto;
}

.v-collapsible::after {
  size: 1rem;
}

.v-checkbox {
  margin-bottom: 0.1rem;
}

@media screen and (max-width: 800px) {
  .page {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .workspace {
    margin: 0;
    padding: 10px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .left {
    order: 1;
    width: 100% !important;
    margin-bottom: 20px;
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  .exp {
    order: 2;
    width: 100% !important;
    margin-bottom: 20px;
    padding: 0;
  }
  
  .right {
    order: 3;
    width: 100% !important;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
  }

  .v-datalist-container {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
  }

  .v-canvas-container {
    width: 100%;
    height: 400px;
    margin: 0 auto;
  }

  .points-container {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .point-input {
    width: 100%;
  }

  .point-input input[type="number"] {
    width: 45%;
  }

  #message-div {
    max-height: 150px;
    width: 100%;
    box-sizing: border-box;
  }

  #algorithm-info, #message-div {
    width: 100%;
    box-sizing: border-box;
  }

  #observations-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
    margin-bottom: 10px;
  }

  #observations-list-heading {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
  }

  .v-datalist-row {
    margin-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .button-div {
    justify-content: center;
    gap: 10px;
  }

  .btn {
    flex: 1;
    max-width: 100px;
  }
}

.v-button {
  background-color: #04aa6d;
  border-radius: 0.5rem;
  font-size: small;
  /* width: 30%; */
}

.next-btn {
  background-color: #3298dc;
  border-radius: 0.5rem;
}

.previous-btn {
  background-color: #48c774;
  border-radius: 0.5rem;
}

.reset-btn {
  background-color: #f14668;
  border-radius: 0.5rem;
}


/* .observations {
  margin-top: 20px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
}

.observations div {
  margin-bottom: 5px;
} */

@media (min-width: 1024px) {
  #left.apparatus {
    width: 18vw; /* Adjusting width using viewport width */
    height: 80vh; /* Adjusting height using viewport height */
    border-radius: 16px; /* Rounded corners for a modern look */
    overflow-y: auto; /* Scrollbar for overflow content */
    /* Any additional styles can be added here */
  }
 #observations.right {
    width: 18vw; /* Adjusting width using viewport width */
    height: 80vh; /* Adjusting height using viewport height */
    border-radius: 16px; /* Rounded corners for a modern look */
    overflow-y: auto; /* Scrollbar for overflow content */
    /* Any additional styles can be added here */
  }
  .left {
    order: 1;
  }
  .right {
    order: 3;
  }
  .exp {
    order: 2;
  }
}
/* Heading for observations list */
#observations-list-heading {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  color: #555; /* Dark gray color */
  text-transform: uppercase;
}

/* Styling for observations list container */
#observations-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 70%;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f2f2f2; /* Light gray background */
  max-height: 70vh;
  overflow-y: auto;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
}

/* Styling for each observation item */
.observation-item {
  margin-bottom: 8px;
  padding: 10px;
  background-color: #fff; /* White background */
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: background-color 0.3s ease;
}

/* Hover effect for observation items */
.observation-item:hover {
  background-color: #f5f5f5; /* Lighter gray on hover */
}


#procedure-message {
    display: none;
    position: fixed;
    max-width: 100vw; /* Full width */
    max-height: 90vh; /* Prevent overflow */
    overflow-y: auto; /* Scroll if content exceeds height */
    background: linear-gradient(135deg, #f0f4f8, #d6e1e7); /* Gradient background */
    z-index: 1000;
    padding: 35px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* Deeper shadow for more depth */
    border-radius: 16px; /* Rounded corners for a smoother look */
    text-align: left;
    top: 48%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%);
    animation: fadeIn 0.5s ease-out; /* Fade-in animation */
    border: 2px solid #3498db; /* Border with a light blue color */
}

/* Add a subtle fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Optional: add hover effect */
#procedure-message:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
    transform: translate(-50%, -50%) scale(1.05); /* Slight zoom effect */
}

.v-collapsible-instruction-container {
    width: 65%;
    margin: auto;
    border-radius: 0.5rem;
}


.v-collapsible {
    width: 98%;
    margin: auto;
}

.v-collapsible::after {
    size: 1rem;
}

.instr-font {
    font-size: 1rem;
    color: #000;
}

/* Styling for the message div */
#message-div {
  padding: 10px;
  margin: 5px 0;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
}

/* Styling for each message item */
.message-item {
  margin-bottom: 8px;
  padding: 8px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  transition: background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

/* Hover effect for message items */
.message-item:hover {
  background-color: #f9f9f9; /* Light gray on hover */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow */
}

/* Styling for the heading inside message div */
.message-heading {
  font-size: 24px; /* Larger heading */
  font-weight: bold;
  color: #555; /* Slightly darker gray */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Example style for additional information text */
.message-info {
  font-size: 14px;
  color: black; /* Light gray for additional info */
  margin-top: 10px;
}

/* Update algorithm-info to ensure consistent width */
#algorithm-info {
  background-color: #f8f9fa;
  border-radius: 4px;
  margin: 5px 0;
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
}

#decision-parameter, #pixel-direction {
  padding: 5px;
  border-bottom: 1px solid #e9ecef;
}

#decision-parameter:last-child, #pixel-direction:last-child {
  border-bottom: none;
}

#dp-value, #direction-value {
  color: #3298dc;
  font-weight: 500;
  margin-left: 5px;
}

.points-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.point-input {
  flex: 1;
  min-width: 0;
}

.point-input p {
  margin-bottom: 5px;
}

.point-input input[type="number"] {
  width: 40%;
  margin: 2px;
}

.v-datalist-row {
  margin-bottom: 8px;
}

.v-datalist-row.top-border {
  margin-top: 8px;
}
