body,
html {
    font-family: "JetBrains Mono", monospace;
    background-color: #fff;
    color: black;
    height: 100%;
    margin: 0;
    justify-content: center;
    align-items: center;
}


.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin: 75px;
    background-color: transparent;
    border-radius: 8px;
}

.form-container {
    display: flex;
    flex-direction: column;
    width: 300px;
    padding: 20px;
    align-items: center;
    background-color: transparent;
    border-radius: 8px;
}

.input-field input {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    background-color: lightgrey;
    border: none;
    border-radius: 5px;
}

.user-text, .submit-button {
    width: 90%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 12px;
}

.submit-button {
    width: 60%;
    background-color: #a2a2a3;
    color: white;
    border: none;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #222425;
}

.error {
    color: red;
    margin-top: 10px;
    font-size: medium;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5vw;
    padding-right: 5vw;
}

.logo {
    width: auto;
    height: 50px;
    aspect-ratio: 3 / 1;
    padding: 10px;
}

.logo-container {
    margin-bottom: 20px;
    height: 50px;
}

.user-profile {
    display: flex;
    align-items: center;
}

.user-profile .profile-pic {
    height: 50px;
    margin-right: 20px;
    border-radius: 50%;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
}

.feedback-button {
    width: 8%;
    padding: 15px;
    font-size: 10px;
    border-radius: 4px;
    border: lightgray;
    cursor: pointer;
    background-color: white;
}

.search-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20px;
    margin: 25px;
    align-items: center;
    background-color: transparent;
    border-radius: 8px;
}

/* .input-container, .button-container, .search-title {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
} */

.search-bar,
.search-button {
    display: inline-block;
    margin: 5px;
}

.search-bar {
    /* width: 200%; */
    width: auto;
    max-width: 584px;
    padding: 15px;
    /* margin-top: 20px; */
    font-size: 16px;
    border: 2px solid #dfe1e5;
    border-radius: 24px;
    box-shadow: none;
    background-color: lightgrey;
}

.search-button {
    width: 40%;
    padding: 15px;
    margin-top: 20px;
    font-size: 16px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    background-color: #a2a2a3;
}

.search-results-container {
    display: flex;
    flex-direction: row;
    display: block;
    padding: 5px;
    margin: 5px;
    align-items: center;
    background-color: transparent;
    border-radius: 8px;
}

.search-button:hover {
    background-color: #f0f0f0;
}

/* .dataset-button {
    width: 60%;
    padding: 10px 20px;
    margin: 10px;
    display: block;
    background-color: lightgrey;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    text-align: center;
    color: black;
    text-decoration: none; 
    font-size: 16px; 
}

.dataset-button:hover {
    background-color: #e2e2e2;
} */

.main-container {
    width: 100%;
    max-width: 2900px;
    margin: auto;
    align-items: left;
    padding-left: 5vw;
    padding-right: 5vw;
}

.flex-container {
    display: flex;
    flex-direction: column;
}


.nav {
    display: flex;
    justify-content: left;
    padding-left: 20px;
    margin-bottom: 0;
    list-style: none;
}

.nav-tabs {
    flex-direction: column;
    padding-right: 20px;
    /* border-bottom: 3px solid #a2a2a3; */
}

.nav-link {
    margin: 5px;
    border-radius: 0.25rem;
}

.tab-content {
    width: 100%;
    object-fit: cover;
    flex-grow: 1;
}

iframe {
    height: 500px;
    width: 100%;
    border: none;
}

.search-results-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-results-container table {
    width: 80%;
    border-collapse: collapse;
    align-self: center;
}

.search-results-container th,
.search-results-container td {
    border: 1px solid #a2a2a3;
    padding: 8px;
    text-align: center;
}

.search-results-container tr:nth-child {
    color: black;
}

.search-results-container th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #a2a2a3;
    color: black;
}

.search-file-container {
    display: flex;
    width: auto;
    max-width: 750px;
    flex-direction: row;
    justify-content: center;
    padding: 10px;
    margin: 10px;
    align-items: center;
    background-color: lightgrey;
    border-radius: 8px;

}

/* .view-button, button {
    font-family: 'Calibri', sans-serif;
    font-size: 14px;    
    padding: 5px 10px;
    margin: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.view-button {
    text-decoration: none;
    color: black;
    background-color: #a2a2a3;
} */

/* .recent-results-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.recent-results-container table {
    width: 80%;
    border-collapse: collapse;
    align-self: center;
}

.recent-results-container th, .recent-results-container td {
    border: 1px solid #a2a2a3;
    padding: 8px;
    text-align: center;
}

.recent-results-container tr:nth-child {color: black;}

.recent-results-container th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #a2a2a3;
    color: black;
} */

.insight-box {
    background-color: lightgrey;
    border-radius: 5px;
    /* margin-right: 80px; */
    padding: 15px;
    font-family: "JetBrains Mono", monospace;
    font-size: 16px;
}

.edit-form,
.insight-box {
    margin-bottom: 10px;
}

.edit-btn,
.submit-btn,
.cancel-btn {
    margin-right: 5px;
}

.container {
    display: flex;
    justify-content: space-between;
}

.left-column,
.right-column {
    width: 48%;
    padding: 10px;
}

#result-display img {
    width: 100%;
    margin-top: 10px;
}

button {
    margin-top: 10px;
    cursor: pointer;
}

#pinnedResults {
    border: 2px dashed #ccc;
    /* Style for the drop zone */
    padding: 10px;
    min-height: 100px;
    /* Ensure the drop zone is visible even when empty */
}

#pinnedResults.dragover {
    border-color: #000;
    /* Change border color when dragging over */
}

.pinned-result {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}


/* CSS */
.view-button {
    align-items: center;
    appearance: none;
    background-color: #FCFCFD;
    border-radius: 4px;
    border-width: 0;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    box-sizing: border-box;
    color: #36395A;
    cursor: pointer;
    display: inline-flex;
    font-family: "JetBrains Mono", monospace;
    height: 2.5rem;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-decoration: none;
    transition: box-shadow .15s, transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow, transform;
    font-size: 18px;
}

.view-button:focus {
    box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
}

.view-button:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    transform: translateY(-2px);
}

.view-button:active {
    box-shadow: #D6D6E7 0 3px 7px inset;
    transform: translateY(2px);
}

.button-generic-hover {
    align-items: center;
    appearance: none;
    background-color: #FCFCFD;
    border-radius: 4px;
    border-width: 0;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    box-sizing: border-box;
    color: #36395A;
    cursor: pointer;
    display: inline-flex;
    font-family: "JetBrains Mono", monospace;
    height: 2.5rem;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-decoration: none;
    transition: box-shadow .15s, transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow, transform;
    font-size: 18px;
}

.button-generic-hover.previous{
    border-radius: 50%;
}
.button-generic-hover.next{
    border-radius: 50%;
}

.button-generic-hover.active {
    box-shadow: #a5a5a5 0 3px 7px inset;
    transform: translateY(2px);
}

/* .button-generic-hover:focus {
    box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
} */

.button-generic-hover:not(.active):hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    transform: translateY(-2px);
}
/* .button-generic-hover:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    transform: translateY(-2px);
} */

.button-generic-hover:active {
    box-shadow: #D6D6E7 0 3px 7px inset;
    transform: translateY(2px);
}


table.table-styled {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    box-sizing: border-box;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 10px;
}

table.table-styled thead th {
    font-size: 1rem;
    line-height: 1.5;
    border-collapse: collapse;
    box-sizing: border-box;
    text-align: center;
    padding: .75rem;
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    color: #fff;
    background-color: #212529;
    border-color: #32383e;
}

table.table-styled td {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    border-collapse: collapse;
    box-sizing: border-box;
    padding: .75rem;
    vertical-align: top;
}

table.table-styled tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}

table.table-styled th:first-of-type {
    border-top-left-radius: 10px;
}

table.table-styled th:last-of-type {
    border-top-right-radius: 10px;
}

table.table-styled tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 10px;
}

table.table-styled tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 10px;
}



/* ----------- Non table related styles */

.recent-results-container {
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
}


.checkbox-wrapper-30 {
    display: flex;
    justify-content: center;
    align-items: center;
}


.checkbox-wrapper-30 .checkbox {
    --bg: #fff;
    --brdr: #d1d6ee;
    --brdr-actv: #1e2235;
    --brdr-hovr: #bbc1e1;
    --dur: calc((var(--size, 2)/2) * 0.6s);
    display: inline-block;
    width: calc(var(--size, 1) * 22px);
    position: relative;
}

.checkbox-wrapper-30 .checkbox:after {
    content: "";
    width: 100%;
    padding-top: 100%;
    display: block;
}

.checkbox-wrapper-30 .checkbox>* {
    position: absolute;
}

.checkbox-wrapper-30 .checkbox input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    background-color: var(--bg);
    border-radius: calc(var(--size, 1) * 4px);
    border: calc(var(--newBrdr, var(--size, 1)) * 1px) solid;
    color: var(--newBrdrClr, var(--brdr));
    outline: none;
    margin: 0;
    padding: 0;
    transition: all calc(var(--dur) / 3) linear;
}

.checkbox-wrapper-30 .checkbox input:hover,
.checkbox-wrapper-30 .checkbox input:checked {
    --newBrdr: calc(var(--size, 1) * 2);
}

.checkbox-wrapper-30 .checkbox input:hover {
    --newBrdrClr: var(--brdr-hovr);
}

.checkbox-wrapper-30 .checkbox input:checked {
    --newBrdrClr: var(--brdr-actv);
    transition-delay: calc(var(--dur) /1.3);
}

.checkbox-wrapper-30 .checkbox input:checked+svg {
    --dashArray: 16 93;
    --dashOffset: 109;
}

.checkbox-wrapper-30 .checkbox svg {
    fill: none;
    left: 0;
    pointer-events: none;
    stroke: var(--stroke, var(--border-active));
    stroke-dasharray: var(--dashArray, 93);
    stroke-dashoffset: var(--dashOffset, 94);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    top: 0;
    transition: stroke-dasharray var(--dur), stroke-dashoffset var(--dur);
}

.checkbox-wrapper-30 .checkbox svg,
.checkbox-wrapper-30 .checkbox input {
    display: block;
    height: 100%;
    width: 100%;
}
