/* InfoHub custom styles — complements Tailwind CDN */

.nav-tab {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.15s;
}

.nav-tab:hover {
    color: #e2e8f0;
}

.nav-tab.active {
    color: #60a5fa;
    border-bottom-color: #3b82f6;
}

.section-panel {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-result-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.search-result-item:hover {
    background: rgba(51, 65, 85, 0.5);
}

.search-result-item:last-child {
    border-bottom: none;
}

.calendar-day {
    min-height: 100px;
    padding: 0.25rem;
    border: 1px solid #1e293b;
    background: rgba(15, 23, 42, 0.5);
}

.calendar-day.today {
    box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.event-pill {
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.attachment-thumb {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #475569;
}
