body {
    background-color: rgb(8, 13, 25);
    color: rgb(0,255,255);
    font-family: 'Inter';
}
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(171, 195, 211, 0.2);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(171, 195, 211, 0.4);
}
.lucide-lock {
    color: rgb(8,13,25);
    background-color:rgb(0, 255, 255);
    padding: 8px;
    border-radius: 8px;
}
#topleft {
    margin-left: 10px;
    font-size: 1.5em;
    font-weight: 600;
}
#other{
    display: flex;
    margin-left: auto;
    font-size: 1em;
    font-weight: 400;
    color: rgb(171, 195, 211);
    margin-right: 20px;
}
a {
    color: inherit;
    text-decoration: none;
}
#navbar {
    display: flex;
    gap: 16px;
    align-items: center;
}
.item{
    margin: 10px;
    transition: 0.4s;
    padding: 9px;
    border-radius: 7px;
}
.item:hover {
    background-color: rgba(25, 255, 255, 0.15);
    color: white;
}
#home {
    margin-left: auto;
}
#logo {
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
input[type="file"] {
    display: none;
}
#mainpage {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#text {
    display: flex;
    margin-top: 3%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#select-img {
    margin-top: 3%;
    padding-right: 30%;
    padding-left: 30%;
    padding-top: 7%;
    padding-bottom: 7%;
    border: 2px dashed rgba(0, 255, 255, 0.4);
    border-radius: 9px;
    transition: 0.4s;
    background-color: rgba(8, 15, 39, 0.4);
    position: relative;
    cursor: pointer;
}
#select-img * {
    cursor: pointer;

}
#select-img::before, #select-img::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
}
#select-img::before {
    top: 22px;
    left: 22px;
    border-top: 2px solid rgba(0, 255, 255, 0.3);
    border-left: 2px solid rgba(0, 255, 255, 0.3);
}
#select-img::after{
    bottom: 22px;
    right: 22px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    border-right: 2px solid rgba(0, 255, 255, 0.3);
}
#select-img:hover{
    border: 2px dashed rgb(0, 255, 255);
    background-color: rgb(8,15,33);
}
#select-img:hover #upload {
    animation: float 2s ease-in-out infinite;
}
@keyframes float {
    0% {transform: translateY(0);}
    50% {transform: translateY(-18px);}
    100% {transform: translateY(0);}
}
#select-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#forgefind {
    font-size: 5em;
    margin: 10px;
    font-weight: 600;
    text-shadow: 0 0 8px cyan
}
#desc {
    font-size: 1.5em;
    color: rgb(171, 195, 211);
    font-weight: 200;
}
#upload {
    opacity: 0.5;
    margin-bottom: 5%;
}
#instructions {
    color: rgb(255, 255, 255);
    margin-bottom: 3%;
    font-size: 1.5em;
}
#supports {
    color: rgb(171, 195, 211);
}
#bigicon {
    padding: 12px;
    animation: glow 4s ease-in-out infinite;
}
@keyframes glow {
    0% {filter: drop-shadow(0 0 2px cyan)}
    50% {filter: drop-shadow(0 0 15px cyan)}
    100% {filter: drop-shadow(0 0 2px cyan)}
}
.hidden {
    display: none !important
}
#loading-screen {
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    z-index: 9999;
    backdrop-filter: blur(8px);

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#loading-circle1 {
    display: flex;
    position: fixed;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    border: 2px solid  hsla(192, 100%, 50%, 0.4);
    box-shadow: 0 0 20px hsla(192, 100%, 50%, 0.4);
}
#loading-circle2 {
    display: flex;
    position: fixed;
    width: 85px;
    height: 85px;
    border-radius: 100%;
    border: 1.5px solid  hsla(192, 100% ,50%, 0.2);
    filter: drop-shadow(0 0 5px cyan);
}
#loading-circle3 {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    border: 2px solid  hsla(192, 100%, 50%, 0.4);
    filter: drop-shadow(0 0 5px cyan);
    overflow: hidden;
}
#filled-circle{
    display: flex;
    position: fixed;
    width: 13px;
    height: 13px;
    border-radius: 100%;
    background-color: hsla(192 ,100%, 50%, 0.6);
}
@keyframes scan {
    0% {transform: translateY(-2000%); opacity: 0;}
    50% {opacity: 1}
    100% { transform: translateY(2000%); opacity: 0; }
}
#scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    border: 1px solid hsla(192 ,100%, 50%, 1);
    box-shadow: 0 0 10px hsla(192, 100%, 50%, 0.4);
    animation: scan 2s linear infinite;
}
/* background colors: rgb(37, 150, 190) */
#results-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}
#user-img {
    margin-top: 15px;
    width: 85vw;
}
.option-btns {
    background-color: rgba(8, 15, 50, 0.4);
    color: cyan;
    border: 2px solid rgba(2, 10, 28);
    border-radius: 10px;
    padding: 10px;
    transition: 0.5s;
    font-size: 20px;
    cursor: pointer;
}
.option-btns:hover {
    background-color: rgba(0, 40, 80, 1)
}
.result-container {
    align-self: flex-start;
    background-color: rgba(8, 15, 39);
    margin: 20px;
    margin-right: 25px;
    padding: 20px;
    width: calc(100% - 40px);
}
#conf-percent {
    margin: 15px;
    font-size: 50px;
}
#conf-level {
    margin: 10px;
    border: 2px solid;
    border-radius: 50px;
    padding: 5px;
}
#conf-bar {
    margin-top: 25px;
    height: 5px;
    border-radius: 5px;
    width: 55%;
}
#conf-label {
    color: grey !important;
}
#detected-label {
    color: grey;
}

#c-mf-label {
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    align-items: center;

}
#copy-icon {
    margin-right: 5px;
    padding: 5px;
    border-radius: 10px;
}
#scissor-icon {
    padding: 5px;
    border-radius: 10px;
    margin-right: 5px;
}
#c-mf-bar {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    height: 5px;
    border-radius: 5px;
}
#c-mf-decision {
    margin-left: auto;
    border: 1px solid;
    border-radius: 12px;
    padding: 5px;
}
#c-mf{
    display: flex;
    flex-direction: row;
}
#c-mf-percent {
    margin-left: auto;
}
#spl-label {
    align-items: center;
    display: flex;
    flex-direction: row;
    margin-top: 15px;
}
#spl-bar {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 5px;
    border-radius: 5px;
}
#spl-percent{
    margin-left: auto;
}
#spl{
    display: flex;
    flex-direction: row;
}
#spl-decision {
    margin-left: auto;
    padding: 5px;
    border: 1px solid;
    border-radius: 10px;
}
.detected-labels {
    color: rgb(206, 200, 200);
}
#c-mf-bar, #spl-bar {
    background-color: gray;
    width: 100%;
}
#result-canvas {
    width: 90%;
    height: auto;
    display: block;      
    margin: 0 auto;      
    border-radius: 8px;  
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}