/* ClawKit Assistant - Telegram Mini App Theme & Custom Styling */

:root {
    --tg-bg: var(--tg-theme-bg-color, #0f172a);
    --tg-sec-bg: var(--tg-theme-secondary-bg-color, #1e293b);
    --tg-text: var(--tg-theme-text-color, #f8fafc);
    --tg-hint: var(--tg-theme-hint-color, #94a3b8);
    --tg-btn: var(--tg-theme-button-color, #3b82f6);
    --tg-btn-text: var(--tg-theme-button-text-color, #ffffff);
}

body {
    background-color: var(--tg-bg);
    color: var(--tg-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Glassmorphism Cards */
.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Terminal Styling */
.terminal-window {
    background: #090d16;
    border: 1px solid #1e293b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Pulse animation */
@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.animate-pulse-subtle {
    animation: pulse-subtle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Active tab button highlight */
.tab-btn.active {
    color: #38bdf8;
    border-bottom: 2px solid #38bdf8;
}
