body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-right: 0;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-color: #f4f4f4;
}

.container {
               width:100%;
               
               display: flex;           /* Flexbox on the container */
               flex-direction: column;  /* Stack the table and text vertically */
               align-items: center;     /* Center the content horizontally inside the container */
               }

       p.textbox   {font-family: arial, verdana, serif;
                    background-color: #F2F2F2; /* lighter grey */ 
                    margin:0px -25px 0px 15px;
           }


           .pdf-exercise p {
            margin-left: 40px ;
            font-family: arial, verdana, serif;
            font-size:12px;
            font-weight: normal;
}

        ol {
            color: #5F5F5F;
            width:1080px;
            font-size: 18px;
            font-family: verdana, arial, serif;
            background-color:#ffffff;
            list-style-type:; /* Options: decimal, upper-alpha, lower-roman */
            padding-left: 5px;
            padding-top: 50px;
            padding-bottom: 20px;
            margin-top: 0px;
            margin-bottom: 50px;
            line-height: 4.0; /* Adjust the value as needed */
            text-align: left; /* Centers the text horizontally inside table cells */

         
        }

       ol li {
            display: flex; /* Use flexbox to align text and dropdown */
            align-items: center; /* Vertically align items */
            margin-bottom: 10px; /* Optional: Adds space between items */
        }

        ol li::before {
            content: counter(list-item) "."; /* Add number before the text */
            counter-increment: list-item; /* Automatically increment the number */
            width: 2em; /* Adjust width to accommodate the number */
            text-align: right; /* Right-align the number */
            margin-right: 20px; /* Space between the number and the text */
        }






table {
    width: 1150px;
    border-collapse: collapse;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    background-color: #ffffff;
    margin: 10px auto;
}
th, td {
    padding: 8px;
    padding-top: 3px;
    padding-bottom:50px;
    text-align: center;
    vertical-align: middle;
}
.sharedImage.tick {
            width: 35px;
            height: auto;
            padding-left: 10px;
            padding-bottom: 5px;
            vertical-align: middle;
        }

        .sharedImage.cross {
            width: 25px;
            height: auto;
            padding-left: 10px;
            padding-bottom: 3px;
            vertical-align: middle;
        }
.bold { font-weight: bold; margin-left:8px; }

 
input[type="text"] {
            width: 190px;
            height: 25px;
            padding: 5px;
            font-size: 18px;
            font-family: Verdana, sans-serif;
            color:#5F5F5F ;
            text-align: center;
            text-align-last: center; /* Ensures the selected option is centered */
            background-color: ;
            border: 1px solid ;
            border-radius: 5px;
            box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            margin: 15px 10px 15px 45px; /* Space between the text and the dropdown */
        }

input option {
    font-size: 16px;
    color: #5F5F5F;
    background-color: white;
}

input:hover {
    /* Solid "glow" using zero offset and zero blur to avoid line */
    box-shadow: 
        inset 3px 3px 5px rgba(0, 0, 0, 0.3),   /* keeps original inset shadow */
        0 0 0 3px rgba(0, 123, 255, 0.7);      /* solid colored border/glow */
}

/* PDF text-answer alignment override */
.pdf-exercise .pdf-text-answer {
    display: inline-block;
    width: auto;
    text-align: left; 
    white-space: nowrap ;
    font-weight: normal !important;
    font-family: verdana, serif;
    font-size: 12px;
    margin-left: 40px ;
}


@keyframes pulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.pulse {
    animation: pulse 0.4s ease forwards;
}


  /* Shared styles */
.highlightheader,
.highlightheaderbg {
  font-family: Arial, Verdana, serif;
  text-align: center;
  color: #5E5E5E;
}

/* Outer container */
.highlightheaderbg {
  font-size: 18px;
  background: #ffffff;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -25px; /* adjust this */  /* <-- this centers it */
  border-radius: 5px;
  padding: 25px 0;
  width: 800px;
}

/* Inner header */
.highlightheader {
  background-color: #ffffff; /* or different if you want contrast */
  border: 2px solid #5E5E5E;
  border-radius: 50px;
  margin: 10px;
  padding: 10px 20px;
  line-height: 3;
  
}

.highlight {
  font-family: verdana, arial, serif;
  background-color: #;
  border: 2px solid #5F5F5F;
  border-radius: 50px;
  margin: 10px;
  padding: 0px 20px;
  color: #5F5F5F;
  line-height: 2.3; /* Adjust the value as needed */
}

/* Paragraph */
p.centertext {
  margin: 0;
  font-family: Arial, Verdana, serif;
  text-align: center;
  color: #5E5E5E;
}

.wordhighlight {
  font-family: verdana, arial, serif;
  background-color: #; /* or different if you want contrast */
  border: 2px solid #5E5E5E;
  border-radius: 50px;
  margin: 10px;
  padding: 8px 20px;
  line-height: 3;
}

h3 {
  font-family: arial, verdana, serif;
  text-align: center;
  margin-bottom: 50px;
  color: #575757;
}

/* TOP RIGHT BUTTON */
.dropdownBtn {
    padding: 14px 19px;
    background: #B8E6A8;
    font-weight: normal;
    font-size: 16px;
    color: #575757;
    border: none;
    border-radius: 100px;
    cursor: pointer;
transform: translateY(5px); /* try 1–3px */
    margin-left: 0px; /* space from menu */
    margin-right: 20px;
}



.menuRow {
    display: flex;
    align-items: center;
    justify-content: space-between; /* menu left, button right */
}

/* DROPDOWN PANEL */
.dropdownPanel { 
    font-family: Arial, Verdana, serif;
    color: #575757;
    position: fixed;
    /* top: 80px; */
    /* right: 40px; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    /* 🔥 glass + texture */
    background:
        url('/images/frost-texture.png') repeat,
        rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    /* control texture strength */
    background-size: 120px 120px;
    background-blend-mode: overlay;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    box-shadow: 
        6px 6px 15px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.6);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    text-align: left;
    transition: all 0.3s ease;
    z-index: 99999;
}

.dropdownPanel {
    pointer-events: none;
}

.dropdownPanel.show {
    pointer-events: auto;
}



/* OPEN STATE */
.dropdownPanel.show {
    max-height: 300px;     /* or whatever fits your layout */
    overflow-y: auto;      /* 👈 THIS adds vertical scrollbar */
    opacity: 1;
    padding: 85px 25px 55px 25px;
}

.panelClose {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    font-weight: bold;
    line-height: 1;

    cursor: pointer;

    color: #555;
    background: #ffffff;
    border: 0px solid #575757;
    border-radius: 50%;
    /* box-shadow: 2px 3px 8px rgba(0,0,0,0.15); */
    transition: all 0.2s ease;
}

.panelClose:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    transform: scale(1.1);
    
}

p.lefttext{
  text-align: left;
  font-family: arial, verdana, serif;
  margin-left:200px;
  color: #3B7D23;
}

.footer {
    display: block;
    font-size: 14px;
    font-family: Verdana, sans-serif;
    vertical-align: bottom;
    padding-bottom: 30px;
    color: #7F7F7F; /* color for text not in <a> */
    text-align: center; /* optional */
}

.btn {
  display: inline-block;   /* ← THIS is the key */
  margin-bottom: 50px;
  padding: 10px 20px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  color: #555555;
  background-color: #ffffff;
  border: 2px solid #555555;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: #ffffff;
  border: 2px solid #555555;
transform: scale(1.05);

}

.btn:active {
  transform: scale(1.05);
}

li.block1 {
  background-color: #DCDCDC; /* light grey */
  margin:0px -25px 0px 15px;
}
li.block2 {
  background-color: #F2F2F2; /* lighter grey */ 
  margin:0px -25px 0px 15px;
}
