body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #F8F9FA 0%, #E9ECEF 100%);
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    min-height: calc(100vh - 60px); /* Adjust based on topbar height */
    border-right: 2px solid #e9ecef;
    margin-top: 0;
}

.brand-name {
    color: #20A684;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo {
    height: 30px;
}

.nav-link {
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.nav-link:hover, .nav-link.active {
    background-color: #f0f2ff;
    color: #7C3AED;
}

.content-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
}

.topbar {
    height: 60px;
    box-shadow: 0 3px 2px rgba(0, 0, 0, 0.05);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 1rem;
}

.brand-name {
    color: #7C3AED;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo {
    height: 24px;
    width: auto;
}

.main-content {
    position: relative;
    /* background: linear-gradient(130deg, #fff 0%, #e0e3e5 100%); */
    background-image: url('/static/assets/media/auth/bg10.jpeg');
    background-size: cover;
    background-position: center;
}

.user-popover {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 0;
}

.user-popover .popover-body {
    padding: 0;
}

.user-popover-content {
    padding: 8px;
    min-width: 160px;
}

.sign-out-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #4B5563;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.sign-out-link:hover {
    background-color: #F3F4F6;
    color: #1F2937;
}

.user-initials {
    background-color: #034EA2 !important;
    color: white;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.user-initials:hover {
    background-color: #03C1F4 !important;
    color: #fff;
}

/* Fix Bootstrap popover arrow */
.user-popover .popover-arrow::before {
    border-bottom-color: white;
}

.user-popover .popover-arrow::after {
    border-bottom-color: white;
}

.expert-agent-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.agent-icon {
    width: 56px;
    height: 56px;
    background-color: #E8F5E9;
}

.agent-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: #111827;
}

.description-text {
    font-size: 0.875rem;
    line-height: 1.1;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.measured-trait-text {
    font-size: 0.875rem;
    color: #6B7280;
}

.traits-tags {
    display: flex;
    gap: 0.5rem;
}

.trait-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 9999px;
    color: #374151;
    font-size: 0.875rem;
}

.bg-light-green {
    background-color: #E8F5E9;
}

.btn-primary {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
}