/* ==========================================================================
   style.css - DIGIBOXO Universal Master Design Tokens, Layout & Navigation
   ========================================================================== */

:root {
    --brand-primary: #4f46e5;
    --brand-dark: #3730a3;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ==========================================================================
   Top Utility Announcement Bar (#0f172a Dark Theme)
   ========================================================================== */
.top-utility-bar {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
    font-size: 0.78rem;
    padding: 6px 0;
    border-bottom: 1px solid #1e293b;
    position: relative;
    z-index: 1030;
}

.top-utility-bar span,
.top-utility-bar a {
    color: #94a3b8 !important;
    text-decoration: none;
}

.top-utility-bar i {
    font-size: 0.82rem;
}

/* ==========================================================================
   Universal App Navigation Header
   ========================================================================== */
.app-nav {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--brand-primary) !important;
}

.navbar-brand img {
    height: 38px;
    object-fit: contain;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--brand-primary);
}

/* Offcanvas Mobile Menu Drawer */
.mobile-offcanvas-drawer {
    width: 280px !important;
    border-radius: 0 20px 20px 0;
}

/* ==========================================================================
   Universal Footer Styling
   ========================================================================== */
.app-footer {
    background-color: #0f172a;
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: auto;
}

.app-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.app-footer a:hover {
    color: #ffffff;
}
