nav {
    background-color: #039be5 !important;
}

nav.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;  /* Ensure the navbar is above other content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

/* Adjust the margin for the container to avoid being hidden under the navbar */
div.container {
    margin-top: 85px !important; /* Adjust based on navbar height */
}

/* ovveride .container of materialize.css */
div.container.wide {
    max-width: none !important;
    width: calc(100% - 40px) !important;
    margin: 85px 20px 0 20px !important; /* Because eof sticky navbar */
}

h1 {
    font-size: 2em;
    margin: 0 0 20px 0;
}

h2 {
    font-size: 1.5em ;
    margin: 0 0 0 0;
}

.bold-text {
    font-weight: bold;
}

/* Styling for empty lists or tables */
.nothing-found {
    text-align: center;
    font-weight: lighter;
    color: grey;
}

i.edit-color {
    color: #FFC107;
}

i.edit-color:hover {
    color: #c99805;
}

i.add-color {
    color: #26a69a;
}

i.add-color:hover {
    color: #166059;
}

i.delete-color {
    color: #F44336;
}

i.delete-color:hover {
    color: #982921;
}

.hover-darken:hover {
    filter: brightness(0.8); /* Darkens the color */
}

.hover-lighten:hover {
    filter: brightness(1.3); /* Lightens the color */
    background-color: #d0d0d0;
}

select.browser-default {
    height: 30px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.grey-icon {
    color: #ccc;
}

/* Chatbot styling */
.chat-window {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    }
.chat-message {
    display: flex;
    text-align: left;
    margin-bottom: 0px;
    margin-top: 0px;
}
.user-message {
    color: #007bff;
}
.bot-message {
    color: #28a745;
}
.bot-message > p { 
    /* markup lib always wraps the text in a <p> tag */
    display: inline !important;
    margin: 0 !important;
}
.bot-message p {
    margin-bottom: 5px;
    margin-top: 5px;
}
.bot-message ul {
    position: inherit;
}
.bot-message li {
    position: inherit;
    text-align: left;
    margin-bottom: 5px !important;
}
i.bot-icon {
    width: 20px;
    float: left;
    display: inline;
    margin-right: 5px;
}
span.code {
    color: white !important;
    background-color: #a5a5a5; /* Light grey background */
    border-radius: 5px;        /* Rounded corners */
    padding: 3px 8px;          /* Padding inside the box */
    margin: 1px;
    display: inline-block;     /* Ensures the box wraps around the content */
    color: #333;               /* Optional: Darker text color */
}
.spinner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px; /* Adjust based on your layout */
}
/* General modal styling */
.modal {
    width: 50%;
}
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}