.page {
    overflow: hidden;
} 


.smol-font {
   font-size: x-medium; 
}

.v-datalist-container {
    height: 93%;
    padding: 0;
}



.v-instruction-container {
    width: 90%;
    margin: 0 auto;
}

.v-canvas-container {
    width: 100%;
    height: 100%;
    /* min-height: 150px; */
    border: none;
}

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

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

.add {
    font-size: 0.90rem;
}

.left {
    order: 1;
}

.exp {
    order: 2;
}

.right {
    order: 3;
}


/* .exp {
    position: relative;
} */

/* Remove large negative margin */
.slider-container {
    position: relative;
    display: flex; /*Flex layout for the container*/ 
    margin-top: -11vh;
    width: 100%;
    justify-content: center;
}

.centered-slider {
    width: 100%; /* Ensure slider takes up full width */
}

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

.axis-change{
    display: flex;
    flex-direction: row;
    padding-left: 25px;
}


@media screen and (max-width: 800px) {
    .v-canvas-container {
        width: 100%;
        height: 650px;
    }
    .slider-container {
        margin-top: -60px;
        margin-bottom: 80px; /* Add bottom margin to prevent overlap with bug feature logo */
    }
    .centered-slider {
        width: 90%;
    }
    .axis-change {
        display: flex;
        flex-direction: column;
    }
    .workspace {
        flex-direction: column !important;
    }
    .left {
        order: 1;
        width: 100% !important;
        margin-bottom: 20px;
    }
    .right {
        order: 2;
        width: 100% !important;
        margin-bottom: 20px;
    }
    .exp {
        order: 3;
        width: 100% !important;
    }
    #left.apparatus {
        width: 100% !important;
        height: auto !important;
    }
    #observations.right {
        width: 100% !important;
        height: auto !important;
    }
    .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
        box-sizing: border-box !important;
        background-color: white;
    }
    #add-modal, #edit-modal {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center;
    }
    .modal.is-responsive {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center;
    }
    .modal.is-responsive .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
    }
}

/* Extra styles for desktop */
/* Extra styles for desktop */
@media (min-width: 1024px) {
  #left.apparatus {
    width: 18vw; /* Adjusting width using viewport width */
    height: 90vh; /* 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: 90vh; /* 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 */
  }
}


.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.canvas-container {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin-bottom: 20px;
}

#top-border {
    border-top: 2px solid black;
    margin-right: 0%;
}

.smol-wid {
    width: 20%;
    /* margin: 0.1rem; */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#disp-heading { 
    margin: 0.5rem;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#add-modal, #edit-modal {
    width: 50%;
    margin: auto;
}


.v-datalist-title {
    border-bottom: 0;
    /* margin-top: 1px; */
}


.v-datalist-title-shapes {
    /* font-family: 'Arial', sans-serif; */
    font-weight: bold;
    font-size: 22px; /* Larger font size */
    color: #000000; /* Solid black */
    margin-top: -10px; /* Space below */
}


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


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

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

.v-button {
    background: linear-gradient(to right, #2196F3, #1976D2);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
    margin: 5px;
}

.v-button:hover {
    background: linear-gradient(to right, #1976D2, #0D47A1);
    color: white;
}

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

.coord-dim {
    width: 100px;
    margin: 0.25rem;
}

#add-shape-btn {
    background-color: #3298dc;
    border-radius: 0.5rem;
}

#edit-shape-btn {
    background-color: #48c774;
    border-radius: 0.5rem;
}

#delete-shape-btn {
    background-color: #f14668;
    border-radius: 0.5rem;
}

#move-button {
    background-color: #48c774;
    border-radius: 0.5rem;
}

#set-rotation-axis {
    background-color: #3298dc;
    border-radius: 0.5rem;
}

#checkboxes {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}

#checkboxes label {
    margin: 0.3rem auto;

    display: flex;
    align-items: flex-start;
    flex: 40%;
}

#lock-v #xy-grid #xz-grid #yz-grid {
    margin: auto 0.1rem;
    padding: auto 0.1rem;
}

.fields {
	width: 50%;
}

.field-div {
    padding-top: 10px;
	margin: 2px;
}


/* Style for the entire shape list *//* Container for the shape list */
.shape-list-container {
  font-family: 'Arial', sans-serif;
  margin-top: 10px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: 60vh; /* Set a fixed height, adjust as needed */
  overflow-x: auto; /* Allows horizontal scrolling if the list overflows */
}

/* Title for the shape list */
.v-datalist-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  color: #2c3e50;
}

.v-datalist-title-experiment{
    font-size: 20px;
  font-weight: bold;
  margin-top: 100px;
  text-align: center;
  color: #2c3e50;
}

/* Style for the unordered list */
.shape-list-container ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* Style for each list item */
.shape-list-container li {
  background: #ffffff;
  padding: 18px;
  margin: 10px 0;
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column; /* Makes sure the shape name and buttons stack properly */
}

/* Hover effect for each item */
.shape-list-container li:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Style for shape id and coordinates */
.shape-list-container li span {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

/* Style for buttons container */
.shape-list-container li .button-group {
  display: flex;
  justify-content: space-evenly; /* Arrange buttons horizontally */
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

/* Style for buttons */
.shape-list-container button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  text-align: center;
}

/* Hover effect for all buttons */
.shape-list-container button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

/* Active effect when button is clicked */
.shape-list-container button:active {
  transform: translateY(2px);
}

/* Specific button styles */
.shape-list-container button.select-btn {
  background-color: #970473; 
}

.shape-list-container button.edit-btn {
  background-color: #2aca67; 
}

.shape-list-container button.delete-btn {
  background-color: #e74c3c; /* Red */
}

/* Hover effects for individual buttons */
.shape-list-container button.select-btn:hover {
  background-color: #3739b3;
}

.shape-list-container button.edit-btn:hover {
  background-color: #06632d;
}

.shape-list-container button.delete-btn:hover {
  background-color: #c0392b;
}


/* Style for shape name */
.shape-list-container li .shape-name {
  font-size: 30px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 5px;
}

/* Style for coordinates */
.shape-list-container li .coordinates {
  font-size: 15px;
  font-weight: normal;
  color: #683801;
  margin-top: 5px;
}

#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 */
}




#observations.column.has-text-centered {

  overflow-y: auto; /* Enable scrollbar if content overflows */
}


#apply-scaling-btn {
    background: linear-gradient(to right, #2196F3, #1976D2); /* Blue gradient */
    color: white; /* White text */
    padding: 10px 20px; /* Padding */
    border: none; /* Remove border */
    cursor: pointer; /* Cursor style */
    border-radius: 5px; /* Rounded corners */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Display as block */
    font-size: 16px; /* Font size */
    transition-duration: 0.4s; /* Smooth transition */
}

/* Hover effect */
#apply-scaling-btn:hover {
    background: linear-gradient(to right, #1976D2, #0D47A1); /* Darker blue gradient */
    color: white; /* White text */
}


#apply-translation-btn {
    background: linear-gradient(to right, #2196F3, #1976D2); /* Blue gradient */
    color: white; /* White text */
    padding: 10px 20px; /* Padding */
    border: none; /* Remove border */
    cursor: pointer; /* Cursor style */
    border-radius: 5px; /* Rounded corners */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Display as block */
    font-size: 16px; /* Font size */
    transition-duration: 0.4s; /* Smooth transition */
}

/* Hover effect */
#apply-translation-btn:hover {
    background: linear-gradient(to right, #1976D2, #0D47A1); /* Darker blue gradient */
    color: white; /* White text */
}

#set-rotation-axis {
    background: linear-gradient(to right, #2196F3, #1976D2); /* Blue gradient */
    color: white; /* White text */
    padding: 10px 20px; /* Padding */
    border: none; /* Remove border */
    cursor: pointer; /* Cursor style */
    border-radius: 5px; /* Rounded corners */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Display as block */
    font-size: 16px; /* Font size */
    transition-duration: 0.4s; /* Smooth transition */
}

/* Hover effect */
#set-rotation-axis:hover {
    color: white; /* White text */
}


.v-datalist-container::-webkit-scrollbar {
    width: 8px;
}

.v-datalist-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.v-datalist-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.v-datalist-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.v-datalist-container {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Control container styles */
.control {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    gap: 10px;
}

.control select {
    height: 35px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    min-width: 80px;
}