.chat-container {
    width: 100%;
    background-color: #149b9e;
    padding: 10px;
    display: flex;
    flex-direction: column;
}
.chat-output {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    resize: none;
    margin-bottom: 15px;
    overflow-y: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.message-container {
    margin: 5px;
    padding: 10px;
    border-radius: 10px;
    max-width: 90%;
}

.message-container ol,
.message-container ul {
    list-style-position: inside;
    padding-left: 8px;
}

.user-message {
    background-color: #8e8f95;
    color: white;
    text-align: right;
    align-self: flex-end;
    margin-left: auto;
}

.response-message {
    background-color: #639ab1;
    color: white;
    text-align: left;
    align-self: flex-start;
    margin-right: auto;
}

.chat-input {
    display: flex;
}

.chat-input input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px 0 0 10px;
    outline: none;
}

.chat-input button {
    padding: 10px 15px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 0 10px 10px 0;
    outline: none;
}

.chat-input button:hover {
    background-color: #0056b3;
}

.spinner {
    width: 20px; /* Size of spinner */
    height: 20px; /* Size of spinner */
    animation: spin 1s linear infinite; /* Spin animation */
    display: block; /* Center spinner */
    margin: auto; /* Center spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.path {
    stroke-dasharray: 150; /* Length of the circle */
    stroke-dashoffset: 0; /* Start from the beginning */
    animation: dash 1.5s ease-in-out infinite; /* Animation for stroke */
}

@keyframes dash {
    0% {
        stroke-dashoffset: 150;
    }
    50% {
        stroke-dashoffset: 75;
        transform: rotate(45deg);
    }
    100% {
        stroke-dashoffset: 150;
        transform: rotate(360deg);
    }
}

.mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled) {
    color: var(--mud-palette-white) !important;
}

.content-block {
    scroll-snap-align: start; /* Snap to the start of each block */
    height: calc(100dvh - 48px); /* Each content block takes the full screen height */
    min-height: calc(100dvh - 48px);
    border: 0;
    padding: 0;
    box-sizing: border-box;
}

.scroll-container {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 48px); /* Full viewport height */
    min-height: calc(100dvh - 48px);
    overflow-y: scroll; /* Enable vertical scrolling */
    scroll-snap-type: y mandatory; /* Snap vertically to the nearest content block */
}