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

/* Utility classes */
.hidden {
    display: none !important;
}

/* Sidebar styles */
#sidebar.collapsed {
    width: 60px !important;
    min-width: 60px !important;
}

#sidebar.collapsed .nav-text,
#sidebar.collapsed #sidebar-title,
#sidebar.collapsed #footer-text {
    display: none;
}

#sidebar.collapsed .nav-item {
    justify-content: center;
}

.nav-item.active {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Analysis card styles */
.analysis-card ul {
    padding-left: 1.2rem;
    list-style-type: disc;
}

.analysis-card li {
    margin-bottom: 0.3rem;
}

.analysis-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Keyword tag */
.keyword-tag {
    background-color: #e0e7ff;
    color: #3730a3;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    margin: 0.1rem;
}

/* Transcript segment styles */
.transcript-segment {
    transition: all 0.3s ease;
}

.transcript-segment.active {
    background-color: #fef3c7 !important;
    border: 2px solid #f59e0b !important;
    transform: scale(1.02);
}

.transcript-segment:hover {
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Button hover effects */
button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

button:not(:disabled):active {
    transform: translateY(0);
}

/* Page content transitions */
.page-content {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status indicator pulse */
#status-indicator {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #sidebar {
        width: 60px !important;
    }
    
    #sidebar .nav-text,
    #sidebar #sidebar-title,
    #sidebar #footer-text {
        display: none !important;
    }
    
    #sidebar .nav-item {
        justify-content: center;
    }
}
