/* css/base.css */

/* Base Typography & Background Styling */
body {
    font-family: 'Inter', sans-serif;
    background-color: #FAFAFA;
    -webkit-font-smoothing: antialiased;
}

/* Safe Mode: hide financial values without moving layout */
.safe-mode .safe-value {
    color: transparent !important;
    position: relative;
    display: inline-block;
    user-select: none;
}
.safe-mode .safe-value::after {
    content: '•••••';
    color: #9CA3AF; /* Neutral gray */
    visibility: visible;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 2px;
    font-family: sans-serif;
    font-size: 0.8em;
    pointer-events: none;
}

/* Base utilities */
.no-shadow {
    box-shadow: none !important;
}

.chart-gradient {
    fill: url(#chartGradient);
}

/* Scroll Lock */
.no-scroll {
    overflow: hidden !important;
}

/* Icon Sizes */
.icon-lg {
    font-size: 48px !important;
}

/* Toast System */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: white;
    z-index: 100;
    transition: opacity 0.3s ease;
}

.toast-success { background-color: #059669; }
.toast-error { background-color: #dc2626; }
.toast-warning { background-color: #d97706; }
.toast-info { background-color: #2a808d; }

/* Onboarding Tour Styles */
#onboarding-tooltip {
    animation: fadeIn 0.3s ease-out;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#onboarding-tooltip .absolute {
    z-index: 1001;
}

#onboarding-backdrop {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Pulse animation for highlighted elements */
@keyframes pulse-primary {
    0%, 100% { box-shadow: 0 0 0 0 rgba(42, 125, 140, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(42, 125, 140, 0.4); }
}

.ring-primary {
    animation: pulse-primary 2s infinite;
}
