/******1******/
/* Quick additional tweaks for cordova & modal stacking */
        body { 
            background-color: #f4f7fb; 
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        }
		
        .app-container {
            max-width: 1200px;
            margin: 0 auto;
            background-color: white;
            box-shadow: 0 0 20px rgba(0,0,0,0.05);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        /* Make header and nav fit better */
        .header {
            background: linear-gradient(145deg, #0d3e5f, #0b2b40);
            color: white;
            padding: 0.75rem 1rem;
        }
        .logo-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .logo {
            height: 40px;
            width: auto;
            filter: brightness(0) invert(1); /* if logo is dark, make it white — adjust as needed */
        }
        .header h1 {
            font-size: 1.5rem;
            margin: 0;
            font-weight: 600;
            letter-spacing: 1px;
        }
        .nav-bar {
            display: flex;
            background-color: #f8fafd;
            border-bottom: 1px solid #dee2e6;
            padding: 0.5rem 0.5rem 0;
            gap: 5px;
        }
        .nav-btn {
            border: none;
            background: transparent;
            padding: 0.6rem 1rem;
            font-weight: 500;
            color: #5e6f8d;
            border-radius: 20px 20px 0 0;
            transition: all 0.15s;
            flex: 1;
            max-width: 120px;
        }
        .nav-btn.active {
            background-color: white;
            color: #0b5e8a;
            border-bottom: 3px solid #0d6efd;
            font-weight: 600;
        }
        .main-content {
            flex: 1;
            padding: 1.5rem 1rem;
            background-color: white;
        }
        /* cards & containers */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }
        .section-header {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        .transaction-filters {
            display: flex;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .filter-btn {
            border: 1px solid #ced4da;
            background: white;
            border-radius: 30px;
            padding: 0.3rem 1.2rem;
            font-size: 0.9rem;
        }
        .filter-btn.active {
            background-color: #0d6efd;
            color: white;
            border-color: #0d6efd;
        }
        .transactions-list {
            background: #f9f9f9;
            border-radius: 12px;
            padding: 0.5rem;
        }
        .summary-card {
            background: #f8fafc;
            border-radius: 16px;
            padding: 1.2rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 5px 10px rgba(0,0,0,0.03);
        }
        .balance-amount {
            font-size: 2.5rem;
            font-weight: 700;
            color: #198754;
        }
        /* modal improvements: Bootstrap class integration */
        .modal {
            display: none;
            background-color: rgba(0,0,0,0.4);
        }
        .modal.show-modal {
            display: block;
        }
        .modal-content {
            border-radius: 20px;
            border: none;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
        }
        .close {
            font-size: 2rem;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.1s;
            line-height: 1;
        }
        .close:hover { opacity: 1; }
        /* settings styling */
        .setting-item {
            margin-bottom: 1.5rem;
        }
        .btn-danger {
            background-color: #dc3545;
            border-color: #dc3545;
        }
		
		/*****END 1*****/
		
		/* Add to existing CSS */
.language-selector {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.lang-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
}

.lang-btn.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .language-selector {
        flex-direction: column;
    }
    
    .lang-btn {
        width: 100%;
    }
}

/* Message container */
#message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.alert {
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}