.finance-app-container {
    max-width: 540px;
    margin: 0 auto;
    padding: 0;
}

/* App Header */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.action-icon {
    color: white;
    font-size: 1.2rem;
}

/* Notification Banner */
.notification-banner {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.notification-icon {
    margin-left: 10px;
    color: white;
}

.notification-text {
    flex-grow: 1;
    font-size: 0.9rem;
}

.notification-action {
    background-color: white;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
}

/* Balance Cards */
.balance-cards {
    margin-bottom: 20px;
}

.balance-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--item-radius);
    padding: 15px;
    color: white;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.balance-type {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.balance-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0.8;
}

.balance-value {
    margin-top: 10px;
    font-weight: 500;
}

.balance-value span {
    font-size: 1.1rem;
    margin-left: 5px;
}

.balance-value small {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Bank Card */
.bank-card-container {
    padding: 0 15px;
    margin-bottom: 25px;
}

.bank-card {
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    border-radius: var(--card-radius);
    padding: 20px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.bank-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bank-logo {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bank-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.bank-name {
    font-weight: 500;
    font-size: 1.1rem;
}

.bank-card-number {
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.bank-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.balance-amount {
    font-weight: 500;
}

.balance-amount span {
    font-size: 1.1rem;
    margin-left: 5px;
}

.balance-amount small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.bank-card-info {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.card-info-item {
    text-align: left;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 500;
}

.info-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Card Indicators */
.card-indicators {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
}

.indicator.active {
    background-color: var(--primary-color);
    width: 20px;
    border-radius: 4px;
}

/* Quick Actions */
.quick-actions-section {
    background-color: white;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    padding: 20px 15px 25px;
    margin: 0 -15px;
    position: relative;
    z-index: 0;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.quick-actions {
    margin-bottom: 10px;
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.action-icon {
    width: 50px;
    height: 50px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.income-icon {
    color: #28a745;
}

.expense-icon {
    color: #dc3545;
}

.action-label {
    font-size: 0.8rem;
    text-align: center;
}

/* Section Container */
.section-container {
    background-color: white;
    padding: 20px 15px;
    margin: 0 -15px 15px;
}

.section-header {
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Frequent Expenses */
.frequent-expenses {
    margin-bottom: 10px;
}

.expense-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: var(--item-radius);
    padding: 15px 10px;
}

.expense-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.1rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.expense-name {
    font-size: 0.8rem;
    text-align: center;
}

/* Expense Distribution */
.expense-distribution {
    padding: 10px 0;
}

.chart-container {
    height: 220px;
    position: relative;
}

.chart-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-amount {
    font-size: 1.2rem;
    font-weight: 500;
}

.chart-period {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Transactions List */
.transactions-list {
    margin: 0 -15px;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 15px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transaction-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.transaction-info {
    flex-grow: 1;
}

.transaction-title {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.transaction-date {
    font-size: 0.8rem;
    color: var(--light-text);
}

.transaction-amount {
    font-weight: 500;
    text-align: left;
}

.transaction-amount span {
    font-size: 1rem;
    display: block;
}

.transaction-amount small {
    font-size: 0.8rem;
    color: var(--light-text);
}

.transaction-amount.income {
    color: #28a745;
}

.transaction-amount.expense {
    color: #dc3545;
}

/* Mobile Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--light-text);
    font-size: 0.7rem;
}

.bottom-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.add-button-container {
    position: relative;
    margin-top: -25px;
}

.add-button {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .finance-app-container {
        padding: 20px;
    }

    .quick-actions-section,
    .section-container {
        border-radius: var(--card-radius);
        margin: 0 0 20px;
    }

    .transactions-list {
        margin: 0;
    }

    .mobile-bottom-nav {
        display: none;
    }

    body {
        padding-bottom: 20px;
    }
}

/* Quick Action Menu */
.quick-action-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.quick-action-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.quick-action-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.quick-action-panel {
    position: relative;
    background-color: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.quick-action-menu.active .quick-action-panel {
    transform: translateY(0);
}

.quick-action-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.quick-action-header h5 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.quick-action-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.grid-item-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: white;
    font-size: 1.3rem;
}

.expense-bg {
    background-color: #dc3545;
}

.income-bg {
    background-color: #28a745;
}

.transfer-bg {
    background-color: #17a2b8;
}

.person-bg {
    background-color: #6f42c1;
}

.account-bg {
    background-color: #fd7e14;
}

.category-bg {
    background-color: #6c757d;
}

.grid-item-label {
    font-size: 0.9rem;
    text-align: center;
}
