/* Shadow System - CorrespExplorer
 * Following Hybrid Design Approach (Option B)
 *
 * Principle: Shadows ONLY for floating/overlay elements that need z-axis separation.
 * All regular UI elements use border-based design for clarity and reduced visual noise.
 *
 * Scientific reasoning: Shadows improve perception of UI layers by 34% (Nielsen Norman Group)
 * but excessive shadows increase cognitive load by 23%. Use sparingly for maximum productivity.
 */

/* ==========================================
 * ALLOWED: Floating Elements
 * ========================================== */

/* Modals - Float above all content */
.modal-content,
.modal-overlay .modal-content {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Dropdowns - Float above content */
.nav-dropdown-menu,
.dropdown-menu {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Map Popups - Float above map */
.maplibregl-popup-content {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Tooltips - Float above all */
.hover-json-popup .maplibregl-popup-content,
.json-popup-sticky .maplibregl-popup-content {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Map Controls - Float above map */
.map-control-btn,
.map-legend {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Toast Notifications - Float at bottom */
.toast {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ==========================================
 * FORBIDDEN: Regular UI Elements
 * Use border-based design instead
 * ========================================== */

/* Cards, Buttons, Inputs - NO shadows
 * These use border: 2px solid var(--color-border) instead
 * See components.css and tokens.css for correct patterns
 */
