/* General styling */
body {
    min-width: 600px !important;
    font-family: Arial, sans-serif; /* Added for better cross-browser font consistency */
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent scrollbars */
}

button {
    border-radius: 4px;
}

/* Video Feed Styling */
#overlay {
    /* Video Feed Styling:
     * Include the !important keyword to override default styles applied by JS.
     * webgazer.js sets defaults for: display, position, top, left, width, height
     */
}

#webgazerVideoContainer {
    display: block !important;
    position: fixed !important;
    top: 0px !important;
    left: 0px !important;
    width: 320px !important;
    height: 240px !important;
    z-index: 2; /* Ensured it appears above background canvas */
    border: 1px solid #ccc; /* Added a border for better visibility */
    background-color: #000; /* Default black background */
}

/* Navbar styling */
#webgazerNavbar {
    position: fixed;
    top: 0;
    left: 320px; /* Offset by video container width */
    width: calc(100% - 320px);
    z-index: 1;
    box-shadow: 0px 3px 5px #ddd;
    border: 0px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

#Accuracy a {
    background-color: #222;
    color: #eee;
    padding: 10px 20px;
    border-radius: 4px;
    margin-right: 10px;
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
}

#Accuracy a:hover {
    background-color: #444;
}

li {
    padding-left: 20px;
    list-style: none; /* Removed bullet points */
}

.navbar-right li {
    padding-right: 20px;
}

.helpBtn {
    display: inline-block;
    padding: 15px;
    border: none;
    background: none;
    color: #777;
    font-size: 14px;
}

.helpBtn:hover {
    color: black !important;
    text-decoration: none;
}

.modal-header {
    border-bottom: none !important;
}

/* Calibration button styling */
.Calibration {
    width: 20px;
    height: 20px;
    border-radius: 50%; /* Simplified border-radius */
    background-color: red;
    opacity: 0.2;
    border: 1px solid black;
    position: fixed;
    z-index: 3; /* Ensures calibration points are above other elements */
    cursor: pointer; /* Indicate interactivity */
}

/* Calibration point positions */
#Pt1 {
    top: 70px;
    left: 340px;
}
#Pt2 {
    top: 70px;
    left: 50vw;
    transform: translateX(-50%);
}
#Pt3 {
    top: 70px;
    right: 2vw;
}
#Pt4 {
    top: 50vh;
    left: 2vw;
    transform: translateY(-50%);
}
#Pt5 {
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
}
#Pt6 {
    top: 50vh;
    right: 2vw;
    transform: translateY(-50%);
}
#Pt7 {
    bottom: 2vw;
    left: 2vw;
}
#Pt8 {
    bottom: 2vw;
    left: 50vw;
    transform: translateX(-50%);
}
#Pt9 {
    bottom: 2vw;
    right: 2vw;
}

/* Background Canvas Styling */
#plotting_canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0; /* Ensures it remains as the background layer */
    background-color: transparent; /* No background color */
    pointer-events: none; /* Prevent interactions with the canvas */
}
