﻿/* ==========================================================================
   PRODUCTION SELF-HOSTED INTER FONT CONFIGURATION (v20)
   ========================================================================== */

/* Light Weight */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-300.woff2') format('woff2');
}

/* Regular / Normal Weight */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
}

/* Medium Weight */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
}

/* Semi-Bold Weight */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
}

/* Bold Weight */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-700.woff2') format('woff2');
}

/* Extra Bold Weight */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-800.woff2') format('woff2');
}

/* ==========================================================================
   APPLICATION MASTER BRAND PROFILE & CSS VARIABLES
   ========================================================================== */
:root {
    --primary-blue: #004687; /*#004687;#0047ab */
    --accent-burgundy: #660000; /*#660000;#d91817 */
    --accent-green: #006400; /*#2ecc71*/
    --bg-light: #f1f4f8;
    --white: #ffffff;
    --border-muted: rgba(0, 71, 169, 0.15);
}

/* GLOBAL APPLICATION ENFORCEMENT RESET */
html, body, .app-workspace {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

body {
    background-color: var(--bg-light);
    color: var(--primary-blue);
}

/* ==========================================================================
   NAVIGATION CONSOLE SHELLS
   ========================================================================== */
.navbar-custom {
    background-color: var(--white) !important;
    border-bottom: 3px solid var(--accent-burgundy);
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.05);
}

.navbar-brand-custom {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary-blue) !important;
}

    .navbar-brand-custom span {
        color: var(--accent-burgundy);
    }

/* Force the hamburger lines to render in dark slate/charcoal */
.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%2833, 37, 41, 0.85%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}


/* Add a subtle burgundy or blue border to match your HMS branding */
.navbar-custom .navbar-toggler {
    border: 1px solid var(--primary-blue) !important;
    opacity: 0.8;
}


/* NAVIGATION LINKS & WORKSPACE STATES */
.navbar-nav .nav-link {
    color: var(--primary-blue) !important;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem !important;
    transition: all 0.2s ease-in-out;
    opacity: 1 !important;
}

    .navbar-nav .nav-link:hover {
        color: var(--accent-burgundy) !important;
    }

.nav-link.active {
    color: var(--accent-burgundy) !important;
    border-bottom: 2px solid var(--accent-burgundy);
}

/* INLINE CONSOLE NAVIGATION ACTIONS */
.navbar-nav .nav-link.btn-primary-custom {
    color: var(--white) !important;
    background-color: var(--primary-blue) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 6px 16px !important;
    margin-left: 10px;
}

    .navbar-nav .nav-link.btn-primary-custom:hover {
        background-color: var(--accent-burgundy) !important;
        color: var(--accent-green) !important;
    }


/* INTERACTIVE COMPONENTS & BRAND UTILITIES */
.profile-initials:hover {
    background-color: var(--accent-burgundy) !important;
    transform: scale(1.05);
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: none;
}

    .btn-primary-custom:hover {
        background-color: var(--accent-burgundy);
        color: var(--white) !important;
    }

.btn-secondary-custom {
    background-color: transparent;
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    font-weight: 600;
    border-radius: 5px;
    padding: 8px 20px;
}

/* ==========================================================================
   FUNCTIONAL LAYOUT GRIDS & CORPORATE CARDS
   ========================================================================== */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 20px 0;
}

.consulting-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.08);
    border-top: 4px solid var(--accent-burgundy);
    display: flex;
    flex-direction: column;
}

    .consulting-card ul {
        list-style: none;
        padding-left: 1.25rem;
    }

    .consulting-card li::before {
        content: "●";
        color: var(--accent-green);
        display: inline-block;
        width: 1em;
        margin-left: -1em;
    }

.text-accent {
    color: var(--accent-burgundy);
}

mark {
    border-radius: 2px;
    padding: 0 4px;
    background-color: #ffeeba;
}

/* ==========================================================================
   HMSWEB ENTERPRISE 2026 WORKSPACE UTILITIES
   ========================================================================== */
.app-workspace .fw-xbold {
    font-weight: 750;
}

.app-workspace .fs-8 {
    font-size: 0.72rem;
}

.app-workspace .py-25 {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

/* SYSTEM COLOR PANELS */
.app-workspace .bg-workspace-dark {
    background-color: #0f172a !important;
}

.app-workspace .bg-blur-warning {
    background: rgba(245, 158, 11, 0.12);
}

.app-workspace .bg-blur-success {
    background: rgba(16, 185, 129, 0.12);
}

.app-workspace .bg-glass-white {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.app-workspace .border-glass {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* ELEVATION ARCHITECTURE */
.app-workspace .shadow-3xs {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.app-workspace .workspace-card {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
}

.app-workspace .metric-panel {
    background-color: #fafafa;
    border-color: #f1f5f9 !important;
}

    .app-workspace .metric-panel:hover {
        background-color: #ffffff;
        border-color: #e2e8f0 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        transform: translateY(-2px);
    }

.app-workspace .terminal-panel {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* OBJECT WORKSPACE METRICS */
.app-workspace .icon-shape {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-workspace .bg-soft-blue {
    background-color: rgba(59, 130, 246, 0.08);
}

.app-workspace .bg-soft-gold {
    background-color: rgba(234, 179, 8, 0.08);
}

/* TELEMETRY ANIMATION HOOKS */
.app-workspace .pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulseWorkspace 2s infinite;
}

@keyframes pulseWorkspace {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* INTERACTIVE VECTOR TRANSITIONS */
.app-workspace .transition-all {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-workspace .hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.25) !important;
}

.app-workspace .hover-dark:hover {
    color: #0f172a !important;
}

/* DROPDOWN LISTS*/
.workspace-link {
    font-weight: 500 !important;
    white-space: nowrap !important;
    min-width: 240px;
}

    .workspace-link i {
        width: 18px;
        flex-shrink: 0;
        text-align: center;
    }

/* Application Success Banner Styling */
.success-banner-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0a4ebd 100%) !important;
    border-radius: 16px !important;
    border-left: 6px solid rgba(255, 255, 255, 0.4) !important;
}

.success-banner-text {
    max-width: 600px;
    margin: 0 auto;
    color: #f8fafc !important;
    opacity: 0.95;
}

/* Horizontal Visual Application Tracker */
.pipeline-tracker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

    /* The connector line behind the steps */
    .pipeline-tracker::before {
        content: '';
        position: absolute;
        top: 24px; /* Centers line horizontally with the 48px circle node */
        left: 0;
        width: 100%;
        height: 4px;
        background-color: #e2e8f0;
        z-index: 1;
    }

/* Individual Step Node Containers */
.pipeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* The step circle badge indicator */
.pipeline-node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 0.75rem auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pipeline-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* STATE STYLES: Active and Completed Stages */
.pipeline-step.completed .pipeline-node {
    background-color: #10b981; /* Success Green */
    border-color: #10b981;
    color: #ffffff;
}

.pipeline-step.completed .pipeline-label {
    color: #0f172a;
}

.pipeline-step.active .pipeline-node {
    background-color: #0d6efd; /* Primary Corporate Blue */
    border-color: #0d6efd;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.25);
}

.pipeline-step.active .pipeline-label {
    color: #0d6efd;
    font-weight: 700;
}

