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%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

ol {
    color: #5F5F5F;
    width:1080px;
    font-size: 18px;
    font-family: Verdana, serif;
    background-color:#ffffff;
    padding-left: 5px;
    padding-top: 50px;
    padding-bottom: 20px;
    line-height: 6.0;
    text-align: left;
}

ol li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

ol li::before {
    content: counter(list-item) ".";
    counter-increment: list-item;
    width: 2em;
    text-align: right;
    margin-right: 20px;
}

table {
    width: 1150px;
    border-collapse: collapse;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 0px solid #000000;
    background-color: #ffffff;
    margin: 10px auto;
}

th, td {
    border: 0px solid #000000;
    padding: 8px;
    padding-top: 3px;
    padding-bottom:50px;
    text-align: center;
    vertical-align: middle;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.sharedImage.tick {
    width: 35px;
    height: auto;
    padding-left: 10px;
    padding-bottom: 5px;
    outline: none;
    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;
}

.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 */
}

li.block1 {
  background-color: #DCDCDC;
  margin:0px -25px 0px 15px;
}
li.block2 {
  background-color: #F2F2F2;
  margin:0px -25px 0px 15px;
}

/* Added CSS for draggable sentence and tick/cross alignment */
.sentence {
    display: flex;
    gap: 10px; /* space between words */
    cursor: grab;
    user-select: none;
    justify-content: flex-start; /* keep words on the left */
}

/* Container for tick/cross at the far right */
.result-container {
    margin-left: auto; /* push to far right */
    display: flex;
    gap: 5px;
    align-items: center;
    margin-right: 15px; /* nudge slightly left from the edge */
}
.word {
    padding: 10px 20px;
    background: linear-gradient(360deg, #585858, #7F7F7F);
    font-family: arial, verdana, sans-serif;
    font-size: 20px;
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);

    box-sizing: border-box; /* ensures padding is included in height */
    line-height: 1;         /* prevents extra vertical space */
}

/* Highlight while dragging */
   .word.dragging {
    opacity: 0.8;
    background-color: yellow;
    position: relative;
    z-index: 1000;
}

.word.adjective {
    color: #FFD966;
}


.tickCrossContainer {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}
.tickCrossContainer img {
    width: 25px;
    height: auto;
}
