/* =========================================================
   ULK-POS Global Enterprise Master Stylesheet
   ========================================================= */

:root {
    --bg-page: #F8FAFC;
    --navy-dark: #001B3A;
    --navy-deep: #002B5B;
    --navy-accent: #004085;
    --primary-blue: #2563EB;
    --primary-green: #10B981;
    --primary-purple: #8B5CF6;
    --primary-orange: #F97316;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border-card: #E2E8F0;
}

/* RESET & LAYOUT CORE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #001B3A !important; /* Seamless navy background at absolute document bottom */
}

body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-page);
    font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

/* FLEX CONTENT AREA */
.site-content {
    flex: 1 0 auto;
    width: 100%;
    background-color: var(--bg-page);
}

/* STICKY HEADER */
.site-header {
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.brand-logo img:hover {
    transform: scale(1.03);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #475569;
    font-size: 14.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 800;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 20px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #1E293B;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-login:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

/* FOOTER FIX & FLEX STICKY */
footer.ulk-modern-footer {
    flex-shrink: 0;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
    position: relative;
    z-index: 10;
}

/* BROWSER EXTENSION PARASITE PURGE (e.g. volume-booster-tnmPt) */
div[id*="volume-booster"],
div[class*="volume-booster"],
#volume-booster-tnmPt,
[id^="volume-booster"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .brand-logo img { height: 48px; }
}
