body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.chat-container {
    width: 100%;
    max-width: 800px;
    margin: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 70vh;
    display: flex;
    flex-direction: column;
}
.chat-header {
    background-color: #099cb3;
    color: white;
    padding: 10px;
    text-align: center;
}
.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    flex-grow: 1;

}
.message-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}
.message {
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    animation: popIn 0.3s ease-out;
    line-height: 1.5;
}
.message a {
    color: #099cb3;
    text-decoration: underline;
}
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.user-message {
    background-color: #099cb3;
    color: white;
    align-self: flex-end;
    margin-left: auto;
}
.user-message a {
    color: #FFFFFF;
}
.ai-message {
    background-color: #e0e0e0;
    color: black;
    align-self: flex-start;
}
.chat-input {
    display: flex;
    padding: 10px;
    align-items: center;
}
#user-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}
#user-input:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
}
#mic-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#mic-button .icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
#mic-button .icon.record {
    background-color: #000000;
}
#mic-button .icon.stop {
    background-color: #ff4136;
    animation: pulse 1s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
#send-button {
    padding: 10px 20px;
    background-color: #099cb3;
    color: white;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
}
#send-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
.thinking {
    font-style: italic;
    color: #888;
}
@keyframes ellipsis {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
    100% { content: ''; }
}
.thinking::after {
    content: '';
    display: inline-block;
    width: 12px;
    text-align: left;
    animation: ellipsis 1.5s infinite;
}
.copy-icon {
    cursor: pointer;
    width: 20px;
    height: 20px;
    margin-top: 5px;
    align-self: flex-start;
    transition: all 0.3s ease;
}
.copy-icon:hover {
    opacity: 0.7;
}
.audio-message {
    display: flex;
    align-items: center;
    gap: 10px;
}
.play-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-button .icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.play-button .icon.play {
    background-color: #4CAF50;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
.play-button .icon.pause {
    background-color: #4CAF50;
    clip-path: polygon(0 0, 0 100%, 35% 100%, 35% 0, 65% 0, 65% 100%, 100% 100%, 100% 0);
}
@media (max-width: 600px) {
    .chat-container {
        margin: 10px;
        height: 95vh;
    }
    .message {
        max-width: 90%;
    }
    #mic-button {
        display: none;
    }
}

.question-suggestions {
    padding: 20px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ccc;
}

.question-suggestions h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.suggestion-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #099cb3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.suggestion-btn:hover {
    background-color: #077a8c;
}


.chat-footer {
    padding: 5px;
    text-align: center;
    font-size: 12px;
    color: #888;
    background-color: #f0f0f0;
    border-top: 1px solid #ccc;
}