body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
}

#startOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
}

#startOverlay.hidden {
    opacity: 0;
    visibility: hidden;
}

#startOverlay button {
    background-color: blue;
    color: white;
    font-size: 24px;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#startOverlay button:hover {
    background-color: darkblue;
}

#header {
    background-color: #007bff;
    color: white;
    text-align: center;
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

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

#inputSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
}

#loadingIndicator {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    height: 20px;
}

#query {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    outline: none;
    margin-bottom: 10px;
}

#sendButton {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#sendButton:hover {
    background-color: #0056b3;
}

#sendButton::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

@keyframes loadingDots {
0% {
    content: "";
}
33% {
    content: ".";
}
66% {
    content: "..";
}
100% {
    content: "...";
}
}

#loadingIndicator::after {
    content: "";
    display: inline-block;
    animation: loadingDots 1.5s infinite steps(4, end);
}