html,
body {
    height: 100%;
}

body {
    width: 1400px;
    height: 580px;
    padding: 5px;
    margin: 0%;
    background-color: black;
}

body,
input,
select {
    font-size: 18px;
    /* Example: set font size to 18 pixels */
}

header.male,
tr.male {
    background-color: lightskyblue;
}

header.female,
tr.female {
    background-color: lightpink;
}

.disabled {
    display: none;
}

div.buttonsAndStatus {
    background-color: darkgray;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

div.buttons button,
#resetTally {
    height: 30px;
    width: 120px;
    outline: none;
    color: white;
    background-color: royalblue;
    font-weight: bold;
}

div.buttons button:hover {
    background-color: purple;
}

div.buttons button:active {
    background-color: forestgreen;
}

span.status {
    line-height: 35px;
    display: inline-block;
    text-align: middle;
    color: beige;
    background-color: #ff4d4d;
    font-style: italic;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
}

div.inline-block {
    display: inline-block;
}

/* button#cleanUp:hover {
    border: 2px solid crimson;
} */

input.measurement {
    width: 40px;
}

input.wide.measurement {
    width: 60px;
}

input.ratio.measurement {
    width: 80px;
}

span#indications {
    color: white;
    background-color: rebeccapurple;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 8px;
}

input#icd_lookup {
    width: 70px;
}

.bold {
    font-weight: bold;
}

span#icd_response {
    font-style: italic;
    background-color: palegreen;
    width: 600px;
    margin-left: 20px;
    /* Sets a solid border of 2px width and dark gray color */
    border: 2px solid #333;
    /* Adds some space between the text and the border */
    padding: 5px 10px;
    /* Rounds the corners with an 8px radius */
    border-radius: 8px;
    /* Ensures the padding and border are applied correctly */
    display: inline-block;
    /* Prevents text from wrapping to the next line */
    white-space: nowrap;
    /* Hides any content that overflows the element's box */
    overflow: hidden;
    /* Displays an ellipsis (...) to indicate clipped text */
    text-overflow: ellipsis;
    /* Ensures the span doesn't exceed its container's width */
    max-width: 100%;

}

span#icd_response.idle {
    background-color: lightgray;
}

div.alignMiddle {
    display: flex;
    /* Vertically centers the content */
    align-items: center;
}

table#wizard {
    width: 1400px;
    border-collapse: collapse;
}

table#wizard td {
    padding: 7px 0 7px 0;
}


table#wizard th {
    text-align: right;
}

table#wizard tr.odd {
    background-color: lightblue;
}

table#wizard tr.even {
    background-color: lightcyan;
}

tbody.bones tr:nth-child(odd) {
    background-color: #ffe6b3;
}

tbody.bones tr:nth-child(even) {
    background-color: #ffcc66;/
}

tbody.brain tr:nth-child(odd),
tbody.chest tr:nth-child(odd) {
    background-color: lightblue;
}

tbody.brain tr:nth-child(even),
tbody.chest tr:nth-child(even) {
    background-color: lightcyan;
}

tbody.abdomen tr:nth-child(odd) {
    background-color: palegreen;
}

tbody.abdomen tr:nth-child(even) {
    background-color: white;
}

tbody.lungCaScreening tr:nth-child(odd),
tbody.pulmonary tr:nth-child(odd),
tbody.orbits tr:nth-child(odd),
tbody.pituitary,
tbody.IACs {
    background-color: #f2ccff;
}

tbody.lungCaScreening tr:nth-child(even),
tbody.pulmonary tr:nth-child(even),
tbody.orbits tr:nth-child(even) {
    background-color: #e699ff;
}

tbody#impression tr {
    color: white !important;
    background-color: dodgerblue !important;
}

tr.bones {
    background-color: #C0C0C0 !important;
}

tr.linesTubes {
    background-color: white;
}

tr.other {
    background-color: #C0C0C0;
}

tr.urine {
    background-color: #ffff66 !important;
}

tr.blood {
    background-color: #ff80b3 !important;
}

tr.bowel {
    background-color: #dfbf9f !important;
}

span.laterality {
    margin-left: 10px;
    font-style: italic;
    width: 60px;
    display: inline-block;
}

span.malleolus {
    margin-right: 10px;
    width: 200px;
    text-align: right;
    display: inline-block;
}

#reportArea {
    color: black;
    background-color: darkgrey;
    padding: 5px;
}

#reportArea.modified {
    background-color: pink;
}

#reportArea.injected {
    color: white;
    background-color: darkgreen;
}

#reportArea span.lineHeading {
    font-weight: bold;
}


.left {
    color: white;
    background-color: royalblue;
    margin-top: 2px;
    padding: 0 2px 0 2px;
}

.right {
    color: white;
    background-color: crimson;
    padding: 0 2px 0 2px;
}

div.bilateral {
    background-color: #c07ceb;
    margin-bottom: 2px;
}

select.modified,
input.modified,
label.modified {
    color: white;
    background-color: forestgreen;
}

select.modified.last,
input.modified.last,
label.modified.last {
    color: white;
    background-color: purple;
}

input:invalid {
    background-color: lightpink !important;
}

img[src$=svg] {
    background-color: antiquewhite;
    position: relative;
    top: 7px;
}

/* label.modified.recent {
    outline: 3px solid forestgreen;
} */

/* Container for the three columns */
.mainContainer {
    display: flex;
    flex-direction: row;
}

div.wizard {
    display: flex;
    flex-direction: column;
}

table#wizard em {
    color: purple;
    background-color: antiquewhite;
    padding: 0 10px 0 10px;
}

.table-container {
    flex: 1;
}

/* https://www.w3schools.com/css/css_tooltip.asp */
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    /* Add dots under the hoverable text */
    /* border-bottom: 1px dotted black; */
    cursor: pointer;
}

/* Tooltip text */
.tooltiptext {
    visibility: hidden;
    /* Hidden by default */
    width: 500px;
    background-color: black;
    color: #ffffff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    /* Ensure tooltip is displayed above content */
    z-index: 1;
    bottom: 100%;
    left: 65%;
    /* Use half of the width (130/2 = 65), to center the tooltip */
    margin-left: -65px;
}

/* Show the tooltip text on hover */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

footer {
    height: 60px;
    background: #eee;
    padding-bottom: 5px;
}

table#tallies {
    display: inline-table;
}

table#tallies th,
table#tallies tr {
    text-align: center;
}

#dictationButtons button {
    font-size: 28px;
    margin: 5px 2px;
    padding: 8px 12px;
    background: darkgray;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#dictationButtons button:hover {
    background: darkgoldenrod;
}

#dictationButtons button:disabled {
    background: #3367d6;
    cursor: not-allowed;
}

#dictationButtons button#stopTranscription:disabled {
    background-color: firebrick;
}