/* Base / Ghost Theme */
:root, [data-theme="ghost"] {
    --bg: #ffffff;
    --surface: #f0f0f0;
    --theme-bright: #000000;
    --theme-mid: #444444;
    --theme-dim: #cccccc;
    --text-main: #000000;
    --text-dim: #666666;
    --border: #dddddd;
    --map-filter: grayscale(100%) invert(100%) brightness(55%) contrast(110%);
    --popup-bg: #333333;
    --popup-text: #ffffff;
}

[data-theme="phosphor"] {
    --bg: #080c08;
    --surface: #0c140c;
    --theme-bright: #00ff41;
    --theme-mid: #4d994d;
    --theme-dim: #1f3d1f;
    --text-main: #e6ffe6;
    --text-dim: #73b373;
    --border: #142914;
    --map-filter: grayscale(100%) sepia(100%) hue-rotate(75deg) saturate(300%) brightness(85%) contrast(115%);
    --popup-bg: #0c140c;
    --popup-text: #e6ffe6;
}

[data-theme="terminal"] {
    --bg: #000000;
    --surface: #050505;
    --theme-bright: #00ff41;
    --theme-mid: #008f11;
    --theme-dim: #003b00;
    --text-main: #00ff41;
    --text-dim: #008f11;
    --border: #003b00;
    --map-filter: grayscale(100%) sepia(100%) hue-rotate(75deg) saturate(400%) brightness(75%) contrast(140%);
    --popup-bg: #050505;
    --popup-text: #00ff41;
}

[data-theme="tactical"] {
    --bg: #0b0e14;
    --surface: #14171f;
    --theme-bright: #339af0;
    --theme-mid: #1c7ed6;
    --theme-dim: #1864ab;
    --text-main: #c1c2c5;
    --text-dim: #909296;
    --border: #25262b;
    --map-filter: grayscale(100%) brightness(0.6) contrast(1.2) sepia(20%) hue-rotate(180deg);
    --popup-bg: #14171f;
    --popup-text: #c1c2c5;
}

[data-theme="ember"] {
    --bg: #0f0a05;
    --surface: #1a120b;
    --theme-bright: #ff922b;
    --theme-mid: #f76707;
    --theme-dim: #d9480f;
    --text-main: #fff4e6;
    --text-dim: #ffd8a8;
    --border: #2b1d0e;
    --map-filter: grayscale(100%) sepia(100%) hue-rotate(10deg) saturate(180%) brightness(0.7) contrast(1.3);
    --popup-bg: #1a120b;
    --popup-text: #fff4e6;
}

[data-theme="neon"] {
    --bg: #090914;
    --surface: #101020;
    --theme-bright: #f0f;
    --theme-mid: #d0d;
    --theme-dim: #505;
    --text-main: #f0f8ff;
    --text-dim: #8b8b99;
    --border: #2a2a40;
    --map-filter: grayscale(100%) sepia(100%) hue-rotate(260deg) saturate(300%) brightness(95%) contrast(120%);
    --popup-bg: #101020;
    --popup-text: #f0f8ff;
}

[data-theme="blood"] {
    --bg: #100000;
    --surface: #1a0000;
    --theme-bright: #ff0000;
    --theme-mid: #cc0000;
    --theme-dim: #660000;
    --text-main: #ffe6e6;
    --text-dim: #b36666;
    --border: #330000;
    --map-filter: grayscale(100%) sepia(100%) hue-rotate(320deg) saturate(400%) brightness(85%) contrast(130%);
    --popup-bg: #1a0000;
    --popup-text: #ffe6e6;
}

[data-theme="abyss"] {
    --bg: #000b18;
    --surface: #001528;
    --theme-bright: #00ffff;
    --theme-mid: #00cccc;
    --theme-dim: #006666;
    --text-main: #e6ffff;
    --text-dim: #66b3b3;
    --border: #002240;
    --map-filter: grayscale(100%) sepia(100%) hue-rotate(190deg) saturate(300%) brightness(85%) contrast(120%);
    --popup-bg: #001528;
    --popup-text: #e6ffff;
}

body { background-color: var(--bg); color: var(--text-main); font-family: 'Fira Code', monospace; font-size: 0.85rem; overflow-x: hidden; transition: background-color 0.3s, color 0.3s; }
.container-fluid { max-width: 1400px; padding: 1rem 2rem; }
.nav-bar { border-bottom: 1px solid var(--border); padding: 0.5rem 0; margin-bottom: 1rem; transition: border-color 0.3s; }
.card { background-color: var(--surface); border: 1px solid var(--border); border-radius: 2px; padding: 1rem; margin-bottom: 1rem; height: 100%; transition: background-color 0.3s, border-color 0.3s; }
h5 { font-size: 0.75rem; color: var(--theme-bright); margin-bottom: 0.25rem; text-transform: lowercase; transition: color 0.3s; }
.chart-desc { font-size: 0.6rem; color: var(--text-dim); margin-bottom: 0.75rem; line-height: 1.2; transition: color 0.3s; }

/* Layout Grid */
.chart-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; height: 300px; }
.map-feed-row { display: grid; grid-template-columns: 7fr 5fr; gap: 1rem; margin-bottom: 1rem; height: 440px; }
.telemetry-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }

@media (max-width: 992px) {
    .map-feed-row { grid-template-columns: 1fr; height: auto; }
    .chart-row { grid-template-columns: 1fr; height: auto; }
    .card { height: auto; min-height: 280px; }
    .intel-carousel { min-height: 380px; }
    #articles-list { height: 400px !important; max-height: none !important; }
    #map-news, #map-flights { height: 280px !important; }
}

@media (max-width: 768px) {
    .container-fluid { padding: 0.5rem 1rem; }
    .nav-bar .container-fluid { flex-direction: column; align-items: flex-start !important; gap: 0.75rem !important; }
    .nav-bar .d-flex { flex-wrap: wrap; gap: 0.5rem !important; justify-content: flex-start; }
    .nav-bar [style*="border-left"] { border-left: none !important; padding-left: 0 !important; width: 100%; }
    #top-telemetry-ticker { width: 100%; flex-wrap: wrap; }
    .theme-selector { bottom: 0.5rem; right: 0.5rem; }
    .minimal-select { padding: 0.4rem 0.6rem; font-size: 0.75rem; width: 100%; }
    .market-ticker-wrapper { font-size: 0.7rem; padding: 8px 0; }
    .intel-carousel { min-height: 420px; }
    #map-news, #map-flights { height: 250px !important; }
    #articles-list { height: 400px !important; max-height: 400px !important; }
    
    /* SITREP Mobile */
    #sitrep-status { display: none; }
    .sitrep-container { height: 25px; contain: strict; }
    
    /* GTI Mobile */
    .gti-mobile-row { flex-direction: column !important; }
    .gti-mobile-row > div { border-right: none !important; border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 1rem; width: 100%; }
    .gti-mobile-row > div:last-child { border-bottom: none; padding-left: 0 !important; }
    .chart-container { height: 160px; }
}

#map-news, #map-flights { height: 330px !important; filter: var(--map-filter); border: 1px solid var(--border); transition: border-color 0.3s, filter 0.3s; }
.chart-container { position: relative; height: 210px; }

/* Leaflet Fixes */
.leaflet-tile { outline: 1px solid transparent; }
.leaflet-container { background: var(--bg) !important; }

/* Leaflet Popups - Glassmorphism Effect */
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: rgba(15, 15, 15, 0.45) !important; /* Low opacity black/grey */
    backdrop-filter: blur(8px) saturate(150%); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    color: var(--popup-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.leaflet-popup-content {
    color: var(--popup-text) !important;
    margin: 10px 12px !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.leaflet-popup-tip-container {
    display: none; /* Hide tip for a cleaner floating glass look */
}
.leaflet-popup {
    margin-bottom: 15px;
}

.article-item { 
    padding: 0.35rem 0; 
    border-bottom: 1px solid var(--border); 
    transition: border-color 0.3s; 
    height: 44px; 
    overflow: hidden; 
    contain: layout size style;
}
.article-title { color: var(--text-main); text-decoration: none; display: inline-block; font-size: 0.68rem; margin-bottom: 0px; transition: color 0.3s; white-space: nowrap; }
.article-title:hover { color: var(--theme-bright); }

.should-scroll {
    animation: marquee 20s linear infinite;
    will-change: transform;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    15% { transform: translateX(0); }
    85% { transform: translateX(var(--scroll-dist)); }
    100% { transform: translateX(var(--scroll-dist)); }
}

/* SITREP Marquee */
.sitrep-container {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    position: relative;
    height: 25px; /* Increased for mobile touch/visibility */
    display: flex;
    align-items: center;
}
.sitrep-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: sitrepScroll 30s linear infinite;
    will-change: transform;
}
@keyframes sitrepScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Loops at half-width since text is doubled */
}
.sitrep-marquee:hover { animation-play-state: paused; }

.tag { font-size: 0.5rem; padding: 0px 3px; border: 1px solid var(--border); border-radius: 2px; margin-right: 4px; transition: border-color 0.3s; }

/* Map Animations */
.pulse-icon { position: relative; background: transparent; border: none; }
.pulse-dot { width: 6px; height: 6px; background: var(--theme-bright); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 10px var(--theme-bright), 0 0 2px #fff; border: 0.5px solid rgba(255,255,255,0.8); z-index: 2; transition: background-color 0.3s, box-shadow 0.3s; }
.pulse-ring { border: 2px solid var(--theme-bright); border-radius: 50%; height: 24px; width: 24px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: pulsate 2.5s ease-out infinite; z-index: 1; transition: border-color 0.3s; filter: drop-shadow(0 0 2px rgba(0,0,0,0.9)); will-change: transform, opacity; }

.hub-icon { position: relative; background: transparent; border: none; }
.hub-square { width: 6px; height: 6px; border: 1.5px solid var(--theme-bright); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 8px var(--theme-bright), 0 0 2px #fff; background: transparent; filter: drop-shadow(0 0 2px rgba(0,0,0,0.9)); }

@keyframes pulsate { 0% { transform: translate(-50%, -50%) scale(0.1); opacity: 1; border-width: 3px; } 100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; border-width: 0px; } }

/* Word Cloud */
.word-cloud { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-content: center; min-height: 200px; perspective: 1000px; padding: 10px 0; }
@keyframes floatText { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-3px); } }
.word-item { transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: crosshair; display: inline-block; will-change: transform, opacity; }
.word-item:hover { color: #fff !important; transform: scale(1.25) translateY(-2px); text-shadow: 0 0 12px var(--theme-bright); z-index: 10; }

/* Feed Animations */
.feed-item-enter { animation: highlightSlide 0.5s ease-out forwards; }
@keyframes highlightSlide {
    0% { opacity: 0; transform: translateX(10px); background: var(--theme-dim); }
    100% { opacity: 1; transform: translateX(0); background: transparent; }
}

/* Carousel CSS */
.intel-carousel { position: relative; height: 100%; overflow: hidden; contain: paint layout size; }
.intel-slide { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transform: translateX(20px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    visibility: hidden; /* Prevent interaction and overlapping layout */
    display: flex; flex-direction: column;
    will-change: transform, opacity;
    contain: content;
}
.intel-slide.active { 
    opacity: 1; 
    transform: translateX(0); 
    pointer-events: auto; 
    visibility: visible;
}

.intel-nav {
    position: absolute; top: 1rem; right: 1rem;
    display: flex; gap: 4px; z-index: 100;
}
.intel-dot {
    padding: 8px 4px; /* Increase click area */
    cursor: pointer;
    transition: all 0.3s;
}
.intel-dot::after {
    content: '';
    display: block;
    width: 14px; height: 2px;
    background: var(--border);
    transition: all 0.3s;
}
.intel-dot:hover::after { background: var(--theme-mid); }
.intel-dot.active::after { 
    background: var(--theme-bright); 
    box-shadow: 0 0 8px var(--theme-bright); 
    width: 20px; /* Visual feedback for active state */
}

.gti-display { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 1rem; }
.gti-value { font-size: 3.5rem; font-weight: bold; color: var(--theme-bright); line-height: 1; text-shadow: 0 0 20px var(--theme-bright); }
.gti-label { font-size: 0.6rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 2px; margin-top: 0.5rem; }
.gti-bar-container { width: 100%; height: 4px; background: var(--border); margin-top: 1.5rem; border-radius: 2px; overflow: hidden; }
.gti-bar { height: 100%; background: var(--theme-bright); transition: width 1s ease-out; box-shadow: 0 0 10px var(--theme-bright); }

.flight-intel-display { padding: 1rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; justify-content: center; }
.flight-stat-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 4px; }
.flight-stat-label { font-size: 0.6rem; color: var(--text-dim); text-transform: lowercase; }
.flight-stat-value { font-size: 0.75rem; color: var(--theme-bright); font-weight: bold; }
.hot-zone-tag { background: var(--theme-dim); color: var(--theme-bright); padding: 2px 6px; border-radius: 2px; font-size: 0.65rem; border: 1px solid var(--theme-mid); }

/* Market Ticker */
.market-ticker-wrapper { background: var(--bg); border-bottom: 1px solid var(--border); overflow: hidden; white-space: nowrap; padding: 6px 0; font-size: 0.65rem; letter-spacing: 1px; }
.market-ticker-content { 
    display: flex; width: max-content; 
    animation: tickerMarquee var(--ticker-duration, 90s) linear infinite; 
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
@media (hover: hover) {
    .market-ticker-content:hover { animation-play-state: paused; }
}
.market-ticker-item { display: inline-flex; align-items: center; margin-right: 0.8rem; }
.ticker-symbol { font-weight: bold; color: var(--theme-mid); margin-right: 6px; }
.ticker-price { color: var(--text-main); margin-right: 6px; }
.ticker-up { color: var(--theme-bright); }
.ticker-down { color: var(--theme-mid); }
@keyframes tickerMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Ghost Theme Specific Marker Contrast */
[data-theme="ghost"] .pulse-dot { background: #fff !important; box-shadow: 0 0 10px #fff, 0 0 2px #000; }
[data-theme="ghost"] .pulse-ring { border-color: #fff !important; }
[data-theme="ghost"] .tactical-plane { border-bottom-color: #fff !important; }
[data-theme="ghost"] .tactical-plane:not(.outlier)::after { background: #fff !important; }
[data-theme="ghost"] .tactical-plane.outlier { border-bottom-color: var(--theme-mid) !important; filter: drop-shadow(0 0 8px var(--theme-mid)) !important; }
[data-theme="ghost"] .hub-square { border-color: #fff !important; box-shadow: 0 0 8px #fff; }

/* Refresh Animations */
.fade-update { animation: softPulse 1.2s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes softPulse {
    0% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.85; filter: brightness(1.1); }
    100% { opacity: 1; filter: brightness(1); }
}

#live-indicator { animation: terminalBlink 1.5s ease-in-out infinite; }
@keyframes terminalBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--border); }

.theme-selector {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
}
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1rem;
    background: var(--theme-bright);
    margin-left: 2px;
    vertical-align: middle;
    animation: cursorBlink 1s step-end infinite;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.minimal-select {
    background: var(--surface);
    color: var(--theme-bright);
    border: 1px solid var(--border);
    padding: 0.3rem 0.6rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    border-radius: 2px;
    cursor: pointer;
    outline: none;
    text-transform: lowercase;
    transition: all 0.3s;
}
.minimal-select:hover {
    border-color: var(--theme-bright);
}
#theme-toggle:hover {
    color: var(--theme-bright) !important;
    border-color: var(--theme-bright) !important;
    transform: translateY(-2px);
}
.minimal-select option {
    background: var(--surface);
    color: var(--text-main);
}

/* Mobile & Touch Optimizations */
@media (pointer: coarse) {
    .intel-dot { padding: 12px 6px; } /* Larger touch targets */
    .intel-nav { top: 0.5rem; right: 0.5rem; }
    #map-news, #map-flights { touch-action: pan-y; } /* Allow scrolling page over maps */
}

@media (max-width: 576px) {
    .container-fluid { padding: 0.5rem; }
    .nav-bar { padding: 0.25rem 0; margin-bottom: 0.5rem; }
    .market-ticker-wrapper { font-size: 0.58rem; }
    .card { padding: 0.75rem; }
    h5 { font-size: 0.65rem; }
}

/* Plane Icons */
.plane-icon { position: relative; background: transparent; border: none; }
.tactical-plane {
    width: 10px; height: 10px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid var(--theme-bright);
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.tactical-plane.mil { border-bottom-color: var(--theme-bright); filter: drop-shadow(0 0 5px var(--theme-bright)); }
.tactical-plane.outlier { 
    border-bottom-color: var(--theme-mid); 
    filter: drop-shadow(0 0 8px var(--theme-mid));
    transform: translate(-50%, -50%) scale(1.3);
    animation: anomalyAlert 1s ease-in-out infinite;
}
/* Aura for outliers */
.tactical-plane.outlier::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid var(--theme-mid);
    border-radius: 50%;
    transform: translate(-50%, -10%);
    animation: pulsate 2s infinite;
}
.tactical-plane::after {
    content: ''; position: absolute; top: 7px; left: -3px; width: 6px; height: 2px; background: rgba(255,255,255,0.7); opacity: 0.6;
}
.tactical-plane.mil::after { background: var(--theme-bright); }
.tactical-plane.outlier::after { background: var(--theme-mid); }

@keyframes anomalyAlert {
    0%, 100% { filter: drop-shadow(0 0 8px var(--theme-mid)); }
    50% { filter: drop-shadow(0 0 15px var(--theme-mid)); brightness(1.2); }
}

/* Tactical UI Refinements */
.tactical-scanline {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.15) 50%
    );
    background-size: 100% 4px;
    z-index: 1001;
    pointer-events: none;
    opacity: 0.2;
    animation: scanlineScroll 10s linear infinite;
}

@keyframes scanlineScroll {
    from { background-position: 0 0; }
    to { background-position: 0 100%; }
}

.tactical-coords {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 0.6rem;
    color: var(--theme-bright);
    font-family: 'Fira Code', monospace;
    z-index: 1002;
    pointer-events: none;
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
}

/* Custom Tactical Popups */
.tactical-popup .leaflet-popup-content-wrapper {
    background: rgba(15, 15, 15, 0.7) !important;
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    color: var(--popup-text) !important;
    border: 1px solid var(--theme-bright) !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
    padding: 0 !important;
}

.tactical-popup .leaflet-popup-content {
    margin: 0 !important;
    width: auto !important;
    color: var(--popup-text) !important;
}

.tactical-popup .leaflet-popup-tip {
    background: rgba(15, 15, 15, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--theme-bright);
}

/* Tactical Markers */
.tactical-diamond {
    width: 8px;
    height: 8px;
    background: var(--theme-bright);
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--theme-bright);
    border: 1px solid #fff;
}

.hex-bin {
    stroke: var(--theme-bright);
    stroke-width: 0.2px;
    transition: all 0.2s ease;
}

.hex-bin:hover {
    stroke-width: 1.5px;
    filter: drop-shadow(0 0 8px var(--theme-bright));
}

/* Tactical Flatpickr Calendar */
.tactical-calendar {
    background: rgba(10, 15, 10, 0.8) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    border: 1px solid var(--theme-bright) !important;
    border-radius: 0 !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5) !important;
    font-family: 'Fira Code', monospace !important;
    color: var(--text-main) !important;
    box-sizing: border-box !important;
}
.flatpickr-calendar.tactical-calendar:before,
.flatpickr-calendar.tactical-calendar:after {
    border-bottom-color: var(--theme-bright) !important;
}
.flatpickr-calendar.tactical-calendar .flatpickr-months .flatpickr-month {
    background: transparent !important;
    color: var(--theme-bright) !important;
    fill: var(--theme-bright) !important;
}
.flatpickr-calendar.tactical-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    color: var(--theme-bright) !important;
}
.flatpickr-calendar.tactical-calendar .flatpickr-weekday {
    color: var(--theme-mid) !important;
    font-size: 0.6rem !important;
}
.flatpickr-calendar.tactical-calendar .flatpickr-day {
    color: var(--text-main) !important;
    border-radius: 0 !important;
    transition: all 0.2s !important;
    font-size: 0.7rem !important;
}
.flatpickr-calendar.tactical-calendar .flatpickr-day:hover {
    background: var(--theme-dim) !important;
    color: var(--theme-bright) !important;
}
.flatpickr-calendar.tactical-calendar .flatpickr-day.selected {
    background: var(--theme-bright) !important;
    color: #000 !important;
    box-shadow: 0 0 10px var(--theme-bright) !important;
}
.flatpickr-calendar.tactical-calendar .flatpickr-day.flatpickr-disabled {
    color: var(--text-dim) !important;
    opacity: 0.3 !important;
}
.flatpickr-calendar.tactical-calendar .flatpickr-day.today {
    border-color: var(--theme-bright) !important;
}
.flatpickr-calendar.tactical-calendar .flatpickr-months .flatpickr-prev-month,
.flatpickr-calendar.tactical-calendar .flatpickr-months .flatpickr-next-month {
    color: var(--theme-bright) !important;
    fill: var(--theme-bright) !important;
}
.flatpickr-calendar.tactical-calendar .numInputWrapper span.arrowUp:after {
    border-bottom-color: var(--theme-bright) !important;
}
.flatpickr-calendar.tactical-calendar .numInputWrapper span.arrowDown:after {
    border-top-color: var(--theme-bright) !important;
}
