:root {
    --brand-primary: #dc2626;
    --brand-primary-light: #ef4444;
    --brand-primary-dark: #b91c1c;
    --brand-secondary: #1f2937;
    --brand-accent: #3b82f6;
    --neutral-50: #f9fafb;
    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Remove gray background from chat scroll area */
.chat-messages .q-scrollarea__content {
    background: transparent !important;
}

.chat-messages.q-scrollarea--dark {
    background: transparent !important;
}

/* Remove horizontal padding from tab panels */
.q-tab-panels {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.q-tab-panel {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Subtle typing animations for game feel */
.chat-input-field {
    transition: box-shadow 0.2s ease;
}

.chat-input-field:focus {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Button hover effect */
.q-btn {
    transition: transform 0.1s ease;
}

.q-btn:hover {
    transform: scale(1.05);
}

/* Message appear animation */
.user-message, .assistant-message {
    animation: slideIn 0.3s ease-out;
}

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

/* Global strong tag styling - force normal text size */
strong {
    font-weight: 600 !important;
    font-size: 1rem !important;
    display: inline !important;
}

/* Override markdown content */
.nicegui-markdown strong {
    font-weight: 600 !important;
    font-size: 1rem !important;
}

/* Force override headings with strong tags */
.nicegui-markdown h1 strong,
.nicegui-markdown h2 strong,
.nicegui-markdown h3 strong,
.nicegui-markdown h4 strong,
.nicegui-markdown h5 strong,
.nicegui-markdown h6 strong {
    font-weight: 600 !important;
    font-size: 1rem !important;
}

/* Override table strong tags */
.nicegui-markdown table strong,
.nicegui-markdown th strong,
.nicegui-markdown td strong {
    font-weight: 600 !important;
    font-size: 1rem !important;
}

/* Reduce message padding */
.nicegui-card {
    padding: 8px !important;
}

/* Reduce markdown content spacing */
.nicegui-markdown {
    margin: 0 !important;
}

.nicegui-markdown p {
    margin: 0.25rem 0 !important;
}

.nicegui-markdown h1,
.nicegui-markdown h2,
.nicegui-markdown h3,
.nicegui-markdown h4,
.nicegui-markdown h5,
.nicegui-markdown h6 {
    margin: 0.5rem 0 0.25rem 0 !important;
}

.nicegui-markdown ul,
.nicegui-markdown ol {
    margin: 0.25rem 0 !important;
    padding-left: 1.5rem !important;
}

.nicegui-markdown li {
    margin: 0.1rem 0 !important;
}

/* Remove padding from message container */
.nicegui-column {
    padding: 0 !important;
}

/* Global notification position - top center */
.q-notifications {
    top: 20px !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
}

/* Responsive cards for home page */
.card-responsive {
    width: 100%;
    min-width: 280px;
    max-width: 400px;
    flex: 1 1 300px;
}

@media (max-width: 768px) {
    .card-responsive {
        min-width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .card-responsive {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (min-width: 1025px) {
    .card-responsive {
        flex: 1 1 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
}

/* Responsive server cards for MCP servers page */
.server-card-responsive {
    width: 100%;
    min-width: 320px;
    max-width: 450px;
    flex: 1 1 350px;
}

@media (max-width: 768px) {
    .server-card-responsive {
        min-width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .server-card-responsive {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (min-width: 1201px) {
    .server-card-responsive {
        flex: 1 1 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
}
}
}
