:root {
    --bs-primary: #0d9488;
    --bs-primary-rgb: 13, 148, 136;
    --bs-primary-bg-subtle: #ccfbf1;
    --bs-primary-border-subtle: #99f6e4;
}

body {
    background-color: #f6f7f9;
}

.btn-primary {
    --bs-btn-bg: #0d9488;
    --bs-btn-border-color: #0d9488;
    --bs-btn-hover-bg: #0f766e;
    --bs-btn-hover-border-color: #0f766e;
    --bs-btn-active-bg: #0f766e;
    --bs-btn-active-border-color: #0f766e;
    --bs-btn-disabled-bg: #0d9488;
    --bs-btn-disabled-border-color: #0d9488;
    --bs-btn-focus-shadow-rgb: 13, 148, 136;
}

.btn-outline-primary {
    --bs-btn-color: #0d9488;
    --bs-btn-border-color: #0d9488;
    --bs-btn-hover-bg: #0d9488;
    --bs-btn-hover-border-color: #0d9488;
    --bs-btn-active-bg: #0d9488;
    --bs-btn-active-border-color: #0d9488;
    --bs-btn-disabled-color: #0d9488;
    --bs-btn-disabled-border-color: #0d9488;
    --bs-btn-focus-shadow-rgb: 13, 148, 136;
}

.card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.navbar {
    box-shadow: 0 2px 6px rgba(10, 30, 66, 0.25);
}

.bg-navbar-gradient {
    background: linear-gradient(135deg, #0a1e42 0%, #16305e 60%, #1b3a73 100%);
}

.navbar-brand {
    font-weight: 600;
}

.nav-link.active {
    color: #0d9488 !important;
    font-weight: 600;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
    color: #ffffff !important;
}

.navbar-dark .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.insight-bubble {
    background: #ffffff;
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.1);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.insight-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.insight-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

#insight-result {
    white-space: pre-line;
    line-height: 1.6;
}

@media (max-width: 576px) {
    html {
        font-size: 17.5px;
    }
}
