.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-active {
    background-color: #4ade80;
    box-shadow: 0 0 6px #4ade80;
    animation: pulse-green 2s infinite;
}

.status-inactive {
    background-color: #f87171;
    box-shadow: 0 0 6px #f87171;
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Sidebar transition for mobile */
#mobile-menu {
    transition: max-height 0.2s ease-out;
}

/* HTMX loading indicator */
.htmx-request .htmx-indicator {
    display: inline-block;
}

/* Priority badges */
.badge-high {
    background-color: #ef4444;
    color: #fff;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-medium {
    background-color: #f59e0b;
    color: #1e293b;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-low {
    background-color: #3b82f6;
    color: #fff;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Category badges */
.badge-category {
    background-color: #334155;
    color: #94a3b8;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
}

/* Modal overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal-content {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 28rem;
    width: 100%;
}

/* Task row strikethrough for done */
.task-done {
    text-decoration: line-through;
    opacity: 0.6;
}

/* AI Router category cards */
.category-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.category-card:hover {
    border-color: #3b82f6;
    background-color: #1e3a5f;
}

.category-card.selected {
    border-color: #3b82f6;
    background-color: #1e3a5f;
}

/* Cost tier badges */
.badge-free {
    background-color: #065f46;
    color: #6ee7b7;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-cheap {
    background-color: #1e3a5f;
    color: #93c5fd;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-moderate {
    background-color: #78350f;
    color: #fcd34d;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Chat bubbles */
.chat-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.chat-bubble-user {
    background-color: #1d4ed8;
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 0.25rem;
}

.chat-bubble-assistant {
    background-color: #334155;
    color: #e2e8f0;
    margin-right: auto;
    border-bottom-left-radius: 0.25rem;
}

/* Streaming cursor */
.streaming-cursor::after {
    content: "\2588";
    animation: blink-cursor 0.8s infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
