/* ============================================================
   PROJECT:   Yield Ops
   MODULE:    Global Web Styles
   COPYRIGHT: (c) 2026 King Ag Systems
   LICENSE:   Proprietary - All Rights Reserved
   ============================================================ */

/* Note: Variables are mapped to YieldOps.Core.Branding.BrandPalette.
   Standard Mapping:
   --primary-teal:      #008080 (Deep Sea Teal)
   --secondary-green:   #228B22 (Forest Growth)
   --nucleus-cyan:      #00D1D1 (Electric Cyan)
   --plasma-blue:       #00FFFF (Plasma Blue)
   --background-top:    #3D3D3D (Gunmetal Steel)
   --background-bottom: #1A1A1A (Obsidian Black)
   --accent-white:      #FFFFFF (Pure Frost)
*/

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px; /* Space for footer */
    background: radial-gradient(circle at center, var(--background-top), var(--background-bottom));
    color: var(--accent-white);
    font-family: 'Rajdhani', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- Tactical Typography --- */
h1, h2, h3, h4, h5, .navbar-brand, .hud-font {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--plasma-blue);
}

/* --- Buttons (Yield Ops Standard) --- */
.btn-tactical {
    background-color: var(--primary-teal);
    color: var(--accent-white);
    border: 1px solid var(--nucleus-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 0; /* Tactical sharp edges */
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-tactical:hover {
        background-color: var(--nucleus-cyan);
        color: var(--background-bottom);
        box-shadow: 0 0 15px var(--nucleus-cyan);
        border-color: var(--accent-white);
        transform: translateY(-1px);
    }

/* --- Custom Scrollbar (Tactical HUD Optimized) --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-bottom);
}

::-webkit-scrollbar-thumb {
    background: var(--background-top);
    border: 1px solid var(--primary-teal);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-teal);
        box-shadow: inset 0 0 5px var(--nucleus-cyan);
    }

/* --- Layout Components (Cockpit Test Compliant) --- */
.yield-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--background-top);
    border-left: 4px solid var(--primary-teal);
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

    .yield-card:hover {
        border-left-color: var(--nucleus-cyan);
        background: rgba(0, 128, 128, 0.05);
        box-shadow: 0 0 20px rgba(0, 209, 209, 0.2);
        transform: scale(1.01);
    }

/* --- HUD Utility --- */
.status-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: var(--secondary-green);
    letter-spacing: 1px;
}

.critical-glow {
    text-shadow: 0 0 10px var(--plasma-blue);
}
