.elementor-3373 .elementor-element.elementor-element-09dc81e{--display:flex;}.elementor-3373 .elementor-element.elementor-element-6d3263d{--display:flex;}/* Start custom CSS for html, class: .elementor-element-307d9c4 *//* Variables de color de la nueva interfaz */
:root {
    --bg-app: #FFFFFF;
    --text-dark: #000000;
    --text-gray: #8E8E93;
    
    --orange-light: #FDE8D7;
    --orange-border: #F7C6A3;
    
    --blue-light: #DDF0FB;
    --blue-border: #A3D5F7;
    
    --pink-light: #FCE1EE;
    --pink-border: #F7A3CB;
    
    --yellow-light: #FCF4D7;
    --yellow-border: #F7E3A3;
    
    --fab-red: #F05349;
    --pill-bg: #F5F5F5;
}

.app-dashboard-modern {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-app);
    color: var(--text-dark);
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 20px 100px 20px; /* Padding inferior para el dock */
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* Cabecera */
.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}
.total-balance {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
}
.currency-symbol {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-gray);
    margin-left: 4px;
}
.dashboard-filters {
    display: inline-flex;
    align-items: center;
    background: var(--pill-bg);
    padding: 6px 12px;
    border-radius: 20px;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 500;
}
.filter-select {
    border: none;
    background: transparent;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}
.filter-separator {
    margin: 0 6px;
    color: var(--text-gray);
}

/* Gráficos de Barras */
.custom-bar-charts {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 220px;
    margin-bottom: 40px;
    padding: 0 10px;
}
.bar-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22%;
}
.bar-limit {
    width: 100%;
    border: 1.5px dashed;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 2px;
}
.bar-fill {
    width: 100%;
    border-radius: 10px 10px 0 0;
    transition: height 0.5s ease;
}

/* Colores de las barras */
.limit-orange { border-color: var(--orange-border); }
.fill-orange { background-color: var(--orange-light); }

.limit-blue { border-color: var(--blue-border); }
.fill-blue { background-color: var(--blue-light); }

.limit-pink { border-color: var(--pink-border); }
.fill-pink { background-color: var(--pink-light); }

.limit-yellow { border-color: var(--yellow-border); }
.fill-yellow { background-color: var(--yellow-light); }

.bar-labels {
    text-align: center;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
}
.bar-icon { font-size: 1.2rem; margin-bottom: 4px; }
.bar-value { font-weight: 700; font-size: 0.85rem; }
.bar-percent { font-size: 0.7rem; color: var(--text-gray); }

/* Movimientos */
.transactions-section {
    padding-top: 20px;
}
.tx-day-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 16px;
    padding: 0 10px;
}
.transaction-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: var(--bg-app);
}
.tx-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 16px;
}
.bg-orange-light { background-color: var(--orange-light); }
.tx-details { flex-grow: 1; display: flex; flex-direction: column; }
.tx-category { font-size: 0.7rem; color: var(--text-gray); margin-bottom: 2px;}
.tx-title { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.tx-tags { display: flex; gap: 6px; }
.tag, .tag-count {
    background: var(--pill-bg);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.65rem;
    color: var(--text-gray);
}
.tx-amount { font-weight: 600; font-size: 1rem; }

/* Controles Inferiores (Dock) */
.floating-dock {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.action-pill {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 8px 16px;
    display: flex;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.dock-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}
.voice-fab {
    background-color: var(--fab-red);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(240, 83, 73, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.alerts-container { margin-bottom: 15px; }
.alert-limit { background: #fee2e2; color: #991b1b; padding: 10px; border-radius: 10px; font-size: 0.8rem; margin-bottom: 8px; text-align: center; font-weight: 600; }
/* Estilos del Modal Integrado */
.custom-modal {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.modal-box {
    background: var(--bg-app);
    padding: 24px;
    border-radius: 24px;
    width: 80%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-align: center;
}
.modal-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}
.modal-input {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
}
.modal-input:focus {
    border-color: var(--text-dark);
}
.modal-buttons {
    display: flex;
    gap: 12px;
}
.modal-buttons button {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}
.btn-cancel {
    background: #F3F4F6;
    color: var(--text-dark);
}
.btn-save {
    background: var(--text-dark);
    color: white;
}
/* Estilos para la vista de Balance */
.balance-chart-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}
.balance-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}
.vs-bar {
    display: flex;
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
    background: #F3F4F6;
}
.vs-fill { height: 100%; transition: width 0.5s ease; }
.bg-green { background-color: #10B981; }
.bg-red { background-color: #EF4444; }
.text-green { color: #10B981; }
.text-red { color: #EF4444; }/* End custom CSS */