/* assets/css/kashu.css */

body {
    /* Espacio inferior para que el contenido no quede oculto por la Tab Bar */
    padding-bottom: 80px; 
    background-color: #f4f6f9; /* Color de fondo suave */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* App Header (Futuro uso) */
.kashu-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Bottom Tab Bar (Mobile) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-around;
    padding: 10px 0 15px 0;
    z-index: 1030;
    border-radius: 20px 20px 0 0;
}

.nav-item {
    text-align: center;
    color: #a0a5ba;
    text-decoration: none;
    font-size: 0.70rem;
    font-weight: 500;
    flex: 1;
    transition: color 0.3s ease;
}

.nav-item i {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 4px;
}

.nav-item.active, .nav-item:hover {
    color: #0d6efd; /* Azul primario de Bootstrap */
}

/* Botón Central Flotante (FAB) */
.nav-item-fab-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.fab-btn {
    position: absolute;
    bottom: 5px; 
    width: 60px;
    height: 60px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4);
    text-decoration: none;
    transition: transform 0.2s;
}

.fab-btn:active {
    transform: scale(0.95);
}
.fab-btn i {
    margin: 0; /* Override the margin for standard icons */
    color: white;
}
/* Soporte Dark Mode para componentes personalizados */
[data-bs-theme="dark"] .bottom-nav {
    background: #212529;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.5);
}
[data-bs-theme="dark"] .nav-item {
    color: #6c757d;
}
[data-bs-theme="dark"] .nav-item.active, [data-bs-theme="dark"] .nav-item:hover {
    color: #0d6efd;
}
/* Modo Privacidad (Difuminado de importes) */
body.privacy-active [id^="dash_balance"],
body.privacy-active [id^="dash_income"],
body.privacy-active [id^="dash_expense"],
body.privacy-active .list-group-item .text-end .fs-5,
body.privacy-active .list-group-item .text-end .fs-6,
body.privacy-active .list-group-item .text-end span.fw-bold {
    filter: blur(6px);
    opacity: 0.6;
    user-select: none;
    pointer-events: none;
    transition: filter 0.3s ease;
}