body {
    font-family: 'Inter', sans-serif;
    background-color: #1b1b1b;
    color: #E0E0E0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.card {
    background-color: #222222;
    border: 1px solid #4A4A4A;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.gradient-text {
    background: linear-gradient(45deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.input-style {
    background-color: #3A3A3A;
    border: 1px solid #4A4A4A;
    color: #E0E0E0;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.input-style:focus {
    border-color: #FF69B4;
    box-shadow: 0 0 0 2px rgba(255, 105, 180, 0.1);
}
.gradient-button {
    background: linear-gradient(to right, #8B5CF6, #EC4899);
}
.gradient-button:hover {
    background: linear-gradient(to right, #7C3AED, #DB2777);
}
.entry-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.delete-button {
    flex-shrink: 0;
}
.hidden {
    display: none;
}
/* Add this to your existing CSS */
@media screen and (max-width: 768px) {
    .layout-wrapper {
        flex-direction: column;
    }

    #balanceSection {
        order: -1; /* This moves the balance section to the top on mobile */
        position: sticky;
        top: 0;
        background-color: #222222; /* Match your card background color */
        z-index: 1000;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
        overflow: hidden;
        opacity: 1;
    }

    #balanceSection.collapsed {
        max-height: 60px; /* Adjust based on your content */
    }

    #balanceToggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px;
        background-color: #2d3748;
        color: white;
        cursor: pointer;
        font-weight: bold;
    }

    #balanceContent {
        padding-top: 10px;
    }
}

#toggleIcon {
    display: inline-block !important;
}

@media screen and (min-width: 769px) {
    #balanceToggle #toggleIcon {
        display: inline-block !important;
    }
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #1f2937; /* Dark background to match your theme */
    border: 1px solid #374151; /* Border color */
    border-radius: 0.375rem; /* Rounded corners */
    padding: 0.5rem 2.5rem 0.5rem 0.75rem; /* Padding for text and arrow */
    font-size: 1rem;
    line-height: 1.5;
    color: #d1d5db; /* Light text color */
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
}

select:focus {
    outline: none;
    border-color: #60a5fa; /* Focus border color */
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.5); /* Focus ring */
}

/* Style for Safari */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
            background-position: right 0.75rem center;
            background-repeat: no-repeat;
            background-size: 1em;
        }
    }
}