body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #000000, #1a2a44);
    min-height: 100vh;
    color: #ffffff;
}
.gauge {
    position: relative;
    width: 200px;
    height: 200px;
    background: conic-gradient(#00ff00 0% 0%, #333333 0% 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}
.gauge::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: #1a2a44;
    border-radius: 50%;
}
.gauge span {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
}
.chat-container {
    flex-grow: 1;
    overflow-y: auto;
    background: #1a2a44;
    border-radius: 1rem 1rem 0 0;
    padding: 1rem;
    max-height: 400px;
    scrollbar-width: thin;
    scrollbar-color: #4b5563 #1a2a44;
}
.chat-container::-webkit-scrollbar {
    width: 8px;
}
.chat-container::-webkit-scrollbar-track {
    background: #1a2a44;
}
.chat-container::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}
.chat-message {
    max-width: 70%;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 1rem;
    line-height: 1.5;
}
.user-message {
    background: #00ff00;
    color: #000000;
    margin-left: auto;
    border-bottom-right-radius: 0;
}
.bot-message {
    background: #4b5563;
    color: #ffffff;
    border-bottom-left-radius: 0;
}
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: #1a2a44;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    flex-direction: column;
}
.modal-header {
    padding: 1rem;
    border-bottom: 1px solid #4b5563;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 1rem 60px 1rem;
    position: relative;
}
.input-container {
    position: absolute;
    bottom: 10px;
    left: 1rem;
    right: 1rem;
    display: flex;
}
.analyze-btn {
    position: relative;
    overflow: hidden;
}
.analyze-btn.analyzing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #6b7280;
    z-index: -1;
    animation: fillProgress 3s linear forwards;
}
.analyze-btn.analyzing::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 4px solid #fff;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
@keyframes fillProgress {
    0% { width: 0; }
    100% { width: 100%; }
}
@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
/* Chatbot Icon Shape - Matching Theme */
#chatbotIcon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to bottom, #000000, #1a2a44);
    border: 2px solid #00ff00;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    visibility: visible;
}
#chatbotIcon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: #00ff00;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 25% 100%, 25% 75%, 0% 75%);
}
#chatbotIcon:hover {
    background: linear-gradient(to bottom, #0a1a34, #1a2a44);
    border-color: #00cc00;
}
#chatbotIcon:hover::before {
    background: #00cc00;
}
/* Full-width for mentions and suggestions */
.col-span-1.md\:col-span-2 {
    grid-column: span 1 / span 1;
}
@media (min-width: 768px) {
    .col-span-1.md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}