body {
    font-family: "Nunito", sans-serif;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 400;
    line-height: 1.58;
    letter-spacing: -0.003em;
    font-size: 1rem;
}

.basic-card-ol span {
    font-size: 1rem;
    font-weight: normal;
    text-wrap: wrap;
}

.basic-card-ol ol {
    padding-left: 1.5rem;
}
.basic-card-ol li {
    padding-left: 1.5rem;
    list-style-type: decimal;
    counter-reset: div;
    font-size: large;
    font-weight: bold;
}

.htmx-settling img {
    opacity: 0;
}
img {
    transition: opacity 300ms ease-in;
}

/***** MODAL DIALOG ****/
#modal {
    /* Underlay covers entire screen. */
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;

    /* Flexbox centers the .modal-content vertically and horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Animate when opening */
    animation-name: fadeIn;
    animation-duration: 150ms;
    animation-timing-function: ease;
}

#modal > .modal-underlay {
    /* underlay takes up the entire viewport. This is only
	required if you want to click to dismiss the popup */
    position: absolute;
    z-index: -1;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#modal > .modal-content {
    /* Position visible dialog near the top of the window */
    margin-top: 10vh;

    /* Sizing for visible dialog */
    width: 90%;
    max-width: 1200px;

    /* Display properties for visible dialog*/
    border: solid 1px #999;
    border-radius: 8px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    background-color: white;
    padding: 20px;

    /* Animate when opening */
    animation-name: zoomIn;
    animation-duration: 150ms;
    animation-timing-function: ease;
}

#modal.closing {
    /* Animate when closing */
    animation-name: fadeOut;
    animation-duration: 150ms;
    animation-timing-function: ease;
}

#modal.closing > .modal-content {
    /* Animate when closing */
    animation-name: zoomOut;
    animation-duration: 150ms;
    animation-timing-function: ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.9);
    }
}

/** modal */
.modal-header .modal-title {
    font-size: x-large;
    font-weight: 800;
    width: 100%;
}

.modal-header {
    text-align: center;
    border: none;
}

.border-gray {
    border: 1px solid #ccc;
}

.test-results {
    font-size: smaller;
}

.modal-footer {
    border: none;
}
.table#honey-results > :not(caption) > * > * {
    border: none;
}
.alert {
    margin-top: 20px;
}

.htmx-request #spinner,
.htmx-request #honey-results tfoot {
    display: contents;
}

.htmx-request #honey-results tbody {
    display: none;
}

.htmx-request button {
    pointer-events: none;
    opacity: 0.5;
}

#honey-results.htmx-swapping {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.faq {
    padding: 3rem;
}

.faq p {
    padding: 1rem;
}

.faq-question {
    border-radius: 5px;
    background-color: beige;
}

.honey-results-table-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
}
