/* Modern Money Account Styles - Consistent with Home Cards */
.money-account-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 2.5rem 2rem 2rem 2rem;
    margin: 2rem 0;
    color: #495057;
    position: relative;
    overflow: hidden;
}

.money-account-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.money-account-header-icon {
    font-size: 2.5rem;
    color: #667eea;
    filter: none;
}

.money-account-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #495057;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.money-account-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.money-account-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.money-summary-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.money-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.money-summary-icon {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.money-summary-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.money-summary-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #495057;
    margin: 0;
}

.money-currencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.money-currency-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.money-currency-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

.money-currency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.5s;
}

.money-currency-card:hover::before {
    left: 100%;
}

.money-currency-flag {
    width: 50px;
    height: 35px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.money-currency-card:hover .money-currency-flag {
    border-color: rgba(102, 126, 234, 0.6);
    transform: scale(1.05);
}

.money-currency-info {
    flex: 1;
    min-width: 0;
}

.money-currency-code {
    font-size: 1.1rem;
    font-weight: 700;
    color: #495057;
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.money-currency-name {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

.money-currency-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #667eea;
    margin: 0;
    text-align: right;
    min-width: 80px;
}

.money-currency-amount.zero {
    color: #6c757d;
    opacity: 0.6;
}

.money-currency-amount.high {
    color: #28a745;
}

.money-currency-amount.medium {
    color: #ffc107;
}

.money-currency-amount.low {
    color: #dc3545;
}

.money-account-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.money-action-btn {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(102,126,234,0.10);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.money-action-btn:hover {
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(102,126,234,0.18);
    color: #fff;
    text-decoration: none;
}

.money-action-btn.secondary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.money-action-btn.secondary:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #5a6fd8;
}

.money-account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.money-stat-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.money-stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.money-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #495057;
    margin: 0;
}

@media (max-width: 768px) {
    .money-account-container {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }

    .money-account-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .money-account-title {
        font-size: 1.8rem;
    }

    .money-summary-card {
        padding: 1rem;
    }

    .money-summary-value {
        font-size: 1.5rem;
    }

    .money-currencies-grid {
        grid-template-columns: 1fr;
    }

    .money-currency-card {
        padding: 1rem;
    }

    .money-currency-flag {
        width: 40px;
        height: 28px;
    }

    .money-currency-amount {
        font-size: 1.1rem;
    }

    .money-account-actions {
        flex-direction: column;
        align-items: center;
    }

    .money-action-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .money-account-title {
        font-size: 1.5rem;
    }

    .money-summary-card {
        padding: 0.8rem;
    }

    .money-currency-card {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .money-currency-flag {
        width: 35px;
        height: 25px;
    }

    .money-currency-code {
        font-size: 1rem;
    }

    .money-currency-amount {
        font-size: 1rem;
    }
}