/* Existing styles plus new ones */

/* User Info */
.user-info {
    display: flex;
    flex-direction: column;
}

.user-info h3 {
    font-size: 18px;
    margin: 0;
}

.user-info small {
    color: #7f8c8d;
    font-size: 12px;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: #ecf0f1;
    color: #3498db;
}

/* Row Layout */
.row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.half {
    flex: 1;
}

/* Budget Container */
.budget-container {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
}

.budget-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #2ecc71;
    transition: width 0.3s;
}

/* Search & Filter */
.search-filter {
    margin: 20px 0;
}

.filter-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.filter-row select {
    flex: 1;
    padding: 10px;
    border-radius: 25px;
    border: 2px solid #ecf0f1;
}

/* Transaction Items */
.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 12px;
    transition: 0.3s;
}

.transaction-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.transaction-info {
    flex: 1;
}

.transaction-category {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    width: 40px;
    height: 40px;
    background: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.transaction-note {
    display: block;
    color: #7f8c8d;
    font-size: 12px;
    margin-top: 5px;
    margin-left: 50px;
}

.transaction-image-link {
    display: inline-block;
    margin-left: 50px;
    font-size: 12px;
    color: #3498db;
    text-decoration: none;
}

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

.transaction-actions {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: 0.3s;
}

.edit-btn {
    color: #3498db;
}

.edit-btn:hover {
    background: #e8f0fe;
}

.delete-btn {
    color: #e74c3c;
}

.delete-btn:hover {
    background: #fee8e7;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px !important;
    border-left: none !important;
}

.empty-state i {
    font-size: 50px;
    color: #bdc3c7;
    margin-bottom: 10px;
}

.empty-state p {
    font-weight: 600;
    margin-bottom: 5px;
}

.empty-state small {
    color: #95a5a6;
}

/* Category Stats */
.category-stats {
    margin: 15px 0;
}

.category-item {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 10px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.category-bar {
    display: flex;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin: 5px 0;
}

.category-bar-income {
    background: #2ecc71;
}

.category-bar-expense {
    background: #e74c3c;
}

/* File Input */
.file-input {
    position: relative;
}

.file-input input[type="file"] {
    padding-left: 45px;
    padding-top: 12px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideInRight 0.3s;
}

.notification.success {
    border-left: 4px solid #2ecc71;
}

.notification.info {
    border-left: 4px solid #3498db;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .row {
        flex-direction: column;
        gap: 0;
    }
    
    .header-actions {
        gap: 5px;
    }
    
    .icon-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .transaction-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .category-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .transaction-note,
    .transaction-image-link {
        margin-left: 0;
    }
}