/*VyTrack Styles*/
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f7f6;
            color: #333;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .header {
            background-color: #fff;
            padding: 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }
        .header.scroll-shadow {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        

        .logo {
            font-size: 1.75em;
            font-weight: 700;
            color: #007bff;
            text-decoration: none;
            transition: transform 0.3s ease;
        }
        
        .logo:hover {
            transform: scale(1.05);
        }

        .burger-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
            transition: all 0.3s ease;
        }

        .bar {
            width: 25px;
            height: 3px;
            background-color: #333;
            margin: 3px 0;
            transition: 0.4s;
        }

        .main-nav {
            display: flex;
            justify-content: center;
        }

        .main-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
        }

        .main-nav ul li {
            margin: 0 15px;
        }

        .main-nav ul li a {
            text-decoration: none;
            color: #555;
            font-weight: 500;
            padding: 10px 15px;
            border-radius: 5px;
            transition: background-color 0.3s, color 0.3s;
            display: block;
        }

        .main-nav ul li a:hover,
        .main-nav ul li a.active {
            background-color: #007bff;
            color: white;
        }

        .profile-section {
            position: relative;
        }

        .profile-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #ddd;
            color: #555;
            font-weight: bold;
            cursor: pointer;
            user-select: none;
        }

        .profile-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 10px;
            margin-top: 5px;
            width: 200px;
            display: none;
            z-index: 10;
        }

        .profile-dropdown.active {
            display: block;
        }

        .profile-dropdown input[type="text"] {
            width: 100%;
            padding: 8px;
            margin-bottom: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        .profile-dropdown button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
        }

        .profile-dropdown button:hover {
            background-color: #0056b3;
        }

        .container {
            display: flex;
            flex-grow: 1;
        }

        .main-content {
            flex-grow: 1;
            padding: 20px;
        }

        .section {
            display: none; /* Hidden by default, use JS to show */
            opacity: 0; /* For fade in effect */
            padding: 20px;
        }

        .section.active {
            display: block;
            opacity: 1;
        }

        /* Dashboard Section */
        .dashboard-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }

        .summary-card {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            text-align: center;
        }

        .summary-card h3 {
            margin-top: 0;
            color: #555;
            font-size: 1.2em;
        }

        .summary-card p {
            font-size: 1.5em;
            font-weight: bold;
            color: #333;
            margin: 10px 0 0;
        }

        #total-income{
            color: #28a745;
        }

        .charts-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .chart-card {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .chart-card h2 {
            margin-top: 0;
            color: #555;
            font-size: 1.4em;
            margin-bottom: 15px;
        }

        .chart-container {
            height: 300px; /* Adjust as needed */
            position: relative;
        }

        canvas {
            width: 100% !important;
            height: 100% !important;
        }

        /* Transactions Section */
        #transaction-form,
        #budget-form {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
        }

        #transaction-form h2,
        #budget-form h2 {
            margin-top: 0;
            color: #555;
            font-size: 1.4em;
            margin-bottom: 15px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            color: #555;
        }

        .form-group input[type="text"],
        .form-group input[type="number"],
        .form-group input[type="date"],
        .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }

        .form-group select {
            appearance: none; /* Remove default arrow in some browsers */
            -webkit-appearance: none; /* For Safari */
            -moz-appearance: none; /* For Firefox */
            background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
            background-repeat: no-repeat;
            background-position-x: 100%;
            background-position-y: 5px;
            padding-right: 30px;
        }

        button[type="submit"] {
            background-color: #28a745;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.3s;
        }

        button[type="submit"]:hover {
            background-color: #218838;
        }

        #transactions-list {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            padding: 0;
            list-style: none;
            margin: 0;
        }

        .entry-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid #eee;
        }

        .entry-item:last-child {
            border-bottom: none;
        }

        .transaction-info strong {
            display: block;
            margin-bottom: 5px;
            color: #333;
        }

        .transaction-info span,
        .transaction-info small {
            color: #777;
            display: block;
            font-size: 0.9em;
        }

        .transaction-amount {
            text-align: right;
        }

        .income-amount {
            color: #28a745;
            font-weight: bold;
        }

        .expense-amount {
            color: #dc3545;
            font-weight: bold;
        }

        .delete-btn {
            background: none;
            border: none;
            color: #dc3545;
            cursor: pointer;
            font-size: 1em;
            margin-left: 10px;
        }

        .delete-btn:hover {
            color: #c82333;
        }

        /* Budget Section */
        #budget-progress {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .budget-category {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .budget-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .budget-header strong {
            color: #555;
        }

        .budget-bar {
            background-color: #eee;
            height: 10px;
            border-radius: 5px;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .budget-fill {
            background-color: #28a745;
            height: 100%;
            width: 0%; /* Dynamically set width with JS */
            border-radius: 5px;
            transition: width 0.5s ease-out;
        }

        .budget-fill.warning {
            background-color: #ffc107;
        }

        .budget-fill.over {
            background-color: #dc3545;
        }

        .budget-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9em;
            color: #777;
        }
        footer a{
            color: #007bff;
            text-decoration: none;
        }

        /* Reports Section */
        #report-message {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        #report-message strong {
            color: #007bff;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .header {
                padding: 10px;
            }

            .logo {
                font-size: 1.2em;
            }

            .burger-menu {
                display: flex;
            }

            .main-nav {
                display: none;
                position: absolute;
                top: 60px; /* Adjust based on header height */
                left: 0;
                background-color: #fff;
                width: 100%;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                padding: 20px 0;
                text-align: center;
                z-index: 20;
            }

            .main-nav.active {
                display: block;
            }

            .main-nav ul {
                flex-direction: column;
            }

            .main-nav ul li {
                margin: 10px 0;
            }

            .container {
                flex-direction: column;
            }


            .main-content {
                padding: 10px;
            }

            .dashboard-summary,
            .charts-container,
            #budget-progress {
                grid-template-columns: 1fr;
            }

            .chart-container {
                height: 250px;
            }

            #transaction-form,
            #budget-form,
            #transactions-list,
            .budget-category,
            #report-message {
                padding: 15px;
            }
        }