﻿:root {
    /* Brand Colors */
    --aicore-orange: #FF6B00;
    --aicore-navy: #0F172A;
    --aicore-slate: #F8FAFC;
    /* Functional Colors */
    --aicore-success: #16A34A;
    --aicore-warning: #EAB308;
    --aicore-error: #DC2626;
}

/* Helper classes to use in your Blazor components */
.text-aicore-orange {
    color: var(--aicore-orange) !important;
}

.text-aicore-navy {
    color: var(--aicore-navy) !important;
}

.bg-aicore-slate {
    background-color: var(--aicore-slate) !important;
}

/* Global Brand Font Styling */
.brand-font {
    font-family: 'Inter', 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}
/* 1. Default (Public/Light) State */
.brand-navbar {
    background-color: #FFFFFF; /* White background for public */
}

.brand-text-core {
    color: #0F172A; /* Navy for white background */
    font-size: 26px;
    font-weight: 900;
    vertical-align: middle;
}

/* 2. Dark Theme Overrides */
/* This assumes your dark layout adds a 'dark-theme' class or uses MudBlazor's dark palette */
.bg-dark .brand-text-core,
.mud-theme-dark .brand-text-core {
    color: #FFFFFF !important; /* Switch to white for dark backgrounds */
}

/* 3. Reusable Components */
.brand-link {
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

.btn-brand-primary {
    background-color: #FF6B00;
    color: white;
    border-radius: 50px;
    font-weight: bold;
}
/* Container for the logo + text */
.brand-container {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    white-space: nowrap;
    padding: 5px 0;
}

.brand-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

/* "Ai" is ALWAYS Orange */
.brand-text-ai {
    color: #FF6B00 !important;
    font-size: 26px;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
}

/* "Core" adapts to the background */
.brand-text-core {
    font-size: 26px;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    /* This is the magic: it uses the default text color of the parent navbar */
    color: var(--mud-palette-text-primary, #0F172A);
}

/* Fix for Dark Navbar (Authorized) */
.bg-dark .brand-text-core,
.navbar-dark .brand-text-core {
    color: #FFFFFF !important;
}

/* Fix for White Navbar (Public) */
.bg-light .brand-text-core,
.navbar-light .brand-text-core {
    color: #0F172A !important;
}
/* Force MudBlazor Primary items to always be your Orange */
.mud-primary-text {
    color: #FF6B00 !important;
}

.mud-primary {
    background-color: #FF6B00 !important;
}

/* Dashboard Sidebar Styling */
.sidebar {
    background-color: #0F172A !important; /* Forces the Navy Sidebar */
}

/* NavLink active states */
.nav-link.active {
    background-color: rgba(255, 107, 0, 0.15) !important; /* Subtle Orange Glow */
    border-left: 4px solid #FF6B00 !important;
    color: #FF6B00 !important;
}