/* In static/style.css */

/* Range slider - red only on hover */
input[type="range"]:hover::-webkit-slider-thumb {
    background: #ff9999;
}

input[type="range"]:hover::-moz-range-thumb {
    background: #ff9999;
}

/* Keep the track visible */
input[type="range"]::-webkit-slider-runnable-track {
    background: #ddd;
    height: 6px;
}

input[type="range"]::-moz-range-track {
    background: #ddd;
    height: 6px;
}

/* text box outlines to red */
.form-control:hover {
    border-color: #ff9999 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 99, 99, 0.25) !important;
}

.form-control:focus {
    border-color: #ffcccc !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 99, 99, 0.25) !important;
}

/* Navbar button hover */
.btn-outline-dark:hover {
    background-color: #f0f0f0;
    border-color: black;
    color: black;
}

/* Footer links */
.card-footer a {
    color: black;
    text-decoration: none; /* remove underline */
}

.card-footer a:hover {
    color: #777;  /* Darker gray instead of black */
    text-decoration: none; /* remove underline */
}

.btn-outline-red {
    color: black;
    border-color: black;
}

.btn-outline-red:hover {
    background-color: #ffe6e6;
    border-color: black;
    color: black;
}

/* Chat styles */
.chat-history {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.chat-message {
    width: fit-content;
    word-wrap: break-word;
}

.chat-message.user-input {
    background-color: #F4F4F4;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    font-size: 18px;
    font-weight: 500;
    color: #536068;
    text-align: left;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 8px;
}

.chat-message.bot-response {
    background-color: #F4F4F4;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    font-size: 18px;
    font-weight: 500;
    color: #ff9999;
    text-align: left;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 8px;
}

#footer {
    position: fixed;
    bottom: 3%;
    width: 95%;
}