/* Notification Styles */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    padding: 12px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: var(--success-color);
}

.notification.error {
    background-color: var(--danger-color);
}

.notification.warning {
    background-color: var(--warning-color);
}

.notification.info {
    background-color: var(--primary-color);
}

/* Financial Health Score Styles */
.health-score-details {
    width: 100%;
}

.score-components {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.score-component {
    display: flex;
    align-items: center;
    gap: 10px;
}

.component-name {
    width: 150px;
    font-weight: 500;
}

.component-bar {
    flex: 1;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.component-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.component-value {
    width: 40px;
    text-align: right;
    font-weight: 600;
}

.improvement-tips {
    margin: 15px 0;
    padding-left: 20px;
}

.improvement-tips li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* Budget Recommendations Styles */
.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommendation-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
}

.recommendation-item.priority-high {
    border-left-color: var(--danger-color);
}

.recommendation-item.priority-medium {
    border-left-color: var(--warning-color);
}

.recommendation-item.priority-low {
    border-left-color: var(--success-color);
}

.recommendation-header {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.recommendation-header h4 {
    margin: 0;
    font-size: 1rem;
}

.priority-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.priority-badge.high {
    background-color: var(--danger-color);
    color: white;
}

.priority-badge.medium {
    background-color: var(--warning-color);
    color: white;
}

.priority-badge.low {
    background-color: var(--success-color);
    color: white;
}

.recommendation-item p {
    padding: 15px;
    margin: 0;
}

/* Goal Summary Styles */
.goal-summary {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.goal-summary:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

.goal-summary-header h4 {
    margin: 0;
    font-size: 1rem;
}

.goal-summary-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Goal Completed Badge */
.goal-completed {
    color: var(--success-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Deposit History Styles */
.deposit-history {
    max-height: 300px;
    overflow-y: auto;
}