/**
 * EventPOS - Professional Navbar Enhancements
 * Ultra-refined, minimal design for top navigation
 */

/* ==================== Force Clean White Background ==================== */
.navbar,
.navbar-default,
.navbar-fixed-top,
.top-bar,
.container-fluid {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    filter: none !important;
}

/* ==================== Ultra-Professional Typography ==================== */
.navbar-brand {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
}

.navbar-text a span {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}

/* ==================== Refined Color Palette ==================== */
:root {
    --navbar-text-primary: #0f172a;
    --navbar-text-secondary: #64748b;
    --navbar-text-hover: #0f172a;
    --navbar-border: #f1f5f9;
    --navbar-hover-bg: #f8fafc;
    --navbar-accent: #3b7db5;
}

/* ==================== Ultra-Minimal Borders ==================== */
.navbar-fixed-top {
    border-bottom: 1px solid var(--navbar-border) !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03) !important;
}

/* ==================== Link Refinements ==================== */
.navbar-text a {
    color: var(--navbar-text-secondary) !important;
    font-weight: 500 !important;
    padding: 0.45rem 0.75rem !important;
    border-radius: 6px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.navbar-text a:hover {
    color: var(--navbar-text-hover) !important;
    background: var(--navbar-hover-bg) !important;
    border-color: var(--navbar-border) !important;
}

/* ==================== Icon Styling ==================== */
.navbar-text a i {
    color: #94a3b8 !important;
    font-size: 1.125rem !important;
    transition: color 0.15s ease !important;
}

.navbar-text a:hover i {
    color: var(--navbar-accent) !important;
}

/* ==================== Clean Separator ==================== */
.navbar-text a + a::before {
    background: #e2e8f0 !important;
    opacity: 0.6;
}

/* ==================== Brand Logo Hover ==================== */
.navbar-brand:hover {
    color: var(--navbar-accent) !important;
    transform: none !important;
}

/* ==================== Remove All Shadows & Effects ==================== */
.navbar-text a:focus,
.navbar-text a:active {
    box-shadow: none !important;
}

/* ==================== Perfect Alignment ==================== */
.top-bar {
    padding: 0 2rem !important;
    max-width: 100% !important;
}

@media (min-width: 1400px) {
    .top-bar {
        padding: 0 3rem !important;
    }
}

/* ==================== Breadcrumbs Visibility Fix ==================== */
.breadcrumbs,
.breadcrumbs a,
.col-md-12.breadcrumbs,
.col-md-12.breadcrumbs a {
    color: #64748b !important;
    background: #ffffff !important;
}

.breadcrumbs a {
    color: var(--navbar-accent) !important;
}

.breadcrumbs a:hover {
    color: #2a5a85 !important;
}

.breadcrumbs a:visited {
    color: var(--navbar-accent) !important;
}

/* Override any conflicting styles */
.row .col-md-12.breadcrumbs {
    background-color: #ffffff !important;
    color: #64748b !important;
}

/* ==================== Minimize Button Visual Weight ==================== */
.navbar-text a {
    font-size: 1.125rem !important;
}

/* ==================== Subtle Gradient Underline ==================== */
.navbar-fixed-top::before {
    height: 1px !important;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(241, 245, 249, 0.5) 20%,
        rgba(241, 245, 249, 1) 50%,
        rgba(241, 245, 249, 0.5) 80%,
        transparent 100%
    ) !important;
}

/* ==================== Clean Active States ==================== */
.navbar-text a:active {
    transform: translateY(0) !important;
    background: #f1f5f9 !important;
}

/* ==================== Professional Spacing ==================== */
.navbar-text {
    gap: 0.375rem !important;
}

/* ==================== Perfect Typography Scale ==================== */
.navbar-brand {
    line-height: 64px !important;
}

.navbar-text a span {
    line-height: 1.5 !important;
}

/* ==================== Breadcrumbs Complete Override ==================== */
div.breadcrumbs,
div.col-md-12.breadcrumbs,
.breadcrumbs,
.row .breadcrumbs,
.container-fluid .breadcrumbs {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #64748b !important;
    padding: 0.875rem 1.5rem !important;
    border-radius: 8px !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

div.breadcrumbs a,
div.col-md-12.breadcrumbs a,
.breadcrumbs a {
    color: #3b7db5 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

div.breadcrumbs a:hover,
div.col-md-12.breadcrumbs a:hover,
.breadcrumbs a:hover {
    color: #2a5a85 !important;
    text-decoration: underline !important;
}

div.breadcrumbs a:visited,
div.col-md-12.breadcrumbs a:visited,
.breadcrumbs a:visited {
    color: #3b7db5 !important;
}

/* Override any inherited text color */
.right-side .breadcrumbs,
.right-side .breadcrumbs a {
    color: #64748b !important;
}

.right-side .breadcrumbs a {
    color: #3b7db5 !important;
}

/* ==================== Additional Navbar Polish ==================== */
/* Remove default navbar shadow */
.navbar {
    box-shadow: none !important;
}

/* Cleaner brand logo */
.navbar-brand {
    transition: color 0.2s ease !important;
}

/* Remove any text shadows */
.navbar-brand,
.navbar-text a,
.navbar-text a span {
    text-shadow: none !important;
}

/* Crisp icon rendering */
.navbar-text a i {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Perfect link spacing */
.navbar-text a {
    margin: 0 !important;
}

/* Separator refinement */
.navbar-text a + a::before {
    margin-left: 0 !important;
}
