
        body {
            font-family: Arial, sans-serif;
            font-size: 16px;
            text-align: center;
            margin: 20px auto;
            color: #606F90;
        }
        html {
            min-height: 100vh;
            box-shadow: inset 0px -4em 6em 10px rgba(39, 133, 201, 0.3);
        }
        .logo-header {
            margin: 20px auto;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            width: fit-content;
            padding-bottom: 40px;
        }
        .logo-header img {
            width: 30px;
            margin-right: 10px;
            height: auto;
            max-width: 80px;
            box-shadow: 0px 5px 5px rgba(39, 133, 201, 0.9);
        }
        #toogle {
                display: flex;
                flex-direction: column;
                margin: 30px auto;
                font-size: 80%;
                scale: 0.9;
                width: 345px;
        }
        .input {
            display: flex;
            flex-direction: row;
            align-items: center;
            border-radius: 4px;
            width: 98%;
        }

        .input-container {
            margin: 0px auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            background: rgba(39, 133, 201, 0.15);
            border: 1.5px solid rgba(39, 133, 201, 0.5);
            border-radius: 4px;
            width: 92%;
            padding-bottom: 20px;
            padding-top: 20px;
            
        }
 
        .input-container label {
            margin: 5px 0;
        }

        .hover-zoom {
            border-radius: 50px;
            box-shadow: rgba(0, 0, 0, 0.9) 0px 4px 8px;
            display: flex;
            transition: transform 0.3s ease; /* Smooth zoom effect */
        }

        /* Hover effect */
        .hover-zoom:hover {
            transform: scale(1.1); /* Zoom in on hover */
        }


        #predictButton, .btn {
                display: inline-block;
                margin: 10px;
                padding: 0.7em 2em;
                background: rgba(39, 133, 201, 0.15);
                color: #006798;
                border: 1.5px solid rgba(39, 133, 201, 0.5);
                border-radius: 3px;
                font-size: 16px;
                text-decoration: none;
                transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
                cursor: pointer;
                box-shadow: inset 0 -1em 1em rgba(39, 133, 201, 0.3);
                font-weight: bold;
        }
        #predictButton:hover, .btn:hover {
                background: rgba(39, 133, 201, 0.3);
                color: #004e73;
                box-shadow: inset 0 -1em 1em rgba(39, 133, 201, 0.5);
                text-decoration: none;
        }

        .btn1 {
                display: flex;
                margin: 0px auto;
                padding: 10px;
                background: rgba(39, 133, 201, 0.1);
                color: #006798;
                border: 1.5px solid rgba(39, 133, 201, 0.3);
                border-radius: 3px;
                font-size: 14px;
                text-decoration: none;
                transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
                cursor: pointer;
                box-shadow: inset 0 -1em 1em rgba(39, 133, 201, 0.1);
                font-weight: normal;
                width: 350px;
                max-width: 92%;
                justify-content: center;
        }
        .btn1:hover {
                background: rgba(39, 133, 201, 0.1);
                color: #004e73;
                box-shadow: inset 0 -1em 1em rgba(39, 133, 201, 0.3);
                text-decoration: none;
        }


        #predictionResult {
            margin-top: 20px;
            font-size: 1.2em;
            font-weight: bold;
        }
        #statusMessage {
            margin-bottom: 20px;
            font-size: 1.2em;
            color: red;
            font-weight: bold;
        }
        h3 {
            text-align: center;
            line-height: 150%;
            max-width: 96%;
        }
        h1 {
            font-size: 110%;
            max-width: 96%;
            }
        h2 {
            font-size: 100%;
            max-width: 96%;
            } 

        .image-container {
            position: relative;
            display: inline-block;
            max-width: 100%;
            width: 100%;
        }
        .image-container img {
            width: 100%;
            height: auto;
            border-radius: 999px;
        }
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }
        .dot {
            position: absolute;
            width: 8px;
            height: 8px;
            background-color: red;
            border-radius: 50%;
            pointer-events: none;
            display: none;
        }

        .linked-text-container {
            width: 90%;
            text-align: left;
            margin: 30px auto;
            font-size: 16px;
            max-width: 600px; 
        }

        .linked {
            margin: 30px auto;
            font-size: 90%;
            max-width: 600px; 
            color: #a1aabf;
        }

        .about {
            width: 90%;
            text-align: left;
            margin: 10px auto;
            font-size: 16px;
            max-width: 600px; 
        }

        .about1 {
            width: 90%;
            text-align: left;
            margin: 30px auto;
            font-size: 14px;
            max-width: 600px;
        }
 a {
    color: rgb(0, 103, 152); /* Use rgb for opaque color */
    text-decoration: underline; /* Optional: Remove underline */
    transition: color 0.3s ease; /* Smooth color transition */
}

 a:hover {
    color: rgba(0, 103, 152, 0.5); /* Semi-transparent on hover */
}

 a:active {
    color: rgb(0, 103, 152); /* Maintain opaque color when active */
}

 a:focus {
    outline: 2px solid rgba(0, 103, 152, 0.5);
    outline-offset: 2px;
}

        .footer {
            font-size: 12px;
            color: #a1aabf;
            width: 100%;
        }

        @media (max-width: 799px) {
            .image-container {
                width: 96%;
            }
            .logo-header img {
                max-width: 80px;
            }

            .dot {
                width: 5px;
                height: 5px;
            }
            h1 {
                font-size: 100%;
            }
            h2 {
                font-size: 90%;
            }
        }

        @media (min-width: 1200px) {
            .image-container {
                max-width: 800px;
            }
        }

        #user-input::placeholder {
            color: #006798; 
            opacity: 0.75; 
        }
        
        


.immersive-content {
    max-width: 92%;
    width: 600px;
    margin: 1px auto;
}

.immersive-content p {
    text-align: left; 
}

#predictionMessage {
    margin: 20px auto;
    font-size: 1.2em;
    font-weight: bold;
    width: 600px;
    max-width: 92%;
    
}



    #donation-container h3{
      margin-bottom: 0px;
    }
    #token-container h3{
      margin-bottom: 10px;
    }
#label-donate {
    align-items: center;
}
#swaptop {
    align-items: center;
}  
    
    


/* Optional: Different colors for different risk levels */
.low-risk {
    color: green;
}

.high-risk {
    color: orange;
}

.very-high-risk {
    color: red;
}


input[type="range"] {
    width: 300px;
    max-width: 50%;
    /* Optional: Add additional styling as needed */
    -webkit-appearance: none; /* Remove default styling */
    height: 8px;
    border-radius: 5px;   
    background: rgba(39, 133, 201, 0.8);
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin-left: 30px;
    margin-right: 30px;
}


.height input[type="range"] {
    max-width: 90%;
}
.weight input[type="range"] {
    max-width: 90%;
}
.age input[type="range"] {
    max-width: 90%;
}

input[type="range"]::-webkit-slider-thumb {
    transition: transform 0.2s, background 0.3s;
    cursor: pointer;
    scale: 2.0;
}

input[type="range"]::-moz-range-thumb {
    transition: transform 0.2s, background 0.3s;
    cursor: pointer;
    scale: 2.0;
}

input[type="range"]::-ms-thumb {
    transition: transform 0.2s, background 0.3s;
    cursor: pointer;
    scale: 2.0;
}

.slider-container {
    margin-top: 40px;
    margin-bottom: 100px;
    width: 100%;
}

#selection {
    border: 1px solid rgba(39, 133, 201, 0.3);
    padding: 10px;
    border-radius: .25rem;
    width: fit-content;
    background-color: rgba(39, 133, 201, 0.15);
    display: flex;
    flex-direction: row;
    margin: 10px auto;
}
#selection p {
    font-size: 110%;
    margin: 5px auto;
    line-height: 100%;
}

#genderValueDisplay, #heightValue, #weightValue, #bmiValue, #ageValue {
    border: 1px solid rgba(39, 133, 201, 0.3);
    background-color: rgba(39, 133, 201, 0.1);
    color: #1E6292;
    border-radius: .25rem;
    padding: .25em .4em;
}
    .donate {
      margin: 20px auto;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 105%;
    }


.disclos {
    margin: 20px auto;
    font-size: 80%;
    width: 90%;
    max-width: 600px;
    text-align: left;
}


       .chat-container {
            max-width: 800px;
            margin: 20px auto;
            background: white;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            height: 80vh;
            width: 92%;
            border: 1.5px solid rgba(39, 133, 201, 0.5);
        }

        @media (min-width: 768px) {
            .chat-container {
                height: 90vh;
            }
        }



        #chat-box {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
        }

        .user-message, .bot-message {
            margin: 10px 0;
            padding: 12px 16px;
            border-radius: 20px;
            max-width: 80%;
            word-wrap: break-word;
        }

        .user-message {
            background: #007bff;
            color: white;
            margin-left: auto;
            text-align: right;
        }

        .bot-message {
            background: #f1f0f0;
            color: #333;
            text-align: left;
            position: relative;
        }

        .bot-message.error {
            background: #ffe6e6;
            color: #cc0000;
        }


        #user-input {
            flex: 1;
            padding: 12px;
            border: 1.5px solid rgba(39, 133, 201, 0.5);
            border-radius: 3px;
            font-size: 16px;
            background: rgba(39, 133, 201, 0.15);
            color: #006798;
        }

        #send-btn {
                display: flex;
                margin: 0px auto;
                padding: 12px;
                background: rgba(39, 133, 201, 0.1);
                color: #006798;
                border: 1.5px solid rgba(39, 133, 201, 0.3);
                border-radius: 3px;
                font-size: 16px;
                text-decoration: none;
                transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
                cursor: pointer;
                box-shadow: inset 0 -1em 1em rgba(39, 133, 201, 0.5);
                font-weight: normal;
                justify-content: center;
                font-weight: bold;
        }
        #send-btn:hover  {
                background: rgba(39, 133, 201, 0.1);
                color: #004e73;
                box-shadow: inset 0 -1em 1em rgba(39, 133, 201, 0.3);
                text-decoration: none;
        }

.bot-message img,
.user-message img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
}
    

        /* Typing Cursor */
        .typing::after {
            content: '';
            display: inline-block;
            width: 3px;
            height: 18px;
            background: #333;
            margin-left: 5px;
            animation: blink 1s infinite;
            vertical-align: bottom;
        }

        @keyframes blink {
            0%, 50% {
                opacity: 1;
            }
            51%, 100% {
                opacity: 0;
            }
        }

    #deco {
    background: linear-gradient(
        to bottom, 
        rgba(39, 133, 201, 0.15) 0%,  /* Start with 15% opacity at the top */
        rgba(39, 133, 201, 0) 100%    /* Fully transparent at the bottom */
    );
    height: 70px;
    width: 100%; /* Adjust as needed */
}

#chat-spinner {
    position: absolute;
    top: 90%;
    left: 50%;
    z-index: 1000; /* Ensure it appears above other elements */
}

.spinner {
    border: 8px solid rgba(0, 0, 0, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: #6392f8; /* Matches the color theme */
    animation: spin 1s linear infinite;
    display: none; /* Hidden by default */
    margin: 10px auto; /* Center the spinner */
}

/* Spinner Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Existing styles ... */

/* Styles for API Toggle */
#api-toggle select {
    width: 150px;
    font-size: 14px;
    color: #006798;
    background-color: rgba(39, 133, 201, 0.15);
    transition: background-color 0.3s ease, color 0.3s ease;
}

#api-toggle select:hover {
    background-color: rgba(39, 133, 201, 0.3);
    color: #004e73;
}

/* Styles for Info Message indicating API Provider */
.info-message {
    background: rgba(39, 133, 201, 0.1);
    color: #006798;
    font-size: 0.7em;
    border-left: 4px solid #006798;
    padding-left: 10px;
    padding: 5px;
    width: 200px;
}


  .mlhs-ad { width: 92%; max-width: 800px; margin: 18px auto; }
