   body {
            font-family: Arial, sans-serif;
            text-align: center;
            padding-top: 5px;
        }
        
        table.spaced {
            border-collapse: separate;
            border-spacing: 0 10px; 
        }
        table.spaced td {
            padding-right: 40px;
        }
        table.spaced-only td {
            padding-right: 40px;
        }
        .sticky-top {
            position: sticky;
            top: 0;
            background-color:#e6ffe6;
            z-index: 1;
        }
        #inputField {
            padding: 8px;
            width: 300px;
            font-size: 16px;
            margin-bottom: 10px;
        }
        
        button {
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
/*            margin-bottom: 20px;*/
        }
        
        #fixed-top-line {
            background-color: lightblue;
            padding: 10px;
            flex-shrink: 0; /* Prevent this element from shrinking */
        }

        #scrollable-content {
            flex-grow: 1; /* Allow this element to take up remaining space */
            overflow: auto; /* Enable scrolling specifically for this content */
            scrollbar-color: grey #b0ffb0;
/*          scrollbar-color: grey #e6ffe6;
            scrollbar-color: "#e6ffe6";*/
        }
        
        .main-full-container {
            position: relative;
            margin: 30px auto;
            padding-left: 25px;
            padding-right: 25px;
            padding-top: 25px;
            padding-bottom: 15px;
            border: 1px solid #0056b3;
            background-color: #f8f9fa;
            width: 800px;
            overflow: hidden;
            overflow-x: hidden;
            resize: both;
            display: inline-block;
            font-size:100%;
            text-align: left;
        }
        #checkbox-container-test {
            position: relative;
            margin: 30px auto;
            padding: 10px;
            border: 1px solid #0056b3;
            background-color: #f8f9fa;
            width: 800px;
            height: auto;
            max-height: 600px;
            max-width: 1200px;       /* Add max-width if allowing horizontal resize */
            min-height: 200px;
            min-width: 400px;        /* Add min-width if allowing horizontal resize */
            overflow: auto;
            overflow-x: hidden;
            resize: both;            /* Allow both vertical and horizontal */
            font-size: 100%;
            text-align: left;
        }
        #checkbox-container-t {
            position: relative;
            display: block;
            margin: 30px auto;
            padding: 10px;
            border: 1px solid #0056b3;
            background-color: #f8f9fa;
            width: 800px;
            max-height: 200px;
            height: auto;
            overflow: auto;
            resize: both;            /* Allow both vertical and horizontal */
            box-sizing: border-box;
            font-size: 100%;
            text-align: left;
        }
        .checkbox-item {
            margin-bottom: 8px;
            padding: 5px;
            border-bottom: 1px dashed #ddd;
        }
        .fontsize-item {
            display: flex; /* Key for alignment */
            justify-content: space-between; /* Pushes left and right content apart */
            font-size: 50%;
        }
        .corner-handler {
            position: absolute; /* CRITICAL: Allows precise placement */
            width: 20px; /* Size of the clickable area */
            height: 20px;
            text-align: center;
            background-color: rgba(255, 0, 0, 0.1); /* Semi-transparent red for visibility */
            cursor: pointer;
            z-index: 10; /* Ensures it is on top of content */
        }
        #corner-tl { top: -0px; left: -0px; border-bottom-right-radius: 1px; font-size:20px; }
        #corner-tr { top: -0px; right: -0px; border-top-right-radius: 1px; font-size:20px; }
        #corner-ll { bottom: -0px; left: -0px; border-bottom-left-radius: 1px; font-size:20px; display:none; }
        .corner-handler:active { background-color: #ff4500; }
        
        
        #menubar {
            width: 100%;
            background-color: #e6ffe6;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        #menubar ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex; 
            justify-content: flex-start; 
        }
        
        #menubar ul .align-right {
            margin-left: auto; /* Consumes all available free space on the left */
        }

        #menubar li {
            padding: 0;
        }
        
        #menubar span {
            display: inline-block; 
            padding: 15px 20px; 
            text-decoration: none; 
            color: black; 
            transition: background-color 0.3s; 
        }


        #menubar a {
            display: block; 
            padding: 15px 20px; 
            text-decoration: none; 
            color: white; 
            transition: background-color 0.3s; 
        }

        #menubar a:hover {
            background-color: #555; 
        }
        
        .text-button {
            text-decoration:underline;
            font-weight:bold;
        }
        
        .tooltip {
            position: relative; /* Essential for positioning the tooltip text */
            display: inline-block; /* Allows the tooltip to wrap around the content */
            cursor: help; /* Optional: Changes cursor to indicate interactivity */
        }

        .tooltip .tooltiptext {
            visibility: hidden; /* Hide the tooltip by default */
            width: 120px; /* Adjust as needed */
            background-color: #333;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px 0;
  /* Positioning */
            position: absolute;
            z-index: 1; /* Ensures the tooltip appears above other content */
            bottom: 125%; /* Position above the hovered element */
            left: 50%;
            margin-left: -60px; /* Half of the width to center it */
            opacity: 0; /* For fade-in/fade-out effect */
            transition: opacity 0.3s; /* Smooth transition */
        }
/* Show the tooltip on hover */
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        
        
        
        
        .viewer-container {
    text-align: center;
    font-family: sans-serif;
    padding: 20px;
  }

  .slider-box {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
  }

  #imgWrapper {
    border: 1px solid #ccc;
    padding: 10px;
    display: inline-block; /* Container wraps tightly around the image */
    background: white;
  }

  #targetImage {
    display: block;
    /* We remove 'width: 100%' so the pixel values take total control */
    width: 100px; 
    height: auto; /* Maintains aspect ratio */
  }
        
        
        
    