body {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 300;
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: hidden; /* Disable horizontal scroll */
    overflow-y: auto; /* Allow vertical scroll */
    /*overflow: hidden;*/
}

html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

/*.container {*/
/*    -ms-overflow-style: none;  !* Internet Explorer 10+ *!*/
/*    scrollbar-width: none;  !* Firefox *!*/
/*}*/
/*.container::-webkit-scrollbar {*/
/*    display: none;  !* Safari and Chrome *!*/
/*}*/

sub {
    vertical-align: sub;
    font-size: small;
}

#webMRTlogo {
    width: 250px;
    height: auto;
    position: relative;
    left: 0;
    top: 20px;
}

/* Apply to both date and time inputs */
#date_input, #time_input {
    font-family: Arial, sans-serif; /* Match this with your site's font */
    font-size: 16px;
    color: #333; /* Choose a color that fits your theme */
    border: 1px solid #ccc; /* Border color */
    border-radius: 4px; /* Rounded corners */
    padding: 8px 10px; /* Vertical and horizontal padding */
    margin-right: 10px; /* Space between date and time input */
    background-color: #f8f8f8; /* Background color */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

#date_input:hover, #time_input:hover {
    border-color: #888; /* Slightly darker border on hover */
}

#date_input:focus, #time_input:focus {
    outline: none; /* Removes the default focus outline */
    border-color: #555; /* More noticeable border color on focus */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Subtle shadow to highlight */
}

#canvas-container {
    position: relative;
    top: 20px; /* Adjust this value to set the vertical position */
    align-content: center;
    alignment: center;
}

.circle {
    position: relative;
    width: 14px;
    height: 14px;
    background: #1e75ff;
    /*background: #1e90ff;*/
    border-radius: 100%;
    top: -182px; /* Adjust this value to set the initial vertical position */
    left: 208px; /* Adjust this value to set the initial horizontal position */
    border: 2px solid #ccc; /* Example border: silver color, 2px width */
}

#distances {
    position: relative;
    top: 20px;
    left: 80px;
}

.group-container {
    position: relative;
    /*display: flex;*/
    /*justify-content: center; !* Aligns items along the horizontal line in the container *!*/
    /*align-items: center; !* Aligns items along the vertical line in the container *!*/
    /*flex-direction: column; !* Stacks the children vertically *!*/
    top: -350px;
    left: 580px;
}

#preview {
    position: relative;
    width: 300px;
    height: 300px;
    top: -500px;
    left: 1000px;
}

/* Additional class for fading out */
.fade-out {
    opacity: 0;
}

/* Additional class for fading in */
.fade-in {
    opacity: 1;
}


/* Style the slider thumb for Webkit browsers like Chrome and Safari */
input[type="range"]::-webkit-slider-thumb {
    /*-webkit-appearance: none;*/
    /*appearance: none;*/
    /*width: 25px; !* Size of the handle *!*/
    /*height: 25px;*/
    /*background: silver; !* Color of the handle *!*/
    /*cursor: pointer;*/
    /*border-radius: 50%; !* Circular handle *!*/
    /*border: 1px solid #ccc; !* Optional: if you want a border *!*/
    /*box-shadow: 0 0 2px #888; !* Optional: if you want a shadow for depth *!*/
    width: 15px;
    height: 15px;
    background: #1e75ff;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid #ccc;
    box-shadow: 0 0 2px #888;
}

/* Style the slider thumb for Firefox */
input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #1e75ff;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid #ccc;
    box-shadow: 0 0 2px #888;
}

/* Style the slider track for Webkit browsers */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: #ddd; /* Background of the track */
    cursor: pointer;
    border-radius: 3px; /* Optional: if you want rounded corners */
    box-shadow: inset 0 1px 3px #888; /* Optional: if you want inset shadow */
}

/* Style the slider track for Firefox */
input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #ddd;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px #888;
}

/* Style for adding tick marks - only works in Webkit browsers */
input[type="range"]::-webkit-slider-runnable-track {
    background: repeating-linear-gradient(
            90deg,
            #888,
            #888 1px,
            #ddd 1px,
            #ddd 10%
    );
}

/* Style the checkbox for modern browsers */
input[type="checkbox"] {
    accent-color: #1e75ff; /* Color when checked */
}

.fixed-container {
    position: relative;
    width: 420px; /* Set this to the width of your triangle image */
    height: 350px; /* Set this to the height of your triangle image */
    /* Set the left and top values to position your triangle within the page */
    left: 20px;
    top: 40px;
}

#triangle-image {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
}

.draggable-circle {
    position: absolute;
    width: 15px; /* Size of the circle */
    height: 15px;
    background: #1e75ff;
    border-radius: 50%;
    top: 61%; /* Adjust these to position the circle within the triangle */
    left: 48.5%;
    border: 2px solid #ccc; /* Example border: silver color, 2px width */
    transform: translate(-50%, -50%); /* Center the circle */
    transition: background-color 0.3s; /* Smooth transition for color change */
}

.draggable-circle:hover {
    cursor: pointer; /* Changes cursor to pointer */
    background-color: #1353ad; /* Change to your desired hover color */
}

#canvas-container {
    top: 40px; /* Adjusted from 20px or as per original values to shift right */
}

#info-btn {
    position: fixed;
    top: 5%; /* Position it at the middle of the screen vertically */
    right: 20px; /* 10px from the right edge */
    transform: translateY(-50%); /* Center it with respect to its height */
    background-color: #1ecbf6; /* Bootstrap primary color for example */
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 26px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Roboto Condensed", sans-serif; /* Ensure the font supports the question mark character */
}

button:disabled {
    opacity: 0.5; /* Lower opacity for disabled buttons */
    cursor: not-allowed; /* Change cursor for disabled buttons */
}

/*#info-btn::before {*/
/*    content: 'i'; !* This is the question mark *!*/
/*    !*font-weight: bold; !* Make it bold so it's easier to see *!*!*/
/*    font-size: 24px; !* Adjust size as necessary *!*/
/*}*/

#info-btn:hover {
    background-color: #8ed4e8; /* A darker shade for hover effect */
}

#info-btn i {
    pointer-events: none; /* Ignore pointer events on the icon itself */
}

#info-panel {
    position: fixed;
    top: 0;
    right: -380px; /* Start off the screen */
    width: 308px;
    height: 100%; /* Full height */
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    padding: 20px;
    transition: right 0.4s ease; /* Animated transition for sliding in */
    overflow-y: auto; /* In case your content is longer than the screen */
    z-index: 999;
}

#info-btn:focus #info-panel,
#info-panel.visible {
    right: 0; /* Slide in to be flush with the right edge of the screen */
}

#info-btn + .visible { /* This increases specificity */
    display: block; /* Make info-panel visible */
}

/* Container for canvas and buttons */
#canvas-and-buttons-container {
    position: relative; /* Elements inside positioned relatively */
    width: fit-content; /* Adjust as needed */
    height: fit-content; /* Adjust as needed */
}

canvas {
    /*border: 1px solid black;*/
    position: relative;
    left: 1002px;
    top: -650px;
    width: 300px;
    height: 300px;
}

/*///////////////////////////// Buttons ////////////////////////////////*/

#deleteImageButton, #uploadButton, #processButton, #segmentButton {
    position: absolute; /* Absolute positioning inside the container */
    /* Common button styling (if needed) */
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    color: #ffffff;
    background-color: #1ecbf6;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease-in-out;
}

/*!* Specific positions relative to the canvas *!*/
/*#deleteImageButton {*/
/*    top: 10px; !* Adjust as needed *!*/
/*    left: 16px; !* Adjust as needed *!*/
/*}*/

#imageUpload {
    display: none; /* This hides the input from view */
}

/* Adjust positions as needed */
#uploadButton {
    position: absolute;
    top: -320px;
    left: 960px;
    width: 220px;
}

#processButton {
    position: absolute;
    top: -320px;
    left: 1187px;
    width: 150px;

}

#segmentButton {
    position: absolute;
    top: -275px;
    left: 960px;
    width: 280px;
}


#deleteImageButton {
    font-family: 'Quicksand', sans-serif; /* Consistent font */
    font-size: 20px;
    color: #ffffff; /* White text */
    background-color: #1ecbf6; /* Bootstrap danger red, suitable for a delete/reset button */
    border: none;
    border-radius: 5px; /* Rounded corners for a modern look */
    padding: 2px 10px; /* Padding for button size */
    cursor: pointer; /* Change cursor to pointer to indicate clickable */
    outline: none; /* Remove outline on focus for cleaner look */
    transition: background-color 0.3s ease-in-out; /* Smooth transition for hover effect */
    position: relative;
    top: -640px;
    left: 995px; /* Adjust position as necessary */
}



/* END */

#deleteImageButton:hover {
    background-color: #8ed4e8; /* Slightly darker red on hover */
}

#deleteImageButton:active {
    background-color: #314973; /* Even darker red on active/click */
    transform: translateY(2px); /* Subtle push effect to simulate button press */
}

#uploadButton:hover, #processButton:hover, #segmentButton:hover {
    background-color: #8ed4e8; /* Darker blue on hover */
}

#uploadButton:active, #processButton:active, #segmentButton:active {
    background-color: #314973; /* Even darker blue on active/click */
    transform: translateY(2px); /* Slight push down effect */
}

#loadingIndicator {
    position: relative;
    top: -780px;
    left: 196px;
}

#saveScenarioButton {
    position: absolute;
    top: 618px; /* Adjust this value */
    left: 80px; /* Adjust this value */
}

#exportCsvButton {
    position: absolute;
    top: 618px; /* Adjust this value */
    left: 190px; /* Adjust this value */
}

.deleteRowButton {
    background-color: #f44336; /* Red background */
    color: white; /* White text */
    border: none; /* Remove default border */
    padding: 4px 8px; /* Padding for sizing */
    cursor: pointer; /* Change cursor to pointer on hover */
    border-radius: 4px; /* Rounded corners */
    margin-left: 5px; /* Space between row and button */
}

.deleteRowButton:hover {
    background-color: #d32f2f; /* Darker red on hover */
}

/*.deleteColumn {*/
/*    display: none; !* Hide the entire column *!*/
/*}*/

#userInputTable {
    position: absolute;
    top: 638px; /* Adjust this value as needed */
    left: 80px; /* Adjust this value as needed */
}

table {
    border-collapse: collapse; /* Remove spacing between table cells */
    width: 1100px; /* Make the table width 100% */
    font-family: Quicksand, sans-serif; /* Choose a font */
    margin: 20px 0; /* Add some margin around the table */
    font-size: 11px;
}
th, td {
    border: 1px solid #ddd; /* Add a border around cells */
    padding: 8px; /* Add padding inside cells */
    text-align: left; /* Align text to the left */
}
th {
    background-color: silver; /* Apply a background color to header cells */
    color: white; /* Change text color to white */
    font-weight: normal; /* Remove bold font style */
    font-size: 13px;
}
tr:nth-child(even) {
    background-color: white; /* Alternate row background color */
}
tr:hover {
    background-color: white; /* Change color on hover */
}

.spinner {
    position: relative;
    left: 5px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*!* Responsive styles *!*/
/*@media (max-width: 1200px) {*/
/*    .group-container {*/
/*        position: relative;*/
/*        left: 500px; !* Adjust positioning for smaller screens *!*/
/*        top: -350px; !* Adjust positioning for smaller screens *!*/
/*    }*/

/*    #canvas-and-buttons-container {*/
/*        left: -920px; !* Adjust positioning for smaller screens *!*/
/*        top: 400px; !* Adjust positioning for smaller screens *!*/
/*    }*/

/*    #exportCsvButton {*/
/*        left: 30px; !* Adjust positioning for smaller screens *!*/
/*        top: 1075px; !* Adjust positioning for smaller screens *!*/
/*    }*/

/*    #saveScenarioButton {*/
/*        left: 160px; !* Adjust positioning for smaller screens *!*/
/*        top: 1075px; !* Adjust positioning for smaller screens *!*/
/*    }*/

/*    #userInputTable {*/
/*        left: 30px; !* Adjust positioning for smaller screens *!*/
/*        top: 1100px; !* Adjust positioning for smaller screens *!*/
/*        width: auto;*/
/*        padding-right: 50px;*/
/*    }*/

/*}*/

/*!* Responsive styles *!*/
/*@media (max-width: 768px) {*/
/*    .group-container {*/
/*        position: relative;*/
/*        left: 10px; !* Adjust positioning for smaller screens *!*/
/*        top: 50px; !* Adjust positioning for smaller screens *!*/
/*    }*/

/*    #canvas-and-buttons-container {*/
/*        left: -920px; !* Adjust positioning for smaller screens *!*/
/*        top: 750px; !* Adjust positioning for smaller screens *!*/
/*    }*/

/*    #exportCsvButton {*/
/*        left: 30px; !* Adjust positioning for smaller screens *!*/
/*        top: 1475px; !* Adjust positioning for smaller screens *!*/
/*    }*/

/*    #saveScenarioButton {*/
/*        left: 160px; !* Adjust positioning for smaller screens *!*/
/*        top: 1475px; !* Adjust positioning for smaller screens *!*/
/*    }*/

/*    #userInputTable {*/
/*        left: 30px; !* Adjust positioning for smaller screens *!*/
/*        top: 1500px; !* Adjust positioning for smaller screens *!*/
/*        width: auto;*/
/*        padding-right: 50px;*/
/*    }*/

/*}*/





/*@media (max-width: 480px) {*/
/*    .group-container {*/
/*        position: relative;*/
/*        left: 0; !* Adjust positioning for mobile screens *!*/
/*        top: -100px; !* Adjust positioning for mobile screens *!*/
/*        transform: scale(0.9); !* Scale down the entire group *!*/
/*    }*/

/*    #canvas-and-buttons-container {*/
/*        left: 0; !* Adjust positioning for mobile screens *!*/
/*        top: 0; !* Adjust positioning for mobile screens *!*/
/*        transform: scale(0.7); !* Optionally scale down the canvas further *!*/
/*    }*/

/*    !* Adjust other elements as necessary for mobile screens *!*/
/*    #canvas {*/
/*        width: 250px; !* Scale down canvas width for mobile *!*/
/*        height: 250px; !* Scale down canvas height for mobile *!*/
/*    }*/

/*    #info-btn {*/
/*        width: 40px; !* Adjust button size for mobile *!*/
/*        height: 40px; !* Adjust button size for mobile *!*/
/*    }*/


/*    #triangle-image {*/
/*        width: 200px; !* Adjust image size for mobile *!*/
/*        height: auto; !* Maintain aspect ratio *!*/
/*    }*/
/*}*/
