@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #4B5563;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B7280;
}

/* Audio player customization */
audio {
    background: #1F2937;
    border-radius: 10px;
    padding: 8px;
}

audio::-webkit-media-controls-panel {
    background: #1F2937;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
    filter: invert(100%);
}

/* Message bubbles */
.comment-bubble {
    position: relative;
    background: #374151;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 8px;
    max-width: 80%;
}

.comment-bubble::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #374151;
    border-bottom: 0;
    margin-left: -10px;
    margin-bottom: -10px;
}
/* Custom animations */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.05;
    }
    50% {
        opacity: 0.15;
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    }
    100% {
        box-shadow: 0 0 5px rgba(99, 102, 241, 0.3);
    }
}

/* Button hover effects */
button:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

#fetch-space:hover {
    animation: glow 2s infinite;
}

/* Input focus effects */
input:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

/* Animation for recording */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.recording {
    animation: pulse